__init__(self,
adaptor,
primary_id)
(Constructor)
| source code
|
Create a SeqRecord.
Arguments: seq - Sequence, required (Seq object) id -
Sequence identifier, recommended (string) name - Sequence name,
optional (string) description - Sequence description, optional (string)
dbxrefs - Database cross references, optional (list of strings)
features - Any (sub)features, optional (list of SeqFeature
objects)
Note that while an id is optional, we strongly recommend you supply a
unique id string for each record. This is especially important if you
wish to write your sequences to a file.
You can create a 'blank' SeqRecord object, and then populated the
attributes later. Note that currently the annotations dictionary cannot
be specified when creating the SeqRecord.
- Overrides:
Bio.SeqRecord.SeqRecord.__init__
- (inherited documentation)
|