Create .fasta file and sample name in .oligo file

Hi Mothur forum:

I got my sequences in .fna file. There are some sequences I don’t need, so I used Excel to delete them.
Then I tried to create .fasta file but Mothur can not read it in “summary.seqs”, it will show results like this:
Start End NBases Ambigs Polymer NumSeqs
Minimum: 0 0 0 0 1 1
2.5%-tile: 0 0 0 0 1 1
25%-tile: -1 -1 0 0 1 6
Median: -1 -1 0 0 1 11
75%-tile: -1 -1 0 0 1 16
97.5%-tile: -1 -1 0 0 1 20
Maximum: -1 -1 0 0 1 20
Mean: -1 -1 0 0 1

of Seqs: 20

I tried to change the file name from .txt to .fasta, or use converter on internet, or use vi by terminal to create .fasta.
But all of these files showed the same results.
How can I create a readable .fasta file?

The other question is when I use “trim.seqs(fasta=filename.fasta, oligos=filename.oligos”,…), the .trim.fasta is blank file.
(This filename.fasta file can be read by Mothur)
Then I checked the SchlossSOP example, found the sample names in GQY1XT001.oligos didn’t show in GQY1XT001.shhh.fasta.
In this case, how the sample names in .oligos refer to the sequences in .fasta file?

Thank you!

The summary.seqs issue is probably due to some formatting issues with excel. You might try using the remove.seqs command, What are the error codes mothur is giving you for scrapping the seqs in the *.scrap.fasta file?