A command-line tool to genotype Mycobacterium tuberculosis lineage from a VCF file
Description
The Tuberculosis Lineage Genotyping (TbLG) is a tool that uses variant call format VCF files to quickly and accurately assign a lineage to isolates of the Mycobacterium tuberculosis complex (MTBC).
Installation
pip install tblg
Alternatively:
- Clone TbLG repository:
git clone https://github.com/dbespiatykh/tblg.git && cd tblg
- Install TbLG
pip install .
- Run TbLG:
tblg -h
Usage
TbLG (Tuberculosis Lineage Genotyping) | v0.1.4
Usage: tblg [OPTIONS] [VCF FILES]
Process one or more VCF files and genotype lineages.
╭─ Arguments ─────────────────────────────────────────────────────────────╮
│ * VCF_FILES [VCF FILES] [required] │
╰─────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────╮
│ --output -o PATH Write results to file ['.txt', '.tsv', or '.csv'] │
│ --version -v Show the version and exit. │
│ --help -h Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────╯
- By default, the output is written to the standard output (stdout) in tabular format. However, the user can use the option
-oor--outputto change the output format to either a tab-separated or comma-separated file.
+----+-------------+-----------+----------------+-----------+------------+-----------+
| | Sample | Level 1 | Level 2 | Level 3 | Level 4 | Level 5 |
+====+=============+===========+================+===========+============+===========+
| 0 | SRR16370211 | L2 | L2.2 (ancient) | 2.2.1.2 | | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
| 1 | SRR13180266 | L3 | L3.4 | | | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
| 2 | SRR12395111 | L4 | L2.2 (ancient) | L2.2.AA1 | | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
| 3 | SRR13180370 | L4 | L4.1 | L4.1.4 | | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
| 4 | SRR13180364 | L4 | L4.3 | L4.3.1 | | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
| 5 | ERR1203060 | L5 | L5.1 | L5.1.2 | | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
| 6 | ERR552796 | M.bovis | | | | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
- Note: If an asterisk
*appears in a 1 or 2 level lineage call, it indicates that the lineage contains only one of two barcoding SNPs.
+----+-------------+-----------+----------------+-----------+------------+-----------+
| | Sample | Level 1 | Level 2 | Level 3 | Level 4 | Level 5 |
+====+=============+===========+================+===========+============+===========+
| 1 | sample_1 | L2 | L2.2 (ancient) | L2.2.AA3 | L2.2.AA3.1 | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
| 2 | sample_2 | L2* | L2.1* | | | |
+----+-------------+-----------+----------------+-----------+------------+-----------+
Metadata
Release files for tblg 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tblg-0.1.5.tar.gz | 14.2 kB | Without provenance | Details for tblg-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tblg-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for tblg-0.1.5-py3-none-any.whl |
Total release size: 28.6 kB
Release files / tblg-0.1.5.tar.gz
| Download URL | tblg-0.1.5.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64bace10b1f727752f4cc1d128e21606583d536809beae65e08062c44b08b24d
|
|
BLAKE2b-256 checksum How to use checksums |
7ddeabf3794c02c01724f1a2a497a81d83da0d98a3b553ad098909236188e8f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / tblg-0.1.5-py3-none-any.whl
| Download URL | tblg-0.1.5-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a10cd92f6107d4a3a3b403a195ee0a4a872b9fcb77601e17f18ad566f84a462
|
|
BLAKE2b-256 checksum How to use checksums |
b5e8581c9573c3eefb2b2829f2939825a9a35841a6cf9fa986f72e6f1a218459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for tblg 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.