test: add validation tests for intronic positions#676
Conversation
add ga4gh inherent
* SequenceOffsetLocation, RelativeSequenceLocation, RelativeAllele
validation/models.yaml
Outdated
| id: NM_001385641.1 | ||
| type: SequenceReference | ||
| refgetAccession: SQ.cXRaN1IhgR6Mg9U-qafH2Be6IuQgB6Ox | ||
| anchor: 610 |
validation/models.yaml
Outdated
| id: NM_001385641.1 | ||
| type: SequenceReference | ||
| refgetAccession: SQ.cXRaN1IhgR6Mg9U-qafH2Be6IuQgB6Ox | ||
| anchor: 1059 |
There was a problem hiding this comment.
Should this be 1057?
validation/models.yaml
Outdated
| relativeState: | ||
| type: LiteralSequenceExpression | ||
| sequence: A | ||
| baseState: | ||
| type: LiteralSequenceExpression | ||
| sequence: A |
There was a problem hiding this comment.
Only thing we did not review together @ahwagner @larrybabb
There was a problem hiding this comment.
@ahwagner... baseState v relativeState? is this only different when the transcript is in the opposite direction? So if the LiteralSequenceExpression is A in the baseState it would be T in the relativeState?
There was a problem hiding this comment.
Yeah, I see this in the PR as "mappedState". I'm on the fence about it, okay either way, I think I do prefer "mappedState". We should definitely keep the class as "relativeAllele" and definitely keep the "relativeLocation" slot on the relative allele.
larrybabb
left a comment
There was a problem hiding this comment.
I left a comment for @ahwagner because I'm not 100% confident of the purpose of both base/relative State fields. I believe the relativeState would always be the complement of the baseState when the mapped sequence is in the opposite direction of the base sequence.
!!! think we should consider changing the name of relativeState to mappedState. It seems like baseState clearly aligns with the relativeLocation.baseSequenceLocation so I would think that mappedState would align similarly with the relativeLocation.mappedSequenceLocation
validation/models.yaml
Outdated
| relativeState: | ||
| type: LiteralSequenceExpression | ||
| sequence: A | ||
| baseState: | ||
| type: LiteralSequenceExpression | ||
| sequence: A |
There was a problem hiding this comment.
@ahwagner... baseState v relativeState? is this only different when the transcript is in the opposite direction? So if the LiteralSequenceExpression is A in the baseState it would be T in the relativeState?
| offsetStart: -1 | ||
| offsetEnd: 0 | ||
| out: | ||
| ga4gh_digest: null |
There was a problem hiding this comment.
We need to review digest behavior for RelativeLocation and RelativeAllele objects

Tried to follow Lucid chart