One more step in commit to support multi-allelic indel genotyping and processing: utility class that supports multi-allelic genotype likelihoods

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5935 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
delangel 2011-06-03 16:08:29 +00:00
parent 420d8feff6
commit 2df12472c2
1 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,45 @@
package org.broadinstitute.sting.gatk.walkers.genotyper;
import org.broad.tribble.util.variantcontext.Allele;
import java.util.ArrayList;
/**
* Created by IntelliJ IDEA.
* User: delangel
* Date: 6/1/11
* Time: 10:38 AM
* To change this template use File | Settings | File Templates.
*/
public class MultiallelicGenotypeLikelihoods {
private String sample;
private double[] GLs;
private ArrayList<Allele> alleleList;
private int depth;
public MultiallelicGenotypeLikelihoods(String sample,
ArrayList<Allele> A,
double[] log10AALikelihoods, int depth) {
this.sample = sample;
this.alleleList = A;
this.GLs = log10AALikelihoods;
this.depth = depth;
}
public String getSample() {
return sample;
}
public double[] getLikelihoods() {
return GLs;
}
public ArrayList<Allele> getAlleles() {
return alleleList;
}
public int getDepth() {
return depth;
}
}