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

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

src/p/h/phyloGenerator-HEAD/phyloGenerator.py   phyloGenerator(Download)
        print "Below are the names and IDs of gene-types."
        print "ID", "Gene Type"
        for i,x in enumerate(CodonTable.unambiguous_dna_by_name.keys()):
            print str(i).ljust(2), x
        print "\nIn the prompt below is the name of a gene. Type the ID number of the codon model you'd like to use for thaqt gene. Note that the standard (default) model is usually number 10."
            while locker:
                choice = raw_input(gene+": ")
                if int(choice) in range(len(CodonTable.unambiguous_dna_by_name.keys())):
                    self.codonModels[i] = CodonTable.unambiguous_dna_by_name.keys()[int(choice)]
                    locker = False
                    print "Below are the names and IDs of gene-types."
                    print "ID", "Gene Type"
                    for i,x in enumerate(CodonTable.unambiguous_dna_by_name.keys()):
                        print str(i).ljust(2), x
                    print "\nIn the prompt below is the name of a gene. Type the ID number of the codon model for that gene you'd like to use. Note that the standard (default) model is usually number 10."
                    for i,gene in enumerate(self.geneNames()):
                        locker = True
                        while locker:
                            choice = raw_input(gene+": ")
                            if int(choice) in range(len(CodonTable.unambiguous_dna_by_name.keys())):