I am doing a q2 picrust2 Tutorial (https://github.com/picrust/picrust2/wiki/q2-picrust2-Tutorial)
All the install and download steps worked well except fragment-insertion step using:
qiime fragment-insertion sepp --i-representative-sequences mammal_seqs.qza
–p-threads 1 --i-reference-alignment reference.fna.qza
–i-reference-phylogeny reference.tre.qza
–output-dir tutorial_placed_out
The error is:
Plugin error from fragment-insertion:
Command ‘[‘run-sepp.sh’, ‘/tmp/qiime2-archive-pmh381na/38a5d748-739e-44d1-b547-a35c0c8b8f29/data/dna-sequences.fasta’, ‘q2-fragment-insertion’, ‘-x’, ‘1’, ‘-A’, ‘1000’, ‘-P’, ‘5000’, ‘-a’, ‘/tmp/qiime2-archive-yyddx_7u/87909524-fa4f-4b28-abd6-c7c89a3c7da7/data/aligned-dna-sequences.fasta’, ‘-t’, ‘/tmp/qiime2-archive-3jm7iibt/f4e69728-a745-4069-b432-3f14951089fd/data/tree.nwk’]’ returned non-zero exit status 1
Debug info has been saved to /tmp/qiime2-q2cli-err-cby4nvz1.log
Note that you need to place your ASVs into the PICRUSt2 reference files - if you place your ASVs into the default SEPP reference files you will get downstream errors. The two reference files used here are the same ones you would use with your own data .
Can you confirm you are using the picrust2 reference files?
Thank you, this might be the problem. Could you please explain a little bit detail. I am not sure how to put ASVs into the PICRUSt2 reference files, which directory should I place the ASVs? I am completely new, I just follow the tutorial, those 5 files ( mammal_biom.qza,mammal_seqs.qza, mammal_metadata.tsv, reference.fna.qza, reference.tre.qza) were placed into q2-picrust2_test folder.
According to the tutorial, It looks that “qiime fragment-insertion sepp” is trying to place the ASV into PICRUSt2 reference files. And I got an error here.
The tutorial contains two reference files that need to be downloaded and used with fragment insertion. Did you download those? If so, are those the files indicated in your command above?
Does this file still exist? If so, can you attach it? If not, can you re-run and attach the new log file created? I suspect you are running out of computational resources, and that the error message is non-informative. Can you tell me a bit about your computational environment?
Hello, @thermokarst and @dong. Thank you for this discussion.
I have the same problem but am struggling to get out of it.
Could you please guide me on how to add computational resources to run this command
Hello, @dong and @thermokarst@Andrew_Bugz. Thank you for this discussion. I also have the same problem but didn’t solve it. Could you please guide me on how to give more computational resources to run. I am completely freshman. I use qiime2-2019.1 on mac.
The error is:
qiime fragment-insertion sepp --i-representative-sequences mammal_seqs.qza
–p-threads 1 --i-reference-alignment reference.fna.qza
–i-reference-phylogeny reference.tre.qza
–output-dir tutorial_placed_out
Plugin error from fragment-insertion:
Command ‘[‘run-sepp.sh’, ‘/var/folders/d1/120ktkcn17x9vsxvtwxdsd2r0000gn/T/qiime2-archive-2t2d51lc/38a5d748-739e-44d1-b547-a35c0c8b8f29/data/dna-sequences.fasta’, ‘q2-fragment-insertion’, ‘-x’, ‘1’, ‘-A’, ‘1000’, ‘-P’, ‘5000’, ‘-a’, ‘/var/folders/d1/120ktkcn17x9vsxvtwxdsd2r0000gn/T/qiime2-archive-fp3eiu12/87909524-fa4f-4b28-abd6-c7c89a3c7da7/data/aligned-dna-sequences.fasta’, ‘-t’, ‘/var/folders/d1/120ktkcn17x9vsxvtwxdsd2r0000gn/T/qiime2-archive-znmjm8s3/f4e69728-a745-4069-b432-3f14951089fd/data/tree.nwk’]’ returned non-zero exit status 1.
Debug info has been saved to /var/folders/d1/120ktkcn17x9vsxvtwxdsd2r0000gn/T/qiime2-q2cli-err-tz7s042i.log
Hello @JIANJIAN_HOU.
Sorry for the late response. Hopefully, you found a solution already. In any case, I’ll share what I did.
I have mine installed using a virtual box, not on a mac. What I did was to get to the system settings and increased the base memory. You can increase it from the recommended 1024 MB to as much as your dataset might require (in my case, I could increase up to about 8GB).
I hope this helps.
Hi @Andrew_Bugz, thank you very much.
I use the native qiime2-2019.1 on my mac. The memory is 8 GB of RAM. I am sorry, now I also not solved this error in qiime2-picrust2.
But I installed picrust2 with conda and it can successfully work on my computer. I have already analysed my data by this way.