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

fix: update civic test fixtures + re-run make all #243

Draft
wants to merge 14 commits into
base: 1.0.0-ballot.2024-11
Choose a base branch
from

Conversation

korikuzma
Copy link
Contributor

@korikuzma korikuzma commented Jan 8, 2025

Keeping this as a draft for now. This is how we will be transforming CIViC evidence and assertion records to GKS compatible objects in MetaKB.

@korikuzma korikuzma self-assigned this Jan 8, 2025
relation: exactMatch
primaryCode: IA
hasEvidenceLines:
- directionOfEvidenceProvided: supports
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ahwagner This is a required property. I think for CIViC, it would always be supports?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, for AMP/ASCO/CAP

systemVersion: "2017"
relation: exactMatch
primaryCode: IA
hasEvidenceLines:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ahwagner I only included hasEvidenceItems and directionOfEvidenceProvided for CIViC. Wasn't sure if you wanted to include any of the following fields that an Evidence Line has: targetProposition, strengthOfEvidenceProvided, scoreOfEvidenceProvided, or evidenceOutcome.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm also realizing that I only created a single evidence line for ALL evidence items. But maybe I was supposed to do 1:1 for evidence line to evidence item?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm also realizing that I only created a single evidence line for ALL evidence items. But maybe I was supposed to do 1:1 for evidence line to evidence item?

Ended up doing 1:1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ahwagner This is a nested example. I'm not sure how you would want to do an inline example using iriReferences

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also we're missing Date last evaluated for ClinVar submission

Required, if available: date the classification of the variant was last evaluated by the submitter (not the date the patient was evaluated in the clinic). If not available, leave blank. If only month/year is provided we will convert it to the first day of the month. If only year is provided it will be converted to the first day of the first month of the year. Please use the format yyyy-mm-dd.

It's optional, but not sure if civicpy captures this information

Copy link
Contributor Author

Choose a reason for hiding this comment

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

AW: We should add this support in civicpy

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For now, we can just have civicpy query civic graphql api for now rather than adding this in the cache.pkl

@@ -557,7 +557,6 @@ $defs:
ordered: false
items:
anyOf:
- $ref: "#/$defs/StudyResult"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ga4gh/va-admin I removed this. I was getting jsonschema.exceptions._WrappedReferencingError: Unresolvable: /ga4gh/schema/va-spec/1.0.0-ballot.2024-11.2/base/json/StudyResult since this seems to be an abstract class.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Example of how we will represent molecular profiles that cannot be normalized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant