Create a pipeline to export finemapping results with automated QC(WIP) #1187
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.
I added the
auto_decisionstep to the export pipeline.I reordered parts of the code and added the conditional_effect column after the process_top_loci step. This change addresses the issue introduced by automated QC, where some blocks have top_loci but no credible sets (CS) across all methods or coverage levels.
I modified some documentations in mnm_postprocessing.ipynb.(container, pipeline name, etc.)
I added a column to indicate the finemap_model used in the final exported top loci table.
Fixed a typo when I exporting Aging finemapping results.
To do:
To output diagnostic table for ColocBoost iteration.
To integrate this updated pipeline into mnm_postprocessing.ipynb
I might fix auto_decision() function in pecotmr for susie_rss, since there's NA in z and p_value for the variants in diagnostics for PD, which is multi_ancestry. There might be missing variants in LD panel. Not sure if this is the reason. Will look into it further...