How to extract the desired fasta file from the de novo assembly Trinity fasta file
2
0
Entering edit mode
8.4 years ago
snar86 ▴ 10

Hi,

I have fasta file of my de novo assembly result from Trinity software. After blast, i listed the transcripts that were related to my project. Is there anyone can help me on how to get the fasta file for only the transcripts that i have listed from that de novo assembly result?

Thank you.

RNA-Seq sequence Assembly • 2.4k views
ADD COMMENT
3
Entering edit mode
8.4 years ago

If you have the names of the relevant transcripts in a text file, with one name per line, you can get them using the BBMap package like this:

filterbyname.sh in=trinity.fasta out=filtered.fasta names=names.txt include
ADD COMMENT
1
Entering edit mode

Thanks Brian for wonderful software.........bbmap does multiple things for NGS analysis.

ADD REPLY
0
Entering edit mode
8.4 years ago

You can also take a look to the faSomeRecords program. Think as an alternative to the previous one. The nice thing about this is that is written in C and is accompanied by a bunch of other useful programs It requires a 64bit environment, though

ADD COMMENT

Login before adding your answer.

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