Class VariationDescriptorBuilder
java.lang.Object
org.phenopackets.phenopackettools.builder.builders.VariationDescriptorBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAlternateLabels
(List<String> altLabels) addAllXrefs
(List<String> xrefs) addAlternateLabel
(String altLabel) addExpression
(org.ga4gh.vrsatile.v1.Expression expression) alleleFrequency
(double frequency) org.ga4gh.vrsatile.v1.VariationDescriptor
build()
static VariationDescriptorBuilder
builder()
Deprecated, for removal: This API element is subject to removal in a future version.static VariationDescriptorBuilder
description
(String desc) geneContext
(org.ga4gh.vrsatile.v1.GeneDescriptor gene) genomic()
mosaicism
(double percentage) protein()
structuralType
(org.phenopackets.schema.v2.core.OntologyClass structuralType) variation
(org.ga4gh.vrs.v1.Variation variation) vcfRecord
(org.ga4gh.vrsatile.v1.VcfRecord vcf) zygosity
(org.phenopackets.schema.v2.core.OntologyClass zygo)
-
Method Details
-
builder
Deprecated, for removal: This API element is subject to removal in a future version.usebuilder(String)
instead. The id is a required field and it should not be possible to create a builder without an id. -
builder
-
label
-
variation
-
description
-
geneContext
-
vcfRecord
-
addXref
-
addAllXrefs
-
addAlternateLabel
-
addAllAlternateLabels
-
genomic
-
protein
-
transcript
-
structuralType
public VariationDescriptorBuilder structuralType(org.phenopackets.schema.v2.core.OntologyClass structuralType) -
heterozygous
-
homozygous
-
hemizygous
-
unspecifiedZygosity
-
zygosity
-
hgvs
-
spdi
-
iscn
-
addExpression
-
vcfHg38
-
vcfHg37
-
mosaicism
- Parameters:
percentage
- estimated percentage of cells affected by mosaic variant, e.g., 40%
-
alleleFrequency
- Parameters:
frequency
- estimated frequency (IN PERCENT) of an allele (generally a somatic mutation)
-
build
public org.ga4gh.vrsatile.v1.VariationDescriptor build()
-
builder(String)
instead.