edu.mssm.crover.webapps.dimlib.util
Class MutationValidator

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.util.MutationValidator

public class MutationValidator
extends java.lang.Object


Constructor Summary
MutationValidator()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 boolean validateMutation(Mutation m, WildTypeProtein wtp)
          Checks whether the Mutation is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutationValidator

public MutationValidator()
Method Detail

validateMutation

public boolean validateMutation(Mutation m,
                                WildTypeProtein wtp)
                         throws InvalidMutationException
Checks whether the Mutation is valid. returns either true if the mutation is valid, or else throws an InvalidMutationException with a message explaining why the mutation is invalid.

InvalidMutationException

main

public static void main(java.lang.String[] args)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.