public class ProbToCallMinDepth
extends java.lang.Object
Constructor | Description |
---|---|
ProbToCallMinDepth() |
Default constructor - always calls a genotype, no matter the number of
reads
|
ProbToCallMinDepth(int minDepth) |
Creates an instance that will only call a genotype if there are more than
the given number of reads for that genotype
|
Modifier and Type | Method | Description |
---|---|---|
byte[][] |
call(double[][][] probs,
int[][][] readCounts) |
Call a table of genotypes
|
byte |
callSingle(double[] prob,
int[] readCounts) |
Call a single genotype
|
public ProbToCallMinDepth()
public ProbToCallMinDepth(int minDepth)
minDepth
- Minimum number of reads at which to call a genotypepublic byte callSingle(double[] prob, int[] readCounts)
prob
- Genotype probabilitiesreadCounts
- The read counts for that genotypepublic byte[][] call(double[][][] probs, int[][][] readCounts)
probs
- Table of genotype probabilitiesreadCounts
- Table of read counts