public class BasicGenotypeMergeRule extends Object implements GenotypeMergeRule
Constructor and Description |
---|
BasicGenotypeMergeRule(double errorRate) |
Modifier and Type | Method and Description |
---|---|
byte |
callBasedOnDepth(byte[] genoDepths)
Makes a genotypic call based on allele depths
|
byte |
callBasedOnDepth(int[] genoDepths)
Makes a genotypic call based on allele depths
|
boolean |
isMergePossible()
Whether merge is even possible
|
byte |
mergeCalls(byte geno1,
byte geno2)
Merges diploid genotypic calls into one
|
byte[] |
mergeWithDepth(byte[] geno1depths,
byte[] geno2depths)
Merges sequencing depths of two taxa
|
public boolean isMergePossible()
GenotypeMergeRule
isMergePossible
in interface GenotypeMergeRule
public byte mergeCalls(byte geno1, byte geno2)
GenotypeMergeRule
mergeCalls
in interface GenotypeMergeRule
geno1
- genotype call of taxa 1geno2
- genotype call of taxa 2public byte[] mergeWithDepth(byte[] geno1depths, byte[] geno2depths)
GenotypeMergeRule
mergeWithDepth
in interface GenotypeMergeRule
geno1depths
- allele depth of taxa 1geno2depths
- allele depths of taxa 2public byte callBasedOnDepth(byte[] genoDepths)
GenotypeMergeRule
callBasedOnDepth
in interface GenotypeMergeRule
genoDepths
- allele depth of taxapublic byte callBasedOnDepth(int[] genoDepths)
GenotypeMergeRule
callBasedOnDepth
in interface GenotypeMergeRule
genoDepths
- allele depth of taxaCopyright © 2018. All rights reserved.