>10952483 Root;k__Viridiplantae_33090;p__Streptophyta_35493;c__sub__rosids_71275;o__Rosales_3744;f__Moraceae_3487;g__Ficus_3493;s__Ficus padana_100562; ACACGCCGTTGCTCCCCCCCCCCCCCCCGCAAAACCCCCGTCCCGTTCCTGGCGGGGCGAGGGGGGACCATGGGGGGCGGAAAATGACCTCCCGTGCGATTTTCGACCCGCGGTTGGTCCAAAAATCGAGTCCCCTGTCACGTCGTCTTGGCAACAGGTAGTCGATCATTCGGTGCCACCGCCACGTGCGTCGGACACGCATCGGGACTCCGACAGACCCCAACGCGCCCGTCACGGGTGCCTCCAACGC >119926030 Root;k__Viridiplantae_33090;p__Streptophyta_35493;c__undef__0;o__Caryophyllales_3524;f__Amaranthaceae_3563;g__Atriplex_3550;s__Atriplex canescens_35922; ACGCATCGCGTCTCCCCCCACCACCCCGTGTGGATGGGGAGGAGGATGATGGCCTCCCATGCCTCACCGGGCGTGGATGGCCTAAATAAGGAGCCCCCGGTTACGAAGTGCCGCGGCGATTGGTGGAATACAAGGCCTAGCCTAGGATGAAACGGTAATCGCGCACATCGTAGCTCTTGAGGACTCGCAGGACCCTTACTTGTTTGCCCTTAGGGGCGGCAAAACCGTTGCGA
Night hepls claryfying thoughts and the more I think about it and the more I realise that using that format that is not really rdp compliant is an issue, not only for Metacoder but for other parts of the analysis as dada2 for example. I am sure you know it alreday but dada2 has a function to assign taxonomy to sequances derived from amplicon sequencing and it uses among others a rdp fasta format as reference, hence I would have the same issue there. I will therefore put energy to modify the format of thoses rcl and its2 files to make them compliant instead of trying to adapt your code and dada2 to make it work, it sounds much more reasonable!
Thanks again anyway for your time, I look forward playing with the future developments!
Jef