bedops gff2bed error
1
0
Entering edit mode
6.4 years ago
varsha619 ▴ 90

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!

bedops gff2bed • 3.2k views
ADD COMMENT
2
Entering edit mode
6.4 years ago

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: http://bedops.readthedocs.io/en/latest/content/reference/file-management/conversion/gff2bed.html

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: http://bedops.readthedocs.io/en/latest/content/installation.html

ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1541 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6