You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is useful for when we perform clipping or other modifications to a SAM record that would affect these values.
For a code example, see htsjdk's calculateMdAndNmTags. I think an additional parameter to make the output compatible with samtools makes sense (i.e. do not treat N->N as a match). See how this is used in fgbio both here and here, which handle unmapped reads.
Bonus points for adding another method that takes a iterator over Templates (and/or pysam.AlignedSegments) and a pysam.FastaFile and updates the records.
The text was updated successfully, but these errors were encountered:
This is useful for when we perform clipping or other modifications to a SAM record that would affect these values.
For a code example, see htsjdk's
calculateMdAndNmTags
. I think an additional parameter to make the output compatible with samtools makes sense (i.e. do not treat N->N as a match). See how this is used in fgbio both here and here, which handle unmapped reads.Bonus points for adding another method that takes a iterator over
Template
s (and/orpysam.AlignedSegment
s) and apysam.FastaFile
and updates the records.The text was updated successfully, but these errors were encountered: