I use bedtools's sortBed
utility to sort BED files for various operations. It takes as input GFF files as well. However, when I feed it a GFF file as in:
sortBed -i myfile.gff
it outputs it as GFF, not BED. Is there a way to make bedtools sort and then convert the result to BED? Many bedtools utilities have a -bed
flag. Do I need to use a different subutility of [bedtools to achieve this? thanks.
try this: http://code.google.com/p/bedops/wiki/gff2bed#Dependencies