Open nathandunn opened 5 years ago
(grep ^"#" in.gff3; grep -v ^"#" in.gff3 | sort -k1,1 -k4,4n) > out.sorted.gff3
gt gff3 -sortlines input.gff > output.gff
Would need to find a way to sort these first in a semi-low-memory that can be a longish-job.
(grep ^"#" in.gff3; grep -v ^"#" in.gff3 | sort -k1,1 -k4,4n) > out.sorted.gff3
orgt gff3 -sortlines input.gff > output.gff