pdxgx / neoepiscope

predicts neoepitopes from phased somatic mutations detected using tumor/normal DNA-seq data
Other
26 stars 17 forks source link

Python 2 and 3 order transcripts in output differently #2

Open nellore opened 6 years ago

nellore commented 6 years ago

This is likely because of how in get_transcripts_from_tree, we're list-ing a set, which appears to order the result differently in different versions of Python.

nellore commented 6 years ago

Maybe just do return sorted(list(set([tx.data for tx in cds_tree[chrom].search(start, stop)])))