Matthieu Muffato
12/09/2025, 12:16 PMArthur
12/09/2025, 11:23 PMsort not already provide/expose the -O and -W options which allow setting compression and indexing of the VCF as part of command?Matthieu Muffato
12/10/2025, 12:31 AMbcftools sort to sort + compress + index in one command. That’s the best. Thank you 🙇 !Matthieu Muffato
12/10/2025, 12:31 AMMatthieu Muffato
12/10/2025, 12:37 AM(grep "^#" in.gff; grep -v "^#" in.gff | sort -t"`printf '\t'`" -k1,1 -k4,4n) | bgzip > sorted.gff.gz;
tabix -p gff sorted.gff.gz;
tabix sorted.gff.gz chr1:10,000,000-20,000,000;Arthur
12/10/2025, 1:32 AMbcftools/sort. For this second issue though I am not aware of any existing module