add_sequence (
self,
descriptor,
sequence,
start=None,
end=None,
weight=1.0,
)
Add a sequence to the alignment.
This doesn't do any kind of alignment, it just adds in the sequence
object, which is assumed to be prealigned with the existing
sequences.
Arguments:
o descriptor - The descriptive id of the sequence being added.
o sequence - A string with sequence info.
o start - You can explicitly set the start point of the sequence.
This is useful (at least) for BLAST alignments, which can just
be partial alignments of sequences.
o end - Specify the end of the sequence, which is important
for the same reason as the start.
o weight - The weight to place on the sequence in the alignment.
By default, all sequences have the same weight. (0.0 => no weight,
1.0 => highest weight)
|