Skip to main content

Licence Test Python PyPI Bioconda JOSS 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

Prerequisites

  • Python 3.11 or later
  • Unix-like environment (Linux, macOS, WSL, etc.)

Installation

Using Bioconda (Recommended):

conda create -n env-cstag -c conda-forge -c bioconda python=3.11 cstag-cli -y
conda activate env-cstag

Using PyPI:

pip install cstag-cli

Development

python -m pip install -e . --group dev
ruff format --check .
ruff check .
mypy
python -m pytest tests -W error
sh tests/append/tests.sh
sh tests/test_version.sh
python -m build

💡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.
  • -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 and Support

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 refer to CONTRIBUTING for how to contribute and how to verify your contributions.

🤝 Code of Conduct

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.

📄 Citation

Metadata

Release files for cstag-cli 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cstag-cli 1.0.1
File Size Uploaded Provenance
cstag_cli-1.0.1.tar.gz 5.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cstag-cli 1.0.1
File Interpreter ABI Platform
cstag_cli-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / cstag_cli-1.0.1.tar.gz

Download URL cstag_cli-1.0.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
48aeaa28e5f90141ee8edd8ebc3673697526fed6da3af593cf753454e4f1ab0c
BLAKE2b-256 checksum
How to use checksums
2276fbe06db863923081434e6d3f797d50bc746ab8375c81460bd20e43ee1028
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / cstag_cli-1.0.1-py3-none-any.whl

Download URL cstag_cli-1.0.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
863fd16c97ea8807ab86d282ea43b3da2f7456045384b1dc025d551f25d28b43
BLAKE2b-256 checksum
How to use checksums
eb9780634084e9d579705cbdcde3a370d0d6cd2d3624766064f060f5dccb9137
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for cstag-cli 1.0.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page