aspartik.data.fasta

class DNARecord:

#

A FASTA record with a DNA sequence

Consists of a DNASeq and the record id/description.

raw_description

#

Full description, including the starting > character

id

#

ID of the record

ID is conventionally defined as the subset of the description from the start to the first space character. This method will return the full description if there are no spaces in it or an empty string of the description starts with a space (or is empty itself).

description

#

Description of the record

It does not include the starting '>' character, use raw_description for the full string.

sequence

#

Inner sequence

XXX: this getter currently performs a deep clone of the sequence.