Skip to content

Commit

Permalink
Complete CIGAR string definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Nov 1, 2023
1 parent d62ac24 commit 70e3f37
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 70e3f37

Please sign in to comment.