Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seqref updates #573

Merged
merged 5 commits into from
Nov 26, 2024
Merged

Seqref updates #573

merged 5 commits into from
Nov 26, 2024

Conversation

ahwagner
Copy link
Member

Addresses #567 and #568. For discussion.

$ref: "#/$defs/SequenceString"
description: >-
A :ref:`SequenceString` that is a literal representation of the referenced sequence.
moleculeType:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cmprocknow concern about "molecule type"; perhaps "molecularContext" would be cleaner.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can sort this out during public review.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RefSeq calls this Molecule Type, so seems appropriate to keep.

moleculeType:
type: string
enum:
- genomic
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

general discussion on genomic expressed concerns, possible alternate is "template"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

except "template" is a total non-starter. There are genomic variants that are not necessarily going to be involved as template sequence (e.g. variants in regulatory elements)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Group consensus: we should cover the same concept types that RefSeq uses.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ahwagner ahwagner marked this pull request as ready for review November 26, 2024 02:57
@ahwagner ahwagner requested a review from larrybabb as a code owner November 26, 2024 02:57
This was linked to issues Nov 26, 2024
-
- {'$ref': '#/$defs/sequenceString'}
- 0..1
- A :ref:`SequenceString` that is a literal representation of the referenced sequence.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be lowercase sequenceString...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

- A :ref:`SequenceString` that is a literal representation of the referenced sequence.
* - moleculeType
-
- string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MappableConcept? or are you good with an enum here? I defer to your judgement on this. I almost think we should avoid introducing MappableConcept into VRS unless it really needs to happen.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forget this. enum works for this one.

$ref: "#/$defs/SequenceString"
description: >-
A :ref:`SequenceString` that is a literal representation of the referenced sequence.
moleculeType:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can sort this out during public review.

moleculeType:
type: string
enum:
- genomic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ahwagner ahwagner merged commit 8eec2b5 into 2.x Nov 26, 2024
3 checks passed
@ahwagner ahwagner deleted the seqref-updates branch November 26, 2024 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

SequenceReference literal SequenceReference molecule type
2 participants