commands/restriction
Types
pub type MutationResult {
  Mutated(new_sequence: String, new_residues: List(Residue))
  CannotCompleteMutation
}
      
      Constructors
- 
          
Mutated(new_sequence: String, new_residues: List(Residue)) - 
          
CannotCompleteMutation 
pub type ResidueRange {
  ResidueRange(start: Int, end: Int)
}
      
      Constructors
- 
          
ResidueRange(start: Int, end: Int) 
pub type RestrictionResult {
  Digested(cuts: Int, fragments: List(String))
  InvalidSequence
}
      
      Constructors
- 
          
Digested(cuts: Int, fragments: List(String)) - 
          
InvalidSequence 
Functions
pub fn silently_mutate(
  sequence sequence: String,
  recognition site: String,
) -> MutationResult
    
    
  pub fn try_digest() -> Nil
    
    This function will asses the DNA sequence and return:
- RestrictionResult::Digested(cuts, fragments)
 - RestrictionResult::NotDigested
 - RestrictionResult::InvalidSequence