convert bed file to fasta file
3
1
Entering edit mode
10.3 years ago
hana ▴ 190

Hi

I have the transcript.gtf file from cufflinks. I would like to identify novel long non_coding RNA using lncRScan.

I need to convert the gtf file to bed file and bed file to fasta file.

any suggestion would be appreciated.

Thanks

bed conversion RNA-Seq fasta • 14k views
ADD COMMENT
4
Entering edit mode
10.3 years ago
poisonAlien ★ 3.2k

gtf to bed

getFastaFromBed

ADD COMMENT
0
Entering edit mode
7.6 years ago
jlncrnt • 0

Based on this comment, if you want a direct gtf/gff -> fasta conversion:

gffread your_transcripts.gff -g genomic_reference.fasta -w your_transcripts.fasta​
ADD COMMENT
0
Entering edit mode
7.6 years ago

Here's a one-liner via gtf2bed and bed2faidx:

$ gtf2bed < annotations.gtf | bed2faidx > annotations.fa

You'll need samtools and samtools-indexed FASTA files to run bed2faidx.

ADD COMMENT

Login before adding your answer.

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