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

bcftools to the rescue #7456

Merged
merged 43 commits into from
Sep 27, 2021
Merged

bcftools to the rescue #7456

merged 43 commits into from
Sep 27, 2021

Conversation

RoriCremer
Copy link
Contributor

@RoriCremer RoriCremer commented Sep 4, 2021

Keeping the dockstore as is for now because I may want to run this on a few shards from the 30k while it's still in review

This pr adds a fair amount of work to the bcftools task (ExtractAnAcAfFromVCF) and adds a significant number of columns to the schema: the sample count for all of the samples, as well as for each subpopulation.

Note that AC_hemi will be added in a follow on pr
Note that additional validation tests will be added in a follow on pr

@RoriCremer RoriCremer changed the base branch from master to ah_var_store September 4, 2021 03:43
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from a1f7a59 to 0588913 Compare September 11, 2021 15:53
@RoriCremer RoriCremer marked this pull request as ready for review September 11, 2021 15:53
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from 0588913 to 991ffd3 Compare September 11, 2021 15:55
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from 7a64735 to ef42f88 Compare September 14, 2021 19:30
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from 56f41e4 to bda3960 Compare September 17, 2021 17:16
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from 7db583f to c63904b Compare September 20, 2021 19:16
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from c63904b to a6f668e Compare September 20, 2021 19:18
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from e334c96 to 9dd5fd4 Compare September 20, 2021 20:45
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from 37fcca1 to 753dc8e Compare September 21, 2021 00:36
@RoriCremer RoriCremer force-pushed the rc-VS-bcttools-to-the-rescue branch from 753dc8e to d2b03d9 Compare September 21, 2021 00:50
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.

a couple small changes, otherwise 👍🏻

WHERE
gvs_all_ac != gvs_afr_an + gvs_amr_an + gvs_eas_an + gvs_eur_an + gvs_mid_an + gvs_oth_an + gvs_sas_an'

# if the result of the query has any rows, that means gvs_all_an has not been calulated correctly/
Copy link

Choose a reason for hiding this comment

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

nit

Suggested change
# if the result of the query has any rows, that means gvs_all_an has not been calulated correctly/
# if the result of the query has any rows, that means gvs_all_an has not been calculated correctly

# ------------------------------------------------
# Output: {"Name of validation rule": "PASS/FAIL plus additional validation results"}
output {
Map[String, String] result = {"SubpopulationAlleleCount": read_string('validation_results.txt')}
Copy link

Choose a reason for hiding this comment

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

Suggested change
Map[String, String] result = {"SubpopulationAlleleCount": read_string('validation_results.txt')}
Map[String, String] result = {"SubpopulationAlleleNumber": read_string('validation_results.txt')}

@RoriCremer RoriCremer merged commit 6893a9b into ah_var_store Sep 27, 2021
@RoriCremer RoriCremer deleted the rc-VS-bcttools-to-the-rescue branch September 27, 2021 19:15
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