Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/b/i/biskit-2.4/Biskit/Hmmer.py   biskit(Download)
            ## if target is a PDBModel or simple sequence string
            if isinstance(self.target, PDBModel):
                fastaSeq, self.fastaID = MT.fasta( self.target )
                ## write fasta sequence file
                seq = open( self.f_in, 'w' )
        try:
 
            fastaSeq, self.fastaID = MT.fasta( model )
            fastaSeq = fastaSeq.split()[1]
            l = len(fastaSeq)
                start = h[0]-1
                stop = h[1]
                sub_fastaSeq, self.fastaID = MT.fasta( model, start, stop )
 
                ## write sub-fasta sequence file