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

update import for is_loaded #7416

Merged
merged 2 commits into from
Aug 17, 2021
Merged

update import for is_loaded #7416

merged 2 commits into from
Aug 17, 2021

Conversation

ahaessly
Copy link
Contributor

@ahaessly ahaessly commented Aug 16, 2021

add "id_loaded" column to schema
add "partition_id != 'UNPARTITIONED'" to query so we don't get int conversion error

Copy link

@rsasch rsasch left a comment

Choose a reason for hiding this comment

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

With the "is_loaded" column added to the schema, I ran into errors trying to ingest data, I think because the number of columns doesn't match up. Currently, that column is created here: https://github.com/broadinstitute/gatk/blob/ah_var_store/scripts/variantstore/wdl/GvsImportGenomes.wdl#L885 so it doesn't need to be in the original schema.

@ahaessly
Copy link
Contributor Author

I moved creating the sample_info table to the GvsAssignIds.wdl so the GvsImportGenomes is no longer updating the sample_info table. I removed the add column because this fails on repeated runs of the GvsImportGenomes wdl (it only needs to be added once, so it makes sense to actually do that on table creation)

Copy link

@rsasch rsasch left a comment

Choose a reason for hiding this comment

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

Ah, ok — sorry I missed that 👍🏻

@ahaessly ahaessly merged commit 9b2909f into ah_var_store Aug 17, 2021
@ahaessly ahaessly deleted the ah_fix_assignids branch August 17, 2021 21:54
This was referenced Mar 17, 2023
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