Description
When a variant is registered in AnyVar, its transcripted and/or translated forms should also be computed and stored as well, if applicable. We should store mappings between these in both directions.
Example
Say a genomic variant is registered in AnyVar. Upon registration, AnyVar should do the following:
- Store the genomic variant
- Compute the resulting transcript variant and store that
- Compute the resulting protein variant and store that
- Store the following relationships:
| source variant |
destination variant |
relationship |
| genomic variant |
transcript variant |
transcribes_to |
| transcript variant |
genomic variant |
transcribes_from |
| transcript variant |
protein variant |
translates_to |
| protein variant |
transcript variant |
translates_from |
* Note that this is an example; devs can use whatever terminology/storage/formatting, etc. that they'd like.
⚠️ Supported Variant Types
AnyVar should support transcription/translation for the following variant types:
Acceptance Criteria
-
Genomic variants:
- Given a genomic variant of any of the types listed above,
- When it is registered in AnyVar,
- Then the coding and protein variants are computed and stored,
- And the bidirectional mappings of these variants are stored as well
-
Transcript variants:
- Given a transcript variant of any of the types listed above,
- When it is registered in AnyVar,
- Then the genomic and protein variants are computed and stored,
- And the bidirectional mappings of these variants are stored as well
Description
When a variant is registered in AnyVar, its transcripted and/or translated forms should also be computed and stored as well, if applicable. We should store mappings between these in both directions.
Example
Say a genomic variant is registered in AnyVar. Upon registration, AnyVar should do the following:
* Note that this is an example; devs can use whatever terminology/storage/formatting, etc. that they'd like.
AnyVar should support transcription/translation for the following variant types:
Acceptance Criteria
Genomic variants:
Transcript variants: