public class VariantContextCompatibilityCheckerXDominant extends AbstractVariantContextCompatibilityChecker
InheritanceVariantContextList
for compatibility with a Pedigree
and X
dominant mode of inheritance.
Genotype
that is shared by all affected
individuals but no unaffected individuals in the pedigree.Constructor and Description |
---|
VariantContextCompatibilityCheckerXDominant(Pedigree pedigree,
InheritanceVariantContextList list)
Initialize compatibility checker for X dominant t and perform some sanity checks.
|
VariantContextCompatibilityCheckerXDominant(Pedigree pedigree,
List<htsjdk.variant.variantcontext.VariantContext> list)
Initialize compatibility checker for X dominant and perform some sanity checks.
|
Modifier and Type | Method and Description |
---|---|
List<htsjdk.variant.variantcontext.VariantContext> |
run()
run.
|
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
public VariantContextCompatibilityCheckerXDominant(Pedigree pedigree, List<htsjdk.variant.variantcontext.VariantContext> 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, List)
public VariantContextCompatibilityCheckerXDominant(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 List<htsjdk.variant.variantcontext.VariantContext> run() throws InheritanceCompatibilityCheckerException
InterfaceVariantContextCompatibilityChecker
run.
run
in interface InterfaceVariantContextCompatibilityChecker
run
in class AbstractVariantContextCompatibilityChecker
InheritanceVariantContextList
that are
compatible with Pedigree
and the mode of inheritances.InheritanceCompatibilityCheckerException
- if the VCF VariantContext
does not match to the
Pedigree
public void runSingleSampleCase() throws InheritanceCompatibilityCheckerException
InterfaceVariantContextCompatibilityChecker
InheritanceVariantContextList
that are compatible with index (first individual of the
VCF file) and the mode of inheritances will be set true
for their compatibilityInheritanceCompatibilityCheckerException
- if the VCF VariantContext
does not match to the
Pedigree
public 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.