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

Accession support #72

Merged
merged 17 commits into from
Oct 24, 2024
Merged

Accession support #72

merged 17 commits into from
Oct 24, 2024

Conversation

Chris7
Copy link
Collaborator

@Chris7 Chris7 commented Oct 16, 2024

This creates a new model type, accession, that lets users assign a name to a subsequence of a path. There's support in here for a convention to use in vcf files for specifying that a change should be given a particular accession.

@@ -1,9 +1,9 @@
H VN:Z:1.2
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i changed this file to be the same sequence as simple.fa so we can use the same vcfs for both.

Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 Cool

@Chris7 Chris7 changed the title Accession based on vcf id field Accession support Oct 22, 2024
@Chris7 Chris7 requested a review from dkhofer October 23, 2024 16:50
name TEXT NOT NULL,
-- path accessions can reference other path accessions
path_id INTEGER NOT NULL,
accession_id INTEGER,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there some way to name this to make it clearer why we're referencing another accession? parent_accession_id? previous_accession_id?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure, it's meant to be parent_accession_id -- idea is this accssion is nested in another.

src/models.rs Outdated Show resolved Hide resolved
src/models/accessions.rs Outdated Show resolved Hide resolved
src/updates/vcf.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@dkhofer dkhofer left a comment

Choose a reason for hiding this comment

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

LGTM! Comments are non-blocking

@Chris7 Chris7 merged commit f64fcb3 into main Oct 24, 2024
1 check passed
@Chris7 Chris7 deleted the accessions-vcf branch October 24, 2024 23:03
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.

2 participants