alejandrogzi / bed2gtf

high-performance BED-to-GTF converter written in Rust
MIT License
14 stars 0 forks source link

Pre-sorting using a lexicograph-based algorithm #4

Closed alejandrogzi closed 1 year ago

alejandrogzi commented 1 year ago

This PR modifies the main bed2gtf fuction, adding a pre-sorting step. To achieve this, a new feature implemented for the BedRecord struct allows easy access to an outer layer for the sorting step. An error script has also been added, similar function as bed2gff.