public class VariantContextCompatibilityCheckerAutosomalRecessiveHomozygous extends AbstractVariantContextCompatibilityChecker
InheritanceVariantContextList
for compatibility with a Pedigree
and autosomal
recessive homozygous mode of inheritance.
Genotype.HOMOZYGOUS_ALT
.
In the case of multiple individuals, we require that the affects are compatible, that the unaffected parents of
affected individuals are not Genotype.HOMOZYGOUS_REF
or Genotype.HOMOZYGOUS_ALT
and that the
unaffected individuals are not Genotype.HOMOZYGOUS_ALT
. The affected individuals are compatible if no
affected individual is Genotype.HOMOZYGOUS_REF
or Genotype.HETEROZYGOUS
and there is at least one
affected individual that is Genotype.HOMOZYGOUS_ALT
.Constructor and Description |
---|
VariantContextCompatibilityCheckerAutosomalRecessiveHomozygous(Pedigree pedigree,
InheritanceVariantContextList list)
Initialize compatibility checker for autosomal recessive homozygout and perform some sanity checks.
|
Modifier and Type | Method and Description |
---|---|
void |
runMultiSampleCase()
All variants of the
InheritanceVariantContextList that are compatible with Pedigree and the mode
of inheritances will be set true for their compatibility. |
void |
runSingleSampleCase()
All variants of the
InheritanceVariantContextList that are compatible with index (first individual of the
VCF file) and the mode of inheritances will be set true for their compatibility |
getMatchedVariants, run
public VariantContextCompatibilityCheckerAutosomalRecessiveHomozygous(Pedigree pedigree, InheritanceVariantContextList list) throws InheritanceCompatibilityCheckerException
pedigree
- the Pedigree
to use for the initializelist
- the InheritanceVariantContextList
to use for the initializationInheritanceCompatibilityCheckerException
- if the pedigree or variant list is invalidAbstractVariantContextCompatibilityChecker.AbstractVariantContextCompatibilityChecker(Pedigree,
InheritanceVariantContextList)
public void runSingleSampleCase()
InterfaceVariantContextCompatibilityChecker
InheritanceVariantContextList
that are compatible with index (first individual of the
VCF file) and the mode of inheritances will be set true
for their compatibilitypublic void runMultiSampleCase()
InterfaceVariantContextCompatibilityChecker
InheritanceVariantContextList
that are compatible with Pedigree
and the mode
of inheritances will be set true
for their compatibility.Copyright © 2016. All rights reserved.