# Exclude-seqs error with imported FASTA file

**URL:** <https://forum.qiime2.org/t/exclude-seqs-error-with-imported-fasta-file/8662>\
**Category:** Technical Support\
**Tags:** exclude-seqs\
**Created:** [March 6, 2019, 9:20am UTC](https://forum.qiime2.org/t/exclude-seqs-error-with-imported-fasta-file/8662 "2019-03-06T09:20:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [March 6, 2019, 10:29pm UTC](https://forum.qiime2.org/t/exclude-seqs-error-with-imported-fasta-file/8662/8 "2019-03-06T22:29:05Z")

</div>

Hey @Mehrbod_Estaki,  
Nice cryptic issue. The problem is that your fasta file has CRLF (windows-style) line endings, most importantly at the ends of the fasta header lines. VSEARCH is interpreting these to be part of the sample ids, and so the vsearch alignment report gets FUBAR... sample ids and alignment stats get broken onto separate lines. This appears to be a wider problem with vsearch:

> [@Best approach for analyzing Sanger sequences from ITS2 region](https://forum.qiime2.org/t/best-approach-for-analyzing-sanger-sequences-from-its2-region/7887/10):
>
> Hey there @jhines1! It was a problem with file line-endings --- your fasta file had a mix of LF and CRLF, which vsearch wasn't cleaning out, so when q2-vsearch was parsing the intermediate files created by vsearch there were all kinds of crazy going on in the file. I converted the file to use only unix-style line-endings and have returned it to you in a DM. Happy QIIMEing! t_rex :qiime2:

You can fix by using mac2unix or `tr -d "\r" < file ` or some other method to convert CRLF to CR line endings.

In a future release of QIIME 2 these invisible line endings will be detected on import, since they are likely to wreak havoc with other methods, not just anything based on vsearch.

Thanks for reporting!

---

_[View the full topic](https://forum.qiime2.org/t/exclude-seqs-error-with-imported-fasta-file/8662)._
