Off topic:Renaming sequences based on a metadata file
0
0
Entering edit mode
7.2 years ago
cdarwin • 0

Hello,

I have a standard fasta file with >200 sequences in it that are all named like:

>denovo1002 sample1900_140

In a separate tsv file, I have the OTUs classified. It looks like this:

denovo1002  k__Bacteria;p__Proteobacteria;c__Gammaproteobacteria;o__Methylococcales;f__;g__;s__ 1.000

What I would like to do is rename all of the sequences in the first file with their corresponding taxonomic assignment so that the final sequence name contains (or is- it doesn't matter) the second column of this tsv file.

I've looked at different ways to do this, but have yet to find anything in QIIME1 or any other toolbox that will allow me to. Does anyone have experience with this or know how to go about this?

Thank you so much

sequence qiime unix • 1.7k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2701 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