FASTA: Difference between revisions

From Genome Analysis Wiki
Jump to navigationJump to search
Created page with 'A simple text format for storing DNA sequences. A FASTA file can store one or more DNA sequences. Each record in a FASTA file begins with a > character (which must be the fir…'
 
Line 5: Line 5:
== Example ==
== Example ==


   >sequenceName Comments about the sequence len = 120
   >sequenceName Comments about the sequence len=120
   ACTGACTGACACTGACTGACACTGACTGACACTGACTGACACTGACTGAC
   ACTGACTGACACTGACTGACACTGACTGACACTGACTGACACTGACTGAC
   ACTGACTGACACTGACTGACACTGACTGACACTGACTGACACTGACTGAC
   ACTGACTGACACTGACTGACACTGACTGACACTGACTGACACTGACTGAC
   ACTGACTGACACTGACTGAC
   ACTGACTGACACTGACTGAC

Revision as of 19:37, 23 March 2010

A simple text format for storing DNA sequences.

A FASTA file can store one or more DNA sequences. Each record in a FASTA file begins with a > character (which must be the first character in the line) a sequence label and optional commentary. This record is followed by a sequence that can wrap over multiple lines, as needed. Typically, each line has about 50 characters and it is recommended that every line in a sequence should have the same length -- to facilitate indexing.

Example

 >sequenceName Comments about the sequence len=120
 ACTGACTGACACTGACTGACACTGACTGACACTGACTGACACTGACTGAC
 ACTGACTGACACTGACTGACACTGACTGACACTGACTGACACTGACTGAC
 ACTGACTGACACTGACTGAC