# problems with qiime fragment-insertion sepp

**URL:** <https://forum.qiime2.org/t/problems-with-qiime-fragment-insertion-sepp/19137>\
**Category:** User Support\
**Tags:** fragment-insertion\
**Created:** [April 7, 2021, 11:40am UTC](https://forum.qiime2.org/t/problems-with-qiime-fragment-insertion-sepp/19137 "2021-04-07T11:40:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lys](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/l/67e7ee/32.png) [@lys](https://forum.qiime2.org/u/lys)\
**Post date:** [April 7, 2021, 11:40am UTC](https://forum.qiime2.org/t/problems-with-qiime-fragment-insertion-sepp/19137/1 "2021-04-07T11:40:41Z")

</div>

Dear Qiime developers,  
When I run the following code, I always get an error.

time qiime fragment-insertion sepp \

> ```
> --i-representative-sequences ./rep-seqs.qza \
> --i-reference-database sepp-refs-gg-13-8.qza \
> --o-tree ./tree.qza \
> --o-placements ./tree_placements.qza \
> --p-threads 0 \
> --p-debug
> 
> ```

The error is displayed as follows：

Plugin error from fragment-insertion:

Command '['run-sepp.sh', '/tmp/qiime2-archive-753tnz0j/ee11e6ab-d1b5-4859-829b-c5a6d1522c98/data/dna-sequences.fasta', 'q2-fragment-insertion', '-x', '0', '-A', '1000', '-P', '5000', '-a', '/tmp/qiime2-archive-jo9s8lrm/a14c6180-506b-4ecb-bacb-9cb30bc3044b/data/aligned-dna-sequences.fasta', '-t', '/tmp/qiime2-archive-jo9s8lrm/a14c6180-506b-4ecb-bacb-9cb30bc3044b/data/tree.nwk', '-r', '/tmp/qiime2-archive-jo9s8lrm/a14c6180-506b-4ecb-bacb-9cb30bc3044b/data/raxml-info.txt', '-b', '1']' returned non-zero exit status 1.

Debug info has been saved to /tmp/qiime2-q2cli-err-v5ly8nx5.log

Do you have any idea how to solve this issue ?

Thanks a ton

---

<div class="post-metadata">

**Author:** ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)\
**Post date:** [April 7, 2021, 1:30pm UTC](https://forum.qiime2.org/t/problems-with-qiime-fragment-insertion-sepp/19137/2 "2021-04-07T13:30:52Z")

</div>

Hi @lys,

I'm not entierly sure if this is the issue, but you have set:

> [@lys](#):
>
> `--p-threads 0`

This should be at least `1`... as in 1 cpu thread.

-Mike

---

<div class="post-metadata">

**Author:** ![lys](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/l/67e7ee/32.png) [@lys](https://forum.qiime2.org/u/lys)\
**Post date:** [April 7, 2021, 1:56pm UTC](https://forum.qiime2.org/t/problems-with-qiime-fragment-insertion-sepp/19137/3 "2021-04-07T13:56:34Z")

</div>

Thanks！

But I replaced it with 9, the result is also the same as the above error.

---

<div class="post-metadata">

**Author:** ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)\
**Post date:** [April 7, 2021, 2:17pm UTC](https://forum.qiime2.org/t/problems-with-qiime-fragment-insertion-sepp/19137/4 "2021-04-07T14:17:50Z")

</div>

Okay, just wanted to sanity-check. Here here are other forum posts on this issue. I suggest reading through these:

> [@Plugin error from fragment-insertion - CalledProcessError - run-sepp.sh - non-zero exit status 1](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion-calledprocesserror-run-sepp-sh-non-zero-exit-status-1/6838):
>
> Hello, I am trying to work on Picrust 2 via the QIIME2 plugin, but I am stuck on the first step which uses the plugin q2-fragment insertion. I have looked through the forums but cannot not seem to find a definitive answer. I was hoping someone could help me out! Disclaimer: I'm using QIIME2-2018.8, running via Ubuntu for Windows10. We successfully used QIIME2-2018.6 using this method. But we wanted to work with picrust2 and there was also an update to QIIME2 so it happened all together - hope…

> [@Fragment-insertion sepp returned non-zero exit status](https://forum.qiime2.org/t/fragment-insertion-sepp-returned-non-zero-exit-status/9316/3):
>
> Hi @Nicholas_Bokulich thank you! To try and narrow down the error I ran the following command using the default greengenes database: qiime fragment-insertion sepp \ --i-representative-sequences rep-seqs.qza \ --o-tree insertion-tree.qza \ --o-placements insertion-placements.qza And it seems to be working so I think the issue is my reference alignment and phylogeny [rooted\_tree.qza](https://global.discourse-cdn.com/flex002/uploads/qiime21/original/2X/2/202b3459c0c91bc0ef4c351fe6c4939d564d38c9.qza) (367.0 KB) [alignment.qza](https://global.discourse-cdn.com/flex002/uploads/qiime21/original/2X/0/0d96cf41108c8de11fe07d8096638c318fe8d658.qza) (2.5 MB) Thanks for your help!

> [@Error from Fragment-Insertion Sepp - non-zero exit status 1](https://forum.qiime2.org/t/error-from-fragment-insertion-sepp-non-zero-exit-status-1/17146):
>
> I am a beginner in Qiime2 so I need your help. I am trying to complete official Qiime2 tutorials and I have a problem about " Parkinson’s Mouse Tutorial ([https://docs.qiime2.org/2020.8/tutorials/pd-mice/#parkinson-s-mouse-tutorial](https://docs.qiime2.org/2020.8/tutorials/pd-mice/#parkinson-s-mouse-tutorial))". The problem occurs at the step of "Generating a phylogenetic tree for diversity analysis". When I write this codes: qiime fragment-insertion sepp --i-representative-sequences ./dada2\_rep\_set.qza --i-reference-database sepp-refs-gg-13-8.qza --o-tree ./tree.…

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [May 8, 2021, 8:18pm UTC](https://forum.qiime2.org/t/problems-with-qiime-fragment-insertion-sepp/19137/5 "2021-05-08T20:18:38Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
