Dear colleagues, how are you doing?
I would like to generate a tree of OTUs, in order to do some phylogenetic based analysis on R. To do this, I used the Get.oturep command. This command generated a fasta file with the representative sequence of each OTU.
I would like to change the headers of the fasta file, erasing the name generated by MiSeq leaving only the OTU number.
The fasta header looks like this:
And I would like it to be like this:
Thank you in advance.