DNATool2/Base.py
def showMultiple(self, aligned=None, direction='up'):
        """Show multiple sequences aligned to the base one"""

        #print self.alignedsequences
        if aligned == None:
            aligned = self.alignedsequences
        self.clearMultiple()
        if len(aligned) == 0:
            return
        #move restr sites up
        self.clearRestrictionSites()
        if direction == 'up':
            inc = -15
        else:
            inc = 15
        row = self.baserow + inc
        print len(aligned)
        for s in aligned[:55]:
            self.showSequence(s, row, tag='aligned')
            row+=inc
            self.height+=20
        return
Show multiple sequences aligned to the base one
Show multiple sequences aligned to the base one
Show multiple sequences aligned to the base one
def showMultiple(self, aligned=None, direction='up'):
        if aligned == None:
            aligned = self.alignedsequences
        self.clearMultiple()
        if len(aligned) == 0:
            return
        self.clearRestrictionSites()
        if direction == 'up':
            inc = -15
        else:
            inc = 15
        row = self.baserow + inc
        print len(aligned)
        for s in aligned[:55]:
            self.showSequence(s, row, tag='aligned')
            row+=inc
            self.height+=20
        return
def showMultiple ( self , aligned = None , direction = 'up' ) : if aligned == None : aligned = self . alignedsequences self . clearMultiple ( ) if len ( aligned ) == 0 : return self . clearRestrictionSites ( ) if direction == 'up' : inc = - 15 else : inc = 15 row = self . baserow + inc print len ( aligned ) for s in aligned [ : 55 ] : self . showSequence ( s , row , tag = 'aligned' ) row += inc self . height += 20 return
Show multiple sequences aligned to the base one
Show multiple sequences aligned to the base one
"""Show multiple sequences aligned to the base one""" #print self.alignedsequences #move restr sites up
self
aligned
direction