# Plugin error from fragment-insertion

**URL:** https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273
**Category:** User Support
**Created:** [December 4, 2018, 1:40pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273 "2018-12-04T13:40:36Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![ajiwahyu](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@ajiwahyu](https://forum.qiime2.org/u/ajiwahyu)
#### Post date: [December 4, 2018, 1:40pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/1 "2018-12-04T13:40:36Z")

</div>

Hi Qiime2

Just wondering if this topic [Run-sepp.sh returned non-zero exit status 1](https://forum.qiime2.org/t/run-sepp-sh-returned-non-zero-exit-status-1/4071) is resolved or not. I am facing similar issues and upon looking at the forum it seems no solutions have been discussed.

Best  
Aji

---

<div class="post-metadata">

### Author: ![jwdebelius](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jwdebelius/32/9655_2.png) [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)
#### Post date: [December 4, 2018, 1:51pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/2 "2018-12-04T13:51:56Z")

</div>

Maybe not helpful, I'm also running into the same issue. I'm currently trying the solution to decrease my number of threads. Its particularly weird, because this worked two weeks ago on almost the same dataset, and now I'm having failures as well.

---

<div class="post-metadata">

### Author: ![michael.shaffer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/michael.shaffer/32/3006_2.png) [@michael.shaffer](https://forum.qiime2.org/u/michael.shaffer)
#### Post date: [December 4, 2018, 4:04pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/3 "2018-12-04T16:04:35Z")

</div>

The issue I ended up having was that I was trying to make a tree on closed reference OTUs and therefore there were redundant names between my sequences and the reference tree. The solution was to change the names of the closed reference OTUs in the input sequence qza. I have a script to do this if this is your problem.

Mike

---

<div class="post-metadata">

### Author: ![ajiwahyu](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@ajiwahyu](https://forum.qiime2.org/u/ajiwahyu)
#### Post date: [December 4, 2018, 4:06pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/4 "2018-12-04T16:06:29Z")

</div>

Thanks @jwdebelius . I tried decreasing the threads but the error is persistent.

---

<div class="post-metadata">

### Author: ![ajiwahyu](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@ajiwahyu](https://forum.qiime2.org/u/ajiwahyu)
#### Post date: [December 4, 2018, 4:37pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/5 "2018-12-04T16:37:32Z")

</div>

Thanks Mike. If you can post the script here or send me email at [ajiwahyua@gmail.com](mailto:ajiwahyua@gmail.com) that would be helpful. It is worth checking if that is why i have this error.

Aji

---

<div class="post-metadata">

### Author: ![michael.shaffer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/michael.shaffer/32/3006_2.png) [@michael.shaffer](https://forum.qiime2.org/u/michael.shaffer)
#### Post date: [December 4, 2018, 5:48pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/6 "2018-12-04T17:48:05Z")

</div>

@ajiwahyu

I have attached it here. As long as you don't have any OTU ids which are all numbers that are not greengenes OTUs. Those shouldn't exist as long as you are using the standard qiime2 pipelines.

Here is an example command:  
`python change_names_for_sepp.py --input your_seqs.qza --output your_seqs.mod.qza`

And then use `your_seqs.mod.qza` as the input to fragment insertion.

[change\_names\_for\_sepp.py](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/flex002/uploads/qiime21/original/2X/f/f0fa1155ee08a25220ae263afa78d5d282cc7d2c.py) (1.0 KB)

---

<div class="post-metadata">

### Author: ![ajiwahyu](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@ajiwahyu](https://forum.qiime2.org/u/ajiwahyu)
#### Post date: [December 5, 2018, 8:41pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/7 "2018-12-05T20:41:25Z")

</div>

Thanks for the script Mike!

---

<div class="post-metadata">

### Author: ![jwdebelius](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jwdebelius/32/9655_2.png) [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)
#### Post date: [December 6, 2018, 9:36am UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/8 "2018-12-06T09:36:40Z")

</div>

@ajiwahyu,

Has the script worked? Sorry, I'm still trying to deblug by switching enviroments. If there's something else major, it would be helpful.

Out of curiosity, do you have the PICRUSt plugin? I built a tree okay about a month ago, and then put in PICRUSt, and now... no luck?

---

<div class="post-metadata">

### Author: ![jwdebelius](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jwdebelius/32/9655_2.png) [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)
#### Post date: [December 6, 2018, 10:44am UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/9 "2018-12-06T10:44:00Z")

</div>

As my update to this, I switched to my QIIME2-2018.11 vanilla environment, with no PICRUSt (compared to my 2018 8 enviroment where I added PICRUSt.) My tree build in this environment (or at least, I got one out), along with a lovely informative error log.

---

<div class="post-metadata">

### Author: ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)
#### Post date: [December 7, 2018, 11:42pm UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/10 "2018-12-07T23:42:21Z")

</div>

An off-topic reply has been split into a new topic: [Q2-picrust2 error](https://forum.qiime2.org/t/q2-picrust2-error/7333)

Please keep replies on-topic in the future.

---

<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: [January 8, 2019, 5:42am UTC](https://forum.qiime2.org/t/plugin-error-from-fragment-insertion/7273/11 "2019-01-08T05:42:23Z")

</div>

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