bedtools not working with gff from flybase
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
• 2,432 views
•
link
1 answer
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!
• 0 views
•
link
Log in to answer this question.
Why's your start coordinate negative?