This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to convert GTF format to BED format?

Hi All,

I am going to check mapped reads that I got from tophat, and I want to use IGV to look for specific genes names in my data . In my case ,I have to create .genome file in IGV because I used the reference genome and the annotation file from Ensemble .

I tried to creat my .genome file on IGV, I found that in IGV user guide I should have the annotation file as .BED format. so is there any simple tool to convert gtf to bed format.

next-gen-sequencing rna-seq

2 answers

You can use BEDOPS gtf2bed, e.g., $ gtf2bed < my_data.gtf > my_data.bed

You can use a GTF file in IGV for the annotation. In fact, that's the most common method.

When I used GTF in IGV it doesn't show any thing. That's why I trying to follow the user guide on IGV

That's unusual. I've done this exact thing before and not had issues. Perhaps something is wonky with the GTF.

Hi Ryan,

As I said above, I downloaded both of the reference genome and the annotation file from Ensemble. So I don't think there is any problem with the GTF file. Also, I got a high rate for mapping using tophat.

It's possible IGV doesn't recognize the chromosome names.

Could you please explain this point to me. the annotation file that I used just has the chromosome number only without Chr. Also the same problem happened when I used the default hg19 in IGV.

Log in to answer this question.