bedtools not working with gff from flybase
1
0
Entering edit mode
8.7 years ago

Hi,

I got a gff file from flybase that i am trying to use with bedtools. However, it is throwing an error:

(0)> bedtools intersect -a my.vcf -b dmel-2L-r5.41.gff
Error: Invalid record in file dmel-2L-r5.41.gff. Record is 
2L      FlyBase chromosome_band -204333 1326937 .       +       .       ID=band-21_chromosome_band;Name=band-21

I downloaded the gff from here

I don't know why this format would be incorrect. From what I know of gff files, it seems correct.

Any help would be appreciated.

Thank you,
Best,

asif

bedtools gff flybase vcf • 2.1k views
ADD COMMENT
1
Entering edit mode

Why's your start coordinate negative?

ADD REPLY
1
Entering edit mode
8.7 years ago

Yes, it turns out there is a problem with flybase's gff file. It seems flybase people fixed that in a newer version.

Thank you for pointing it out!

ADD COMMENT

Login before adding your answer.

Traffic: 1555 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