converion of gtf file into fasta
1
0
Entering edit mode
7.7 years ago
Bioiris ▴ 10

Hi all,

I am a beginner

I have a file and I need to convert the format from .gtf to .fa (fasta) is there any tools that can do that?

thank you in advance

RNA-Seq • 5.2k views
ADD COMMENT
1
Entering edit mode

gffread Read the section "Extracting transcript sequences"

ADD REPLY
1
Entering edit mode

Good one, I have edited and clarified my answer.

ADD REPLY
0
Entering edit mode

Ok!

thank you very much

ADD REPLY
3
Entering edit mode
7.7 years ago

That's an unlikely conversion, and not possible too. Are you sure you need that? If you could download the gtf, you can most likely download the fasta file too.

EDIT: Clarification: a gtf on its own cannot be converted to a fasta file. However, see the comment from Goutham Atla on how to extract the features from a gtf based on a genome fasta file from the same annotation-build, resulting in fasta sequences corresponding to the gtf file.

ADD COMMENT
0
Entering edit mode

Technically, by adding a ">" to the beginning of each line, you would transform a gtf file into a valid fasta file... :)

ADD REPLY

Login before adding your answer.

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