# parsing fasta files

**URL:** <https://forum.mothur.org/t/parsing-fasta-files/176>\
**Category:** Feature requests\
**Created:** [March 4, 2010, 1:45am UTC](https://forum.mothur.org/t/parsing-fasta-files/176 "2010-03-04T01:45:48Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [March 4, 2010, 1:45am UTC](https://forum.mothur.org/t/parsing-fasta-files/176/1 "2010-03-04T01:45:48Z")

</div>

It would be very helpful if commands like read.otu would parse the header line of sequences in fasta files, stripping off the sequence ID from the other annotation information. For example, when reading

> F4DQ9TR01DGJA0|BPC\_PICF\_Bv6|Fecal\_2A|1.667%

mothur should recognize that the name of this sequence is F4DQ9TR01DGJA0l (not "F4DQ9TR01DGJA0|BPC\_PICF\_Bv6|Fecal\_2A|1.667%)
