aineniamh / snipit

snipit: summarise snps relative to your reference sequence
GNU General Public License v3.0
148 stars 28 forks source link

Adjust sorting by mutations to new snp format #24

Closed wm75 closed 1 year ago

wm75 commented 1 year ago

This fixes the error with v1.1.2 and --sort-by-mutations:

line 355, in make_graph
    if int(record_mutation[:-2]) == int(sort_mutation):
ValueError: invalid literal for int() with base 10: '1059:'
wm75 commented 1 year ago

Not sure all the different ways of sorting would play well together with indels.

corneliusroemer commented 1 year ago

Can you make a new release please? I also encountered this error just now :) Snipit is rad!