Merging taxonomy references

Hi Mothur !

I want to merge bacteria and Archaea taxonomy references used for classification. How can i do so? Using which command line ?

If you’re sure there are no naming collisions between the two databases, you can do it with cat on linux/Mac.

cat bacteria.tax archaea.tax > combined.tax
cat bacteria.fasta archaea.fasta > combined.fasta

If you’re on Windows I think ‘type’ or ‘copy’ can be used the same way.

Hello dwaite,


Thanks for help. I work with windows. Can I do this within mothur ? It would be very easy and friendly.

Looking forward.

Ah, yes there is!

merge.files(input=bacteria.tax-archaea.tax, output=combined.tax)
merge.files(input=bacteria.fasta-archaea.fasta, output=combined.fasta)

Thanks …