Question: bedops gff2bed error
gravatar for varsha619
3 days ago by
varsha61940 wrote:

Hello, I am trying to convert a .gff file to bed format using bedops gff2bed tool. Command used - sortBed -i in.gff | gff2bed > out.bed

I get the error - It looks as though you have less than 3 columns. Are you sure your files are tab-delimited? [/apps/bedops/2.4.2/bin/gff2bed] - Error: Please redirect or pipe in GFF-formatted data

Please let me know if there is a way to fix this or use a different tool to convert gff to bed. Thank you as always for your immense help in making my life easier!

gff2bed bedops • 103 views
ADD COMMENTlink modified 3 days ago by Alex Reynolds22k • written 3 days ago by varsha61940
gravatar for Alex Reynolds
3 days ago by
Alex Reynolds22k
Seattle, WA USA
Alex Reynolds22k wrote:

The gff2bed applies sorting with sort-bed, so presorting with sortBed is unnecessary. Try:

$ gff2bed < in.gff > out.bed

More information is available in the documentation at:

Version 2.4.2 of BEDOPS is very old — nearly three years old! The current version of BEDOPS is v2.4.30. There have been numerous updates to gff2bed and other tools in that time. You should really update, regardless:

ADD COMMENTlink modified 1 day ago • written 3 days ago by Alex Reynolds22k

I see, thank you so much! I will try that out.

ADD REPLYlink written 3 days ago by varsha61940
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1743 users visited in the last hour