VirtualMicrobes.mutate package¶
Subpackages¶
Submodules¶
VirtualMicrobes.mutate.Mutation module¶
-
class
VirtualMicrobes.mutate.Mutation.
Fission
(chromosome, genome, pos)[source]¶ Bases:
VirtualMicrobes.mutate.Mutation.ChromosomalMutation
-
pos
¶
-
-
class
VirtualMicrobes.mutate.Mutation.
Fusion
(chrom1, chrom2, genome, end1, end2)[source]¶ Bases:
VirtualMicrobes.mutate.Mutation.ChromosomalMutation
-
end1
¶
-
end2
¶
-
-
class
VirtualMicrobes.mutate.Mutation.
Insertion
(chromosome, genome, stretch, insert_pos, is_external)[source]¶ Bases:
VirtualMicrobes.mutate.Mutation.StretchMutation
Insertion of a stretch of exogenous genomic material
-
insert_pos
¶
-
is_external
¶
-
-
class
VirtualMicrobes.mutate.Mutation.
Mutation
(target, genomic_unit)[source]¶ Bases:
object
Version: Author: -
applied
¶
-
genomic_target
¶
-
genomic_unit
¶
-
post_mutation
¶
-
rewind
()[source]¶ - Go back to the ancestral state by patching the mutated cell with the unmutated genomic state. It should make a check that the genomic element is a part of this cell.
:param virtual_cell.Cell mutant : On which cell do we play the reversal? :return : :author
-
time
¶
-
uid
= 0¶
-
-
exception
VirtualMicrobes.mutate.Mutation.
MutationAlreadyAppliedError
(value="Cannot 'reapply' if already applied")[source]¶
-
exception
VirtualMicrobes.mutate.Mutation.
MutationNotAppliedError
(value="Cannot 'rewind' if not already applied")[source]¶ Bases:
exceptions.Exception
-
class
VirtualMicrobes.mutate.Mutation.
OperatorInsertion
(gene, chromosome, new_val, pos)[source]¶ Bases:
VirtualMicrobes.mutate.Mutation.SingleGeneMutation
-
new_val
¶
-
par
¶
-
-
class
VirtualMicrobes.mutate.Mutation.
PointMutation
(gene, chromosome, par, new_val, pos)[source]¶ Bases:
VirtualMicrobes.mutate.Mutation.SingleGeneMutation
-
new_val
¶
-
par
¶
-
-
class
VirtualMicrobes.mutate.Mutation.
SingleGeneMutation
(gene, chromosome, pos)[source]¶ Bases:
VirtualMicrobes.mutate.Mutation.Mutation
-
pos
¶
-
-
class
VirtualMicrobes.mutate.Mutation.
StretchDeletion
(chromosome, genome, start_pos, end_pos)[source]¶
-
class
VirtualMicrobes.mutate.Mutation.
StretchMutation
(chromosome, genome, start_pos=None, end_pos=None, stretch=None)[source]¶ Bases:
VirtualMicrobes.mutate.Mutation.Mutation
-
end_pos
¶
-
start_pos
¶
-
stretch
¶
-