Command line interface of cstag to manipulate the minimap2's CS tag
Project description
cstag-cli
cstag-cli is a command-line tool of cstag for manipulating minimap2's CS tags.
🌟Features
cstag append: Appends CS tags to a SAM/BAM file
🛠 Installation
Using PyPI:
pip install cstag-cli
Using Bioconda:
conda install -c bioconda cstag-cli
💡Usage
Appending CS Tags to a SAM/BAM File
cstag append <file> [-l/--long]
- <file>: Path to the SAM/BAM file. If omitted, the program reads from standard input.
Note: The SAM/BAM file must contain an MD tag.
- -l/--long: Generates CS tags in long format
Examples
- Appending CS tags in short format:
cstag append tests/append/data/example.bam > example_cs_short.sam
- Appending CS tags in long format:
cstag append tests/append/data/example.bam --long > example_cs_long.sam
- Reading data from standard input:
cat tests/append/data/example.bam | cstag append > example_cs_short.sam
📣Feedback
For questions, bug reports, or other forms of feedback, we'd love to hear from you!
Please use GitHub Issues for all reporting purposes.
Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cstag_cli-1.0.0.tar.gz.
File metadata
- Download URL: cstag_cli-1.0.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c91f12b8b4b314f176dd24208dcb567ce78da6207cbcc5588952824e38f9a45
|
|
| MD5 |
5b1d8347e5725ba306cd19738a62de9f
|
|
| BLAKE2b-256 |
1e643cf331cbed8f9f6679e04d4a487cbb820023a382dea69ef0dee420a7ad7b
|
File details
Details for the file cstag_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cstag_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf8ba50229793577c46562987559af3aed96c6a3d84aa1a36e147b65c560e540
|
|
| MD5 |
95c39daa82a515d2cc6b098bd29188b9
|
|
| BLAKE2b-256 |
23313c59340587e76e8fbca9544592c48fbe37480be73016b2c92645901c9d57
|