schrodinger.application.bioluminate.nucleic.mutator module¶
- class schrodinger.application.bioluminate.nucleic.mutator.NucleobaseMutator(mutations, concurrent)¶
Bases:
MacromoleculeMutator
Mutates a set of residues in a DNA or RNA structure allowing concurrent mutations as well as the option to limit concurrent mutations to sequential residues only.
- MUTS_FILE_REGEX = re.compile('(?P<chain>[a-zA-Z0-9_]{1})\n :\n (?P<resnum>-?\\d+)\n (?P<inscode>[a-zA-Z]{1})? # optional\n ->\n (?P<new_resname>(A|C|T|G|U))\n ', re.VERBOSE)¶
- RES_FILE_REGEX = re.compile('(?P<chain>[a-zA-Z0-9_]{1})\n :\n (?P<resnum>-?\\d+)\n (?P<inscode>[a-zA-Z]{1})? # optional\n \\s? # optional\n (?P<mutations>(A|C|T|G|U)(,A|,C|,T|,G|,U)*)? # op, re.VERBOSE)¶
- SUPPORTED_BUILD_RESIDUES = ['A', 'C', 'T', 'G', 'U']¶
- static makeMutation(mutation_tuple, polymer_type)¶
Convert a mutation tuple into a Mutation object.