Converting GFF to GTF
1
0
Entering edit mode
14 months ago
Morgan • 0

Hello,

I am having trouble transferring my gff file to a gtf. I have tried using gffread, gffcompare, and rtracklayer, which all have left me with the same or no output. Here are my files. Please help!

gff gtf • 1.2k views
ADD COMMENT
0
Entering edit mode

We're not going to download your files. Create a reproducible example and show us the commands you're running. If this is specific to Galaxy and does not involve command line invocation of tools, open a post in https://help.galaxyproject.org/ and delete this post.

ADD REPLY
0
Entering edit mode
library(rtracklayer)
Orf50 <- system.file("Orf50.gff", package = "rtracklayer")
test_gff3 <- file.path(Orf50, "Orf50.gff")
test <- import(test_gff3)
export(test,"Orf50.gtf","gtf")

gff file

ADD REPLY
0
Entering edit mode

Try AGAT

ADD REPLY
0
Entering edit mode
14 months ago
Paul ★ 1.5k

Run the following command, replacing input.gff with the name of your GFF file and output.gtf with the desired name for your GTF file:

gffread input.gff -T -o output.gtf

The -T option tells gffread to convert the input GFF file to GTF format.

ADD COMMENT

Login before adding your answer.

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