24 lines
661 B
Java
Executable File
24 lines
661 B
Java
Executable File
package org.broadinstitute.sting.gatk.refdata;
|
|
|
|
import org.broadinstitute.sting.utils.GenomeLoc;
|
|
import org.broadinstitute.sting.utils.GenomeLocParser;
|
|
|
|
|
|
public class CleanedOutSNPROD extends TabularROD {
|
|
|
|
private static final String REAL_SNP_STRING = "SAME_SNP";
|
|
private static final String FALSE_SNP_STRING = "NOT_SNP";
|
|
|
|
public CleanedOutSNPROD(String name) {
|
|
super(name);
|
|
}
|
|
|
|
public GenomeLoc getLocation() {
|
|
return GenomeLocParser.parseGenomeLoc(this.get("0"));
|
|
}
|
|
|
|
public boolean isRealSNP() {
|
|
String s = this.get("1");
|
|
return s != null && s.equals(REAL_SNP_STRING);
|
|
}
|
|
} |