com.compomics.util.experiment.biology
Class MutationFactory

java.lang.Object
  extended by com.compomics.util.experiment.biology.MutationFactory

public class MutationFactory
extends Object

This class holds the all possible one-letter peptide sequence mutations.

Author:
Thilo Muth

Method Summary
static List<Mutation> createMutations()
          This method creates all possible mutations for the 20 essential amino acids.
static Mutation getMutation(Mutation mutation)
          Returns the requested mutation by lookup in the mutation map.
static List<String> getMutationsAsString()
          Returns the mutation as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMutation

public static Mutation getMutation(Mutation mutation)
Returns the requested mutation by lookup in the mutation map.

Parameters:
mutation - The mutation as parameter.
Returns:
The requested mutation.

createMutations

public static List<Mutation> createMutations()
This method creates all possible mutations for the 20 essential amino acids.

Returns:
All possible mutation for the 20 essential amino acids.

getMutationsAsString

public static List<String> getMutationsAsString()
Returns the mutation as a string.

Returns:
the mutation as a string


Copyright © 2013. All Rights Reserved.