
org.snpeff.interval.VariantWithScore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SnpEff Show documentation
Show all versions of SnpEff Show documentation
Variant annotation and effect prediction package.
The newest version!
package org.snpeff.interval;
/**
* A variant that has a numeric score.
*
* @author pcingola
*/
public class VariantWithScore extends Variant {
private static final long serialVersionUID = 1L;
double score;
public VariantWithScore() {
super();
}
public VariantWithScore(Marker parent, int start, int end, String id, double score) {
super(parent, start, end, id);
this.score = score;
}
@Override
public VariantWithScore cloneShallow() {
VariantWithScore clone = (VariantWithScore) super.cloneShallow();
clone.score = score;
return clone;
}
public double getScore() {
return score;
}
public void setScore(double score) {
this.score = score;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy