Skip to content
Snippets Groups Projects
Commit f234653c authored by peguerin's avatar peguerin
Browse files

stacks 2.2 step4 update

parent 5bbb4c97
Branches
No related tags found
No related merge requests found
...@@ -51,12 +51,13 @@ rule run_populations: ...@@ -51,12 +51,13 @@ rule run_populations:
params: params:
r=config["populations"]["r"], r=config["populations"]["r"],
p=config["populations"]["p"], p=config["populations"]["p"],
f=config["populations"]["f"], fst_correction=config["populations"]["fst_correction"],
a=config["populations"]["a"], min_maf=config["populations"]["min_maf"],
p_value_cutoff=config["populations"]["p_value_cutoff"], p_value_cutoff=config["populations"]["p_value_cutoff"],
lnl_lim=config["populations"]["lnl_lim"] lnl_lim=config["populations"]["lnl_lim"],
renz=config["populations"]["renz"]
log: log:
'10-logs/populations/{species}.log' '10-logs/populations/{species}.log'
shell: shell:
'''mkdir -p {output}; '''mkdir -p {output};
populations -t {threads} -P {input.gdir} -M {input.popm} -r {params.r} -p {params.p} -f {params.f} -a {params.a} --p_value_cutoff {params.p_value_cutoff} --lnl_lim {params.lnl_lim} --write_single_snp --vcf --vcf_haplotypes --structure -O {output} > {log}''' populations -t {threads} -P {input.gdir} -M {input.popm} -r {params.r} --fst_correction {params.fst_correction} --min_maf {params.min_maf} --p_value_cutoff {params.p_value_cutoff} --lnl_lim {params.lnl_lim} --write_single_snp --vcf --vcf_haplotypes --merge_sites --renz {params.renz} --structure -O {output} > {log}'''
...@@ -21,9 +21,11 @@ gstacks: ...@@ -21,9 +21,11 @@ gstacks:
populations: populations:
cores : 32 cores : 32
r : 0.85 r : 0.85
p : 1 p : 4
f : p_value fst_correction : p_value
a : 0.05 min_maf : 0.05
p_value_cutoff : 0.10 p_value_cutoff : 0.10
lnl_lim : -10 lnl_lim : -10
renz : SbfI
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment