populationgenomics / saige-tenk10k

Hail batch pipeline to run SAIGE on CPG's GCP
MIT License
0 stars 0 forks source link

starting conditional analysis as a new file #166

Open annacuomo opened 6 days ago

annacuomo commented 6 days ago

Super work in progress attempt at implementing a conditional analysis part of the pipeline.

Ideally, I'd like this script to:

@Alexander-Stuckey @MattWellie (@katiedelange, @hopedisastro) can I pick your brains on how to best do this? See my starting point in this PR. I opted for doing this as a separate script because it was getting quite messy? This pipeline seems to similarly run the conditional analysis after the main one (https://github.com/populationgenomics/tob-wgs/blob/main/scripts/eqtl_hail_batch/launch_eqtl_spearman.py#L829)

Also I am trying to have the option to run both a common variant (single-variant test) and a rare variant (set-based test) version in one, but open to making this two / split the code more