ngless-toolkit / ngless

NGLess: NGS with less work
https://ngless.embl.de
Other
142 stars 24 forks source link

Check whether file is sorted in countsfile() #61

Closed luispedro closed 4 years ago

luispedro commented 6 years ago

Every count file that NGLess generates is sorted by rowname, and collect relies on this. However, countsfile can be used to load a non-sorted file, which will lead to a very bad result.

countsfile should sort its input or (at the very least) raise an error if the input is not sorted.

luispedro commented 4 years ago

Now, NGLess not only checks, but reorders input: 122d2d387f8c0c11219bb249a1c130c9eae3f050