pedviz.haplotype
Class MerlinErrorChecking

java.lang.Object
  extended by pedviz.haplotype.MerlinErrorChecking

public class MerlinErrorChecking
extends java.lang.Object

It's possible to process a Merlin error output file to highlight errors in the haplotype/genotype data.

Author:
Luki

Constructor Summary
MerlinErrorChecking(java.lang.String filename)
          Loads the given Merlin-Error file.
MerlinErrorChecking(java.lang.String filename, boolean resource)
          Loads the given Merlin-Error file.
 
Method Summary
 java.util.HashMap<java.lang.Object,MerlinError> getErrors()
          Returns a collection of all errors.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MerlinErrorChecking

public MerlinErrorChecking(java.lang.String filename)
Loads the given Merlin-Error file.

Parameters:
filename - Merlin-Error file

MerlinErrorChecking

public MerlinErrorChecking(java.lang.String filename,
                           boolean resource)
Loads the given Merlin-Error file.

Parameters:
filename - Merlin-Error file
resource - Loads the file from a resource (jar,..).
Method Detail

getErrors

public java.util.HashMap<java.lang.Object,MerlinError> getErrors()
Returns a collection of all errors.

Returns:
a collection of all errors.