As Devon is getting at, what ever method you're looking to use to 'read' this FASTA file is probably not a good one. Is it, by any chance, awk/sed/td/grep?
If you tell us what your bigger problem is that you're looking to solve, we might be able to help you there. But creating a new format, unless for a really good reason/implementation, is generally a bad idea for everyone.
Do you want to convert FASTA format to tab-delimited format?
Writing Python script with Biopython or Perl with BioPerl is very convenient. It can also be achieved by one or more shell commands.
I'd like to introduce the FASTA/Q toolkit SeqKit, which can do this with one command:
seqkit fxtab seqs.fa > formated.txt
Since spaces exited in the sequence of your sample data, a cleaning step was used to remove the spaces.
And seqkit fx2tab outputs 3 columns for compatibility of FASTA and FASTQ, cut was used to remove the empty third column:
Why? Why not leave it in fasta (a format most things already accept)?
As Devon is getting at, what ever method you're looking to use to 'read' this FASTA file is probably not a good one. Is it, by any chance, awk/sed/td/grep?
If you tell us what your bigger problem is that you're looking to solve, we might be able to help you there. But creating a new format, unless for a really good reason/implementation, is generally a bad idea for everyone.
You should look into using Biopython instead of trying to use text parsing. See these pages:
http://www.bioinformatics.org/bradstuff/bp/tut/Tutorial002.html
http://biopython.org/wiki/SeqIO
http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc11
http://biopython.org/DIST/docs/api/Bio.SeqIO-module.html