picrust / picrust2

Code, unit tests, and tutorials for running PICRUSt2
GNU General Public License v3.0
328 stars 104 forks source link

Error : Stopping - no ASV ids overlap between input FASTA and sequence abundance table #355

Closed ConstanceBtd closed 2 months ago

ConstanceBtd commented 3 months ago

Hello,

I am trying to run the picrust command following a pipeline using R . I have successfully created the file needed for picrust to run:

- seq.fna:

ASV_025481 TACGGAAGGGGCAAGCGTTGTTCGGAATCATTGGGCGTAAAGGGCGCGTAGGTGGTTCTGTATGTCTACTGTGAAAGCATGCGGCTCAACCGTGTTAGGTCGGTAGAAACTGCAGGACTTGAGGCTGGGAGGGGCTGGTGGAATTCCCTGTGTAGCGGTGAAATGCGTAGAGATGGGGGAGAACACTCGTGGCGAAGGCGGCCAGCTGGACCAGTTCTGACACTGAGGCGCGATAGCGTGGGGAGCAAACAGG ASV_035517 TACGGAAGGGGCAAGCGTTGTTCGGAATTATTGGGCGTAAAGGGCGCGTAGGTGGTTTTGTGTGTCTATCGTGAAAGCACGCGGCTCAACCGCGTTCCGTCGGTAGAAACTGCAGAACTAGAGACTGGGAGGGGCTGGTGGAATTCCCTGTGTAGCGGTGAAATGCGTAGAGATGGGGGAGAACACTCGTGGCGAAGGCGGCCAGCTAGACCAGTTCTGACACTGAGGCGCGATAGCGTGGGGAGCAAACAGG ASV_017949 TACGGAAGGGGCAAGCGTTGTTCGGAATTATTGGGCGTAAAGGGCGCGTAGGTGGCTTTGTGTGTCTATCGTGAAATCACGCAGCTCAACTGCGTTCCGTCGGTAGAAACTGCAGAGCTAGAGGCTGGGAGGGGCTGGTGGAATTCCCTGTGTAGCGGTGAAATGCGTAGAGATGGGGGAGAACACTCGTGGCGAAGGCGGCCAGCTGGACCAGTTCTGACACTGAGGCGCGATAGCGTGGGGAGCAAACAGG ASV_019089 TACGGAAGGGGCAAGCGTTGTTCGGAATTATTGGGCGTAAAGGGCGCGTAGGTGGCTTTGTGTGTCTATCGTGAAATCACGCAGCTTAACTGCGTTCCGTCGGTAGAAACTGCAGAGCTAGAGGCTGGGAGGGGCTGGTGGAATTCCCTGTGTAGCGGTGAAATGCGTAGAGATGGGGGAGAACACTCGTGGCGAAGGCGGCCAGCTGGACCAGTTCTGACACTGAGGCGCGATAGCGTGGGGAGCAAACAGG ASV_036065 TACGGAAGGGGCAAGCGTTGTTCGGAATCATTGGGCGTAAAGGGCGCGTAGGTGGTCTTGTGTGTCTTCCGTGAAAGCCCACAGCTCAACTGTGGTGTGTCGGGAGAAACTGCAGGACTTGAGGCTGGGAGGGGCTGGTGGAATTCCCTGTGTAGCGGTGAAATGCGTAGAGATGGGGGAGAACACTCGTGGCGAAGGCGGCCAGCTAGACCAGTTCTGACACTGAGGCGCGATAGCGTGGGGAGCAAACAGG


However, when I run picrust, I have the following error:  `Stopping - no ASV ids overlap between input FASTA and sequence abundance table`
I saw on previous issues that you suggested changing the name of the first column (from "#OTU ID" to "OTU_ID"), which I did but I still got the same error. Would you have an idea of where it could be coming from ?

Thanks !

Constance
R-Wright-1 commented 2 months ago

Hi there,

I'm not exactly sure what the format of your file is based on that snippet, but it looks like you have ASVs as columns and samples as rows? Usually for running PICRUSt2 you need to have ASVs as rows and samples as columns. You can see some example files in the tutorial page, however, I can't give any advice on the pipeline that you are using in R - I have never used that before and you should reach out to the person that made that if you need help with that.

ConstanceBtd commented 2 months ago

Hello,

Thank you so much for you answer : I didn't even notice that I had ASVs as columns instead of rows... It works now that I've transposed it!

Thanks!

Constance

R-Wright-1 commented 2 months ago

Great, no problem!