[ 源代码: python-cigar ]
软件包:python3-cigar(0.1.3-2)
manipulate SAM cigar strings
Cigar is a simple Python3 library for dealing with cigar strings. the most useful feature now is soft-masking from left or right. This allows one to adjust a SAM record only by changing the cigar string to soft-mask a number of bases such that the rest of the SAM record (pos, tlen, etc.) remain valid, but downstream tools will not consider the soft-masked bases in further analysis.