Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
import numpy as np
Ns = [100]
selcoefs = 10**np.linspace(-3, -1, 3)
rbps = 10**np.linspace(-8, -7, 2)
nreps = np.arange(40)
sim_results_pattern = "sim_{N}N_{selcoef}s_{rbp}rbp_{rep}rep.tsv"
sim_results = expand(sim_results_pattern,
N=Ns, selcoef=selcoefs,
rbp=rbps, rep=nreps)
rule all:
input:
sim_results
rule sims:
input:
output:
sim_results_pattern
shell:
("slim -d s={wildcards.selcoef} -d rbp={wildcards.rbp} " +
"-d N={wildcards.N} -d rep={wildcards.rep} sim.slim")