Open etal opened 8 years ago
See also: BioJulia/Bio.jl#291
It may be the most sensible to keep tabular files and data structures sorted in lexicographic order by chromosome, and only attempt "intuitive" sorting or allow user-provided chromosome order in the visualization commands.
To reduce weird behavior and facilitate streaming algorithms, CNVkit automatically sorts chromosomes in a way that makes sense for mammalian, prokaryotic, and plant genomes. The yeast genome is Very Special, and CNVkit sorts its Roman numeral names very strangely indeed, starting with X and then lexicographically. This matters for plots in particular.
Options: