added isHom() and isHet() queries to the Genotype interface (with the obvious meaning)
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@452 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
55537c0d1e
commit
835f1067d8
|
|
@ -106,6 +106,18 @@ public interface Genotype extends Comparable<ReferenceOrderedDatum> {
|
|||
* @return
|
||||
*/
|
||||
boolean isBiallelic() ;
|
||||
|
||||
/** Returns true if both observed alleles are the same (regardless of whether they are ref or alt)
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
boolean isHom() ;
|
||||
|
||||
/** Returns true if observed alleles differ (regardless of whether they are ref or alt)
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
boolean isHet() ;
|
||||
|
||||
/** Returns reference (major) allele base for a SNP variant as a character; should throw IllegalStateException
|
||||
* if variant is not a SNP.
|
||||
|
|
|
|||
Loading…
Reference in New Issue