Skip to main content

Command line interface of cstag to manipulate the minimap2's CS tag

Project description

Licence Test Python PyPI Bioconda DOI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cstag_cli-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

cstag_cli-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for cstag_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8c91f12b8b4b314f176dd24208dcb567ce78da6207cbcc5588952824e38f9a45
MD5 5b1d8347e5725ba306cd19738a62de9f
BLAKE2b-256 1e643cf331cbed8f9f6679e04d4a487cbb820023a382dea69ef0dee420a7ad7b

See more details on using hashes here.

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

Hashes for cstag_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf8ba50229793577c46562987559af3aed96c6a3d84aa1a36e147b65c560e540
MD5 95c39daa82a515d2cc6b098bd29188b9
BLAKE2b-256 23313c59340587e76e8fbca9544592c48fbe37480be73016b2c92645901c9d57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page