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

updated params for selection, fixed bugs, now computing stats with diploshic #108

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ dependencies:
- r-irkernel
- r-ggplot2
- r-dplyr
- r-patchwork
- r-scales
- r-ggnewscale
- libprotobuf=3.21.12
- pip:
- git+https://github.com/popsim-consortium/stdpopsim.git
Expand Down
369 changes: 233 additions & 136 deletions power_analysis.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cluster:
mkdir -p logs/{rule} &&
sbatch
--partition=kern,kerngpu
--partition=kern,kerngpu,memory,memorylong,compute,computelong,preempt
--account=kernlab
--cpus-per-task={threads}
--mem={resources.mem_mb}
Expand Down
4 changes: 2 additions & 2 deletions workflows/config/snakemake/sweep_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ demo_model:

# BGS configs
dfe_list:
- Gamma_H17
- Gamma_K17
annotation_list:
- ensembl_havana_104_exons

Expand All @@ -33,7 +33,7 @@ num_subwins: 10 # number of subwindows within focal to compute statistic
coeffs:
bounds: [0.03, 0.1]
grid_size: 1 # This will yield just one s=0.03 or 2Ns~600
sweep_min_freq: 0.8
sweep_min_freq: 0.95
time_multipliers: [1]

# slim settings
Expand Down
Loading
Loading