Valid fasta format
Revision as of 12:54, 4 October 2007 by RobEdwards (talk | contribs)
One of the most frequent errors with uploading the data is incorrect file format. We recommend fasta format for all the sequence data to be uploaded.
In particular, please check the following things:
- There should be no spaces or tabs at the start or ends of the lines
- The identifier line should begin with a greater than sign ">", and only one line is allowed
- Typically most bioinformatics applications use the first word after the > as the identifier for the sequence. Its nice (but not essential) if this is unique
- In the sequence lines (not header lines), spaces and numbers are removed.
Examples of valid fasta
>sequenceid gatgcagcatgcagctagcagcgacggactac... >1 this is a sequence that i know something about gatgcagcatgcagctagcagcgacggactac...
Examples of invalid fasta
>sequenceid This is a comment about the sequence gatgcagcatgcagctagcagcgacggactac... Pleae don't include comments in the sequence data
>sequenceid gatgcagcatgcagctagcagcgacggactac... please don't have spaces before the > in the identifier
fasta is probably the most common sequence format because it is relatively compact, and very easy to parse.
There is more information about the fasta format at: