Skip to content

Commit

Permalink
Merge pull request #1031 from cfe-lab/complete-cigar-definition
Browse files Browse the repository at this point in the history
Complete CIGAR string definition
  • Loading branch information
donkirkby authored Nov 7, 2023
2 parents d62ac24 + 70e3f37 commit 3984943
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion micall/utils/consensus_aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
# Most codons in an insertion or deletion that is still aligned in amino acids.
MAXIMUM_AMINO_GAP = 10

# Mapping as defined in https://samtools.github.io/hts-specs/SAMv1.pdf, page 8
CigarActions = IntEnum(
'CigarActions',
'MATCH INSERT DELETE SKIPPED SOFT_CLIPPED HARD_CLIPPED',
'MATCH INSERT DELETE SKIPPED SOFT_CLIPPED HARD_CLIPPED PADDING SEQ_MATCH MISMATCH',
start=0)


Expand Down

0 comments on commit 3984943

Please sign in to comment.