This is a test version of Biostars. For the public version, visit https://www.biostars.org.
gft to fasta conversion

Hello there,

I am new for this field. Recently I did differential analysis experiment. I used DEseq and at the end I got gene names which are differentially expressed in different tissues. because the list is big with number of transcripts, I would like to extract all the transcript sequences in fasta format using gft (or gff3) file and genome scaffold file. This is not a model organism. and I have made this gtf file using scipio program.

Can somebody please help me

Thank you in advance

Amol

gene rna-seq sequence

1 answer

The gffread utility in the Cufflinks package will extract transcript fasta given a gtf/gff and reference (genome) fasta file. For all the options:

gffread -h

To get only the DE transcripts, either subset the gff/gtf or, perhaps more straightforward, subset the fasta file (see here for multiple ways of doing that)

Thank you so much for quick reply. I tried that but could not get anything. I don't know if I am doing anything wrong. Can you please provide me actual command?

Thank you

gffread your_transcripts.gff -g genomic_reference.fasta -w your_transcripts.fasta​

Make sure that the chromosome/scaffold ids are the same in gff and genomic reference (capitals, underscores etc).

I was doing same... but it doesn't work!

Log in to answer this question.