How to get lncRNA seqences from an annotation file?
Hi, I'm very new to bioinformatics in general so please excuse my ignorance. I'm trying to get sequences identified as long noncoding RNA in the mouse genome. I have a gtf file of only lncRNA annotations from Gencode, how do I get the actual sequences using this file? Any help would be greatly appreciated. Thank you.
• 3,014 views
•
link
1 answer
- Download reference genome in fasta format (same version as gtf file)
Use bedtools getfasta as follows
bedtools getfasta -fi reference_genome.fa -bed lncRNA.gtf -fo lncRNA.fa
• 0 views
•
link
Log in to answer this question.
try gffread
gffread -w transcripts.fa -g /path/to/genome.fa transcripts.gtf
are you analysing lncRNA from RNAseq? by using hisat or tophat?