Simple parser of igblast results
Igblast allows to view the matches to the germline V, D and J genes, details at rearrangement junctions and a lot more (see documentation).
The output includes a lot of information in a format that can't be directly used in statistical analyses.
This simple script parses igblast output into a csv formatted table, easy to understand and ready to include in a statistical analysis.
Installation
-
pip install igblast-parser
-
conda install -c bioconda igblast-parser
-
python setup.py install
Usage
docs
While docs are not ready:
Command line executable in unix-like systems:
cat <igblast.output> | igblast-parser
Pipe is not obligatory as the input could be specified with the argument --in
optional argument: --out to specify the prefix of the output csv file
igblast-parser --in <igblast.output> --out <parser_output>
In interactive python or script
f_in = open('igblast.output','r')
# dictionary with UMI as primary key and multiple keys/UMI
d = igblast_parse(f)
# pandas provides very nice tables
import pandas
df = pandas.DataFrame(d).T
Metadata
Release files for igblast-parser 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| igblast_parser-0.0.4.tar.gz | 59.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| igblast_parser-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.9+ x86-64 | Details |
Total release size: 107.2 kB
Release files / igblast_parser-0.0.4.tar.gz
| Download URL | igblast_parser-0.0.4.tar.gz |
|---|---|
| Size | 59.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f266656df3f1fecb98c4f7d3df06d3ee89252f8194e890d3d90d161a6c38bf9e
|
|
BLAKE2b-256 checksum How to use checksums |
ff03924415d0ea108fd8a7ab394669f0cdadaf14a476a6a4f11034f48ddb896b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / igblast_parser-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | igblast_parser-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 47.5 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
09c7d445c283a4e94177ff7ca7de885faca5ba79288d1bd35bb6be45d38a8109
|
|
BLAKE2b-256 checksum How to use checksums |
a297a7519b78b44032dd784d839e82b63ee6d7880df0707e5e81a8ee4619b0b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|