# Sff.multiple - problem with oligos file in the last file

**URL:** https://forum.mothur.org/t/sff-multiple-problem-with-oligos-file-in-the-last-file/1285
**Category:** mothur bugs
**Created:** [April 2, 2013, 9:22am UTC](https://forum.mothur.org/t/sff-multiple-problem-with-oligos-file-in-the-last-file/1285 "2013-04-02T09:22:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kvalyi](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@kvalyi](https://forum.mothur.org/u/kvalyi)
#### Post date: [April 2, 2013, 9:22am UTC](https://forum.mothur.org/t/sff-multiple-problem-with-oligos-file-in-the-last-file/1285/1 "2013-04-02T09:22:42Z")

</div>

Hi,

I tried Sff.multiple command using a list of 25 files, in Mothur v.1.28.0, Linux 64 bit version.

I had a problem with only the last file of the 25, with trim flows:

> Running command: trim.flows(flow=H57KI5M03.MID153.flow, oligos=MID\_oligos.txtÃ¿, maxhomop=8, maxflows=450, minflows=300, pdiffs=2, bdiffs=1, ldiffs=0, sdiffs=0, tdiffs=3, signal=0.5, noise=0.7, order=TACG, processors=1)  
> Unable to open MID\_oligos.txtÃ¿  
> 20000  
> 22418

I figured the Ã¿ character is an end-of-file indicator, but did I do something wrong, or is it a bug?

---

<div class="post-metadata">

### Author: ![Ameet\_Pinto](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Ameet\_Pinto](https://forum.mothur.org/u/Ameet_Pinto)
#### Post date: [April 2, 2013, 12:00pm UTC](https://forum.mothur.org/t/sff-multiple-problem-with-oligos-file-in-the-last-file/1285/2 "2013-04-02T12:00:59Z")

</div>

I think your oligos file needs to be renamed to MID.oligos . Remove the txt extension completely. Then .oligos becomes the extension which is the required format.

Cheers.

---

<div class="post-metadata">

### Author: ![westcott](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/westcott/32/18_2.png) [@westcott](https://forum.mothur.org/u/westcott)
#### Post date: [April 2, 2013, 12:05pm UTC](https://forum.mothur.org/t/sff-multiple-problem-with-oligos-file-in-the-last-file/1285/3 "2013-04-02T12:05:14Z")

</div>

Mothur was reading the end of file character as part of the oligos file name if there was not a blank line at the end of the file. This issue was fixed in version 1.30.0. You can upgrade to 1.30.0 or add a blank line to correct the issue.

---

<div class="post-metadata">

### Author: ![kvalyi](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@kvalyi](https://forum.mothur.org/u/kvalyi)
#### Post date: [April 2, 2013, 1:41pm UTC](https://forum.mothur.org/t/sff-multiple-problem-with-oligos-file-in-the-last-file/1285/4 "2013-04-02T13:41:45Z")

</div>

> [@westcott](#):
>
> Mothur was reading the end of file character as part of the oligos file name if there was not a blank line at the end of the file. This issue was fixed in version 1.30.0. You can upgrade to 1.30.0 or add a blank line to correct the issue.

Yes, in the meantime I added an extra line and it worked. I did not see it being fixed in the new version, but, then I upgrade! Thank you!

---

<div class="post-metadata">

### Author: ![kvalyi](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@kvalyi](https://forum.mothur.org/u/kvalyi)
#### Post date: [April 2, 2013, 1:42pm UTC](https://forum.mothur.org/t/sff-multiple-problem-with-oligos-file-in-the-last-file/1285/5 "2013-04-02T13:42:33Z")

</div>

> [@Ameet Pinto](#):
>
> I think your oligos file needs to be renamed to MID.oligos . Remove the txt extension completely. Then .oligos becomes the extension which is the required format.
> 
> Cheers.

Nope, it always worked like this as well. But thank you!

---

<div class="post-metadata">

### Author: ![westcott](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/westcott/32/18_2.png) [@westcott](https://forum.mothur.org/u/westcott)
#### Post date: [April 2, 2013, 8:15pm UTC](https://forum.mothur.org/t/sff-multiple-problem-with-oligos-file-in-the-last-file/1285/6 "2013-04-02T20:15:08Z")

</div>

Thanks for the heads up. I forgot to add it to the release notes for 1.30.0.
