Class AlleleBuilder
java.lang.Object
org.phenopackets.phenopackettools.builder.builders.AlleleBuilder
Create a VRS Allele object such as
 {'_id': 'ga4gh:VA.GuPzvZoansqNHPoXkQLXKo31VkTpDKsM',
  'type': 'Allele',
  'location': {'type': 'SequenceLocation',
   'sequence_id': 'ga4gh:SQ.FOWokFmA__GgqWLtqFoWWDLuNEvvGwIJ',
   'interval': {'type': 'SequenceInterval',
    'start': {'type': 'Number', 'value': 48941647},
    'end': {'type': 'Number', 'value': 48941648}}},
  'state': {'type': 'LiteralSequenceExpression', 'sequence': 'T'}}
- 
Method Summary
Modifier and TypeMethodDescriptionorg.ga4gh.vrs.v1.Allelebuild()static AlleleBuilderbuilder()org.ga4gh.vrs.v1.VariationWrap the Allele message in a Variation messagechromosomeLocation(String chrom) interbaseStartEnd(int start, int end) Sequence ranges use an interbase coordinate system, which involves Two integers that define the start and end positions of a range of residues, possibly with length zero, and specified using “0-start, half-open” coordinates.sequenceId(String sequenceId)  
- 
Method Details
- 
variantId
 - 
chromosomeLocation
 - 
interbaseStartEnd
Sequence ranges use an interbase coordinate system, which involves Two integers that define the start and end positions of a range of residues, possibly with length zero, and specified using “0-start, half-open” coordinates. - 
altAllele
 - 
sequenceId
 - 
builder
 - 
build
public org.ga4gh.vrs.v1.Allele build() - 
buildVariation
public org.ga4gh.vrs.v1.Variation buildVariation()Wrap the Allele message in a Variation message- Returns:
 - The constructed Variant message that contains the Allele and if provided SequenceLocation information.
 
 
 -