Class FastaHeader

  • public class FastaHeader
    extends Object
    This class is used by FastaFormat to determine which fields are in the fasta header. By default they all are except for the sequence name. This is for compliance with fasta files that come from Genbank where the name is derived from the accession number so need not be repeated. The class can be used to customise what appears. Eg if you only want the accession set everything else false. Note that if fields in the RichSequence being parsed by the FastaFormat object then they may not be in the header even if they are specified in this class.
    Mark Schreiber