Cufflinks GTF To Gbrowse GFF3
2
2
Entering edit mode
11.8 years ago
Gregor Rot ▴ 540

Which script do you use to convert cufflinks GTF output to GFF3 output suitable to upload to Gbrowse?

cufflinks gff3 • 16k views
ADD COMMENT
0
Entering edit mode

You want a script/tool for your work and just wanna do comparisons

ADD REPLY
0
Entering edit mode

I found gtf2gff3.pl, but it hangs at cufflinks output that contains "." as strand, so i am thinking what to do with those transcripts now.

ADD REPLY
15
Entering edit mode
10.8 years ago

I know this is an old question but I just found it on Google so here's the answer: Cufflinks comes with a tool called "gffread" which can transform the gtf-output to gff3. Usage is:

gffread -E merged.gtf -o- > merged.gff3

This will warn you about any errors ("-E") and print to standard out ("-o-") into the file merged.gff3.

ADD COMMENT
1
Entering edit mode
11.8 years ago
cain.cshl ▴ 70

Unfortunately, different flavors of GTF make it difficult to make a generic converter. It is possible that you could create a Bio::DB::GFF database directly from your GTF. Bio::DB::GFF (whose BioPerl loaders are called bploadgff.pl, bpfastloadgff.pl and bpbulkloadgff.pl) works with GFF2 data, and GTF looks a lot like GFF2. I haven't tried it, but it wouldn't surprise me if it worked.

It would be best to ask further questions on this topic on the GBrowse mailing list (https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse) since there are lots of people on that list who deal with problems like these on a regular basis.

ADD COMMENT

Login before adding your answer.

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