Class GeneDescriptorBuilder
java.lang.Object
org.phenopackets.phenopackettools.builder.builders.GeneDescriptorBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAlternateIds
(List<String> altIds) addAllAlternateSymbols
(List<String> altSymbols) addAllXrefs
(List<String> xrefs) addAlternateId
(String altId) addAlternateSymbol
(String altSymbol) org.ga4gh.vrsatile.v1.GeneDescriptor
build()
static GeneDescriptorBuilder
description
(String desc) static org.ga4gh.vrsatile.v1.GeneDescriptor
-
Method Details
-
of
- Parameters:
valueId
- Official identifier of the gene, e.g., HGNC:3603symbol
- Official gene symbol, e.g., FBN1- Returns:
- completely built
GeneDescriptor
object
-
builder
- Parameters:
valueId
- Official identifier of the gene, e.g., HGNC:3603symbol
- Official gene symbol, e.g., FBN1- Returns:
- GeneDescriptorBuilder that can be used to set additional field values
-
description
-
addAlternateId
-
addAllAlternateIds
-
addXref
-
addAllXrefs
-
addAlternateSymbol
-
addAllAlternateSymbols
-
build
public org.ga4gh.vrsatile.v1.GeneDescriptor build()
-