Partial fix for hard-coded GCST #101 #109
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are currently multiple points in the pipeline where errors are raised due to the expectation that the study name starts with "GCST". This fixes one of them so that the study name in the metadata yaml file doesn't need to be GCST*.
The harmonization pipeline still exits with an error at the end when it is collecting metrics. I believe this is because GCST is also hard-coded in gwas_sumstats_tools.schema.metadata.SumStatsMetadata from gwas-sumstats-tools (https://pypi.org/project/gwas-sumstats-tools/).
Nextflow log:
.command.log from failed job: