Extracting specific ORFs from a complete metagenomic ORF file?
1
0
Entering edit mode
5.7 years ago

I have a list of ORF (1159) that i want to extract from a complete metagenomic ORF file that contain 597500 ORF. Is there any tool or script with which i can do that. Or should i do this with assembled contigs, if yes then how can i extract those contgs/ORFs. I want to do blast with only 1159 ORF not with whole metagenomic ORFs. Thank you

Assembly sequencing gene • 1.6k views
ADD COMMENT
3
Entering edit mode
5.7 years ago

What's a metagenomics ORF file ?

If it is a FASTA, you can use

# index the fasta 
samtools faidx test.fasta
#extract orf78
samtools faidx test.fasta orf78 

samtools faidx test.fasta orf78  > myORF.fasta
ADD COMMENT
0
Entering edit mode

Hye Collin, Thanks for your response. I have contigs and translated ORFs from those contigs (Approximately 900,000 contigs and 597500 translated ORFs) . I want to extract specific contigs/ORFs (1159) from those files. Can you help me in this regard.

ADD REPLY

Login before adding your answer.

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