Closed charlesfoster closed 2 years ago
I'm so sorry, I completely missed this PR! I had recently started trying to include indels myself (https://github.com/aineniamh/snipit/tree/indel_dev), and I'll have a look through both changes and merge them this week!
snipit
plots normally discard most indel information. An exception is a site where there is a SNP in one sample compared to the reference, and a deletion in one or more other sequences. In that case, the deletions show up in grey. This PR adds the option to visualise indels using a new--include-indels
flag (the default is False, thereby excluding indels). I found this option useful for recent publications where we are exploring the effects of certain deletions. The new option can be used like so:snipit alignment.fa -o snipit_no_indels -c primary -f pdf -r reference
snipit alignment.fa -o snipit_with_indels -c primary -f pdf -r reference --include-indels
I tried to choose colours for gaps that fit in with the existing colour schemes.