Convert cstag format from short to long, vice versa
Project description
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
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
cstag-0.0.3.tar.gz
(3.2 kB
view hashes)
Built Distribution
cstag-0.0.3-py3-none-any.whl
(3.6 kB
view hashes)