extract_specific_lines
1 Introduction
extract_specific_lines is a tool to extract specific lines which maps the query ids (of the query file) from the subject file.
2 Installation
pip install extract_specific_lines
There will be a command extract_specific_lines created under the same directory as your pip command.
3 Usage
usage: extract_specific_lines.py [-h] [-q <str> [<str> ...]] [-f <query file>]
[-s [<subject file>]] [-s1 <pattern>]
[-s2 <pattern>] [-d1 [<int>]] [-d2 [<int>]]
[-o [<outfile>]] [-v] [-V] [--version]
to extract specific lines from the subject file which maps the query ids.
written by Guanliang MENG
optional arguments:
-h, --help show this help message and exit
-q <str> [<str> ...] query list
-f <query file> query list file
-s [<subject file>] subject file [stdin]
-s1 <pattern> query file sep_pattern [\s+]
-s2 <pattern> subject file sep_pattern [\s+]
-d1 [<int>] which field in the query_file is to used? [0]
-d2 [<int>] which field in the subject_file is to used? [0]
-o [<outfile>] outfile [stdout]
-v invert the output [False]
-V verbose output
--version show program's version number and exit
Author
Guanliang MENG
Citation
Currently I have no plan to publish extract_specific_lines.
Metadata
Release files for extract-specific-lines 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extract_specific_lines-0.0.3.tar.gz | 16.1 kB | Details |
Release files / extract_specific_lines-0.0.3.tar.gz
| Download URL | extract_specific_lines-0.0.3.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
611dda54559a02af8876ead71dcbfa32cbbe4f2472fd22d892619088c800017a
|
|
BLAKE2b-256 checksum How to use checksums |
58350d21ba8c5a6a178626cae4f3e898dc0bd87b873381f76840c47818074e14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|