# Not aligning all sequences?

**URL:** <https://forum.mothur.org/t/not-aligning-all-sequences/112>\
**Category:** mothur bugs\
**Created:** [January 25, 2010, 9:44pm UTC](https://forum.mothur.org/t/not-aligning-all-sequences/112 "2010-01-25T21:44:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarrod\_s](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jarrod\_s](https://forum.mothur.org/u/jarrod_s)\
**Post date:** [January 25, 2010, 9:44pm UTC](https://forum.mothur.org/t/not-aligning-all-sequences/112/1 "2010-01-25T21:44:43Z")

</div>

Hi -

I am pretty sure this is not a bug in the software but a problem with my computing potential. That said I wanted to be certain…

-I have a fasta file of 210928 - a mixture of pyrotag and full length sanger reads (after unique.seqs and screen.seqs)  
-I run the following:

align.seqs(candidate=flpyro.unique.good.fas, template=core\_set\_aligned.imputed.fasta, flip=t, processors=4)

-And get the following:

Reading in the core\_set\_aligned.imputed.fasta template sequences… DONE.  
Aligning sequences…  
Some of you sequences generated alignments that eliminated too many bases, a list is provided in flpyro.unique.good.flip.accnos. If the reverse compliment proved to be better it was reported.  
It took 2265 secs to align 210928 sequences.

Problem is that only the first 166275 sequences align even though the Terminal message reports all sequences align. The last 44652 are left out. I do not have any more RAM so I am unable to confirm that lack of RAM is the problem.

So, I performed 2 separate alignments. Is it ok to concatenate the alignment files? Is there another solution?

Thanks  
Jarrod

---

<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:** [January 26, 2010, 1:35pm UTC](https://forum.mothur.org/t/not-aligning-all-sequences/112/2 "2010-01-26T13:35:17Z")

</div>

It’s probably not a RAM issue. I suspect it’s a bug we found that occurs if the sequence you are about to align contains more bases than the longest sequence in your template. With multiple processors you don’t see the bad\_access error because the process just dies. We have corrected the issue in 1.8 releasing early February. You can send me an email at [mothur.bugs@gmail.com](mailto:mothur.bugs@gmail.com) if you want the fix early.

---

<div class="post-metadata">

**Author:** ![jamesafoster](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@jamesafoster](https://forum.mothur.org/u/jamesafoster)\
**Post date:** [January 26, 2010, 6:15pm UTC](https://forum.mothur.org/t/not-aligning-all-sequences/112/3 "2010-01-26T18:15:42Z")

</div>

btw, I have tested the fix and it does indeed seem to work.

---

<div class="post-metadata">

**Author:** ![jarrod\_s](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jarrod\_s](https://forum.mothur.org/u/jarrod_s)\
**Post date:** [January 31, 2010, 8:52pm UTC](https://forum.mothur.org/t/not-aligning-all-sequences/112/4 "2010-01-31T20:52:06Z")

</div>

Indeed - it works fine for me as well
