Beispiel #1
0
    def __init__( self, sourceAlnHit=None ):
        """Can be constructed from another alignment hit 
        (copies __dict__ over), or denovo."""

        if sourceAlnHit:
            self.__dict__ = sourceAlnHit.__dict__.copy()
        else:
            AlignmentHit.__init__( self )

        self._colToValue = None
        self.hasPulseInfo = False
Beispiel #2
0
    def __init__( self ):
        """Set up some public attributes where we'll store the 
        pulse metrics for now."""

        AlignmentHit.__init__( self )
        self.pulses = {}   
Beispiel #3
0
 def __init__(self):
     AlignmentHit.__init__(self)
     self.alignedQuery = ''
     self.alignedTarget = ''
     self.zScore=-100.0