Skip to main content

Convert cstag format from short to long, vice versa

Project description

Licence Test PyPI

cstag

cstag is a Python module to convert a minimap2's CS tag from short to long format, vice versa.

Installation

From PyPI:

pip install cstag

Example

# Convert short format of cs tag into long format
import cstag
cs = "cs:Z::4*ag:3"
cigar = "8M"
seq = "ACGTACGT"
cstag.lengthen(cs, cigar, seq)
# cs:Z:=ACGT*ag=CGT

Documentation

https://akikuno.github.io/cstag/cstag/cstag.html

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-0.0.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

cstag-0.0.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

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