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

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

src/b/i/biopython-1.63/Scripts/Restriction/ranacompiler.py   biopython(Download)
            sense = ''.join(['(?P<', name, '>', regex(site.upper()), ')'])
            antisense = ''.join(['(?P<', name, '_as>',
                                 regex(dna.reverse_complement()), ')'])
            rg = sense + '|' + antisense
        #
                    dna = Seq(line[1], generic_dna)
                    sense1 = regex(dna)
                    antisense1 = regex(str(dna.reverse_complement()))
                    dna = Seq(enzymedict[other][0], generic_dna)
                    sense2 = regex(dna)
                    antisense2 = regex(dna.reverse_complement())

src/b/i/biopython-HEAD/Scripts/Restriction/ranacompiler.py   biopython(Download)
            sense = ''.join(['(?P<', name, '>', regex(site.upper()), ')'])
            antisense = ''.join(['(?P<', name, '_as>',
                                 regex(dna.reverse_complement()), ')'])
            rg = sense + '|' + antisense
        #
                    dna = Seq(line[1], generic_dna)
                    sense1 = regex(dna)
                    antisense1 = regex(str(dna.reverse_complement()))
                    dna = Seq(enzymedict[other][0], generic_dna)
                    sense2 = regex(dna)
                    antisense2 = regex(dna.reverse_complement())

src/b/i/biopython-1.63/Scripts/xbbtools/nextorf.py   biopython(Download)
                CDS.extend(self.GetCDS(self.seq))
            if minus:
                self.rseq = self.seq.reverse_complement()
                CDS.extend(self.GetCDS(self.rseq, strand=-1))
            self.Output(CDS)

src/b/i/biopython-HEAD/Scripts/xbbtools/nextorf.py   biopython(Download)
                CDS.extend(self.GetCDS(self.seq))
            if minus:
                self.rseq = self.seq.reverse_complement()
                CDS.extend(self.GetCDS(self.rseq, strand=-1))
            self.Output(CDS)

src/g/i/giraffe-2.0/src/giraffe/orfs.py   giraffe(Download)
    aa_len = int(math.floor(seq_len/3.0))
 
    for strand,nuc in [(+1,seq), (-1,seq.reverse_complement())]:
        for frame in range(3):
            trans = str(nuc[frame:].translate(trans_table))

src/b/i/biopython-HEAD/Tests/test_seq.py   biopython(Download)
        pass
    try:
        print(s.reverse_complement())
        assert False, "Reverse complement shouldn't work on a protein!"
    except ValueError:

src/b/i/biopython-1.63/Tests/test_seq.py   biopython(Download)
        pass
    try:
        print(s.reverse_complement())
        assert False, "Reverse complement shouldn't work on a protein!"
    except ValueError: