# trim.seqs error for V1.18

**URL:** https://forum.mothur.org/t/trim-seqs-error-for-v1-18/550
**Category:** mothur bugs
**Created:** [May 25, 2011, 6:07pm UTC](https://forum.mothur.org/t/trim-seqs-error-for-v1-18/550 "2011-05-25T18:07:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ycsong](https://avatars.discourse-cdn.com/v4/letter/y/82dd89/32.png) [@ycsong](https://forum.mothur.org/u/ycsong)
#### Post date: [May 25, 2011, 6:07pm UTC](https://forum.mothur.org/t/trim-seqs-error-for-v1-18/550/1 "2011-05-25T18:07:56Z")

</div>

Hello,

I have just compiled and installed the V1.18 of mothur on Mac OSX 10.5.8. I tried using the following mothur command:

trim.seqs(fasta=test\_1.fna,qfile=test\_1.qual,qaverage=25,flip=T,pdiffs=2, qwindowaverage=35, qwindowsize=50, maxambig=0, maxhomop=8, processors=5)

and I get a following error, and the program just stalls:

ERROR]: Could not open test\_1.trim.fasta41982.temp  
[ERROR]: Could not open test\_1.scrap.fasta41982.temp  
[ERROR]: Could not open test\_1.trim.fasta41983.temp  
[ERROR]: Could not open test\_1.trim.qual41982.temp  
[ERROR]: Could not open test\_1.scrap.fasta41983.temp  
[ERROR]: Could not open test\_1.scrap.qual41982.temp  
[ERROR]: Could not open test\_1.trim.qual41983.temp  
[ERROR]: Could not open test\_1.scrap.qual41983.temp  
[ERROR]: Could not open test\_1.trim.fasta  
[ERROR]: Could not open test\_1.scrap.fasta  
[ERROR]: Could not open test\_1.trim.qual  
[ERROR]: Could not open test\_1.scrap.qual  
[ERROR]: Could not open test\_1.trim.fasta  
[ERROR]: Could not open test\_1.scrap.fasta  
[ERROR]: Could not open test\_1.trim.qual  
[ERROR]: Could not open test\_1.scrap.qual  
[ERROR]: Could not open test\_1.trim.fasta41984.temp  
[ERROR]: Could not open test\_1.trim.fasta41985.temp  
[ERROR]: Could not open test\_1.scrap.fasta41984.temp  
[ERROR]: Could not open test\_1.scrap.fasta41985.temp  
[ERROR]: Could not open test\_1.trim.qual41984.temp  
[ERROR]: Could not open test\_1.trim.qual41985.temp  
[ERROR]: Could not open test\_1.scrap.qual41984.temp  
[ERROR]: Could not open test\_1.scrap.qual41985.temp  
362  
177  
[ERROR]: Could not open test\_1.fna41982.num.temp  
158  
[ERROR]: Could not open test\_1.fna41983.num.temp  
155  
[ERROR]: Could not open test\_1.fna41984.num.temp  
148  
[ERROR]: Could not open test\_1.fna41985.num.temp  
Appending files from process 41982  
[ERROR]: Could not open test\_1.trim.fasta  
[ERROR]: Could not open test\_1.scrap.fasta  
[ERROR]: Could not open test\_1.trim.qual  
[ERROR]: Could not open test\_1.scrap.qual  
[ERROR]: Could not open  
[ERROR]: Could not open test\_1.fna41982.num.temp

I had a similar problem once, and I remember that the quality file needs to have a return character at the end of it. This time, even when there is a return character at the end, I am getting this error. Your help would be much appreciated.  
I have attached and sent the quality file and the fasta file into [mothur.bugs@gmail.com](mailto:mothur.bugs@gmail.com). Thank you in advance.

---

<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: [May 27, 2011, 12:43pm UTC](https://forum.mothur.org/t/trim-seqs-error-for-v1-18/550/2 "2011-05-27T12:43:07Z")

</div>

Thanks for bringing this bug to our attention. I ran your files with version 1.19.3, and found the bug only occurs when using multiple processors with no oligos file. I have fixed the issue and the change will be part of 1.20 releasing next month. I would recommend upgrading to version 1.19.3, and running your dataset with one processor on the trim.seqs command.
