Skip to content

Commit

Permalink
Merge pull request #451 from ga4gh/issue-426
Browse files Browse the repository at this point in the history
add RLE examples with SPDI annotations
  • Loading branch information
ahwagner authored Dec 16, 2023
2 parents 1b68dfb + 51ab262 commit ae5cc61
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/SPDI_contraction.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
type: Allele
expressions:
- syntax: spdi
value: NC_000001.11:40819438:CTCCTCCT:CTCCT
location:
type: SequenceLocation
sequenceReference:
refgetAccession: SQ.Ya6Rs7DHhDeg7YaOSg1EoNi3U_nQ9SvO
residueAlphabet: na
id: NC_000001.11
start: 40819438
end: 40819446
state:
type: ReferenceLengthExpression
length: 5
repeatSubunitLength: 3
16 changes: 16 additions & 0 deletions examples/SPDI_expansion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
type: Allele
expressions:
- syntax: spdi
value: NC_000001.11:40819438:CTCCTCCT:CTCCTCCTCCT
location:
type: SequenceLocation
sequenceReference:
refgetAccession: SQ.Ya6Rs7DHhDeg7YaOSg1EoNi3U_nQ9SvO
residueAlphabet: na
id: NC_000001.11
start: 40819438
end: 40819446
state:
type: ReferenceLengthExpression
length: 11
repeatSubunitLength: 3
8 changes: 8 additions & 0 deletions tests/test_definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,11 @@ tests:
description: A haplotype of two alleles on a shared chromosome reference sequence.
schema: vrs
definition: Haplotype
- test_file: SPDI_contraction.yaml
description: A simple RLE contraction from SPDI representation
schema: vrs
definition: Allele
- test_file: SPDI_expansion.yaml
description: A simple RLE expansion from SPDI representation
schema: vrs
definition: Allele

0 comments on commit ae5cc61

Please sign in to comment.