Package schrodinger :: Package application :: Package msv :: Package domain :: Module align :: Class AbstractAligner
[hide private]
[frames] | no frames]

Class AbstractAligner

object --+
         |
        AbstractAligner
Known Subclasses:

Base class of objects that can perform an alignment

Instance Methods [hide private]
 
__init__(self, gap_open_penalty=-1, gap_extend_penalty=0.0, scoring_matrix=None, direct_scores=False, constraints=None, merge=False, merge_selected=False, last_to_merge=None, ss_constraints=False)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_extractGapLocations(self, seq_str)
Convenience method to extract gap locations from a string of characters
 
run(self, aln)
Aligns the sequences in an alignment using the parameters supplied on init
 
__call__(self, aln)
Convenience method to make the class instance itself a callable

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, gap_open_penalty=-1, gap_extend_penalty=0.0, scoring_matrix=None, direct_scores=False, constraints=None, merge=False, merge_selected=False, last_to_merge=None, ss_constraints=False)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_extractGapLocations(self, seq_str)

 

Convenience method to extract gap locations from a string of characters

Useful for interacting with backends that return results as gapped sequences of strings

run(self, aln)

 

Aligns the sequences in an alignment using the parameters supplied on init

Subclasses need to override this default implementation.

Parameters: