Record#

class gb_io.Record(sequence, *, name=None, length=None, molecule_type=None, division=Ellipsis, definition=None, accession=None, version=None, dblink=None, keywords=None, circular=False, date=None, source=None, contig=None, references=None, features=None)#

A single GenBank record.

accession#

The accession of the record.

Type:

str or None

circular#

Whether the record describes a circular molecule.

Type:

bool

date#

The date this record was submitted.

Type:

date or None

The database link for the record.

Type:

str or None

definition#

The definition of the record.

Type:

str or None

division#

The GenBank division to which the record belongs.

Type:

str

features#

A list of Feature within the record.

Type:

list

keywords#

Word or phrase describing the sequence.

Type:

str or None

length#

The number of positions in the record sequence.

Type:

int or None

molecule_type#

The type of molecule (DNA, RNA, etc.).

Type:

str or None

name#

The name of the locus.

Type:

str or None

references#

A list of Reference within the record.

Type:

list

sequence#

The sequence of the record in lowercase, as raw ASCII.

Type:

bytes

version#

The version of the record.

Type:

str or None