Skip to content

Commit

Permalink
Snakefmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zjnolen committed Mar 15, 2024
1 parent 802bdea commit 5f181c8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
4 changes: 3 additions & 1 deletion workflow/rules/0.2_ref_filt.smk
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ rule genmap_filt_bed:
gensum="results/ref/{ref}/beds/genome.bed.sum",
output:
bed="results/datasets/{dataset}/filters/pileupmap/{ref}_k{k}_e{e}_{thresh}.bed",
tmp=temp("results/datasets/{dataset}/filters/pileupmap/{ref}_k{k}_e{e}_{thresh}.bed.tmp"),
tmp=temp(
"results/datasets/{dataset}/filters/pileupmap/{ref}_k{k}_e{e}_{thresh}.bed.tmp"
),
sum="results/datasets/{dataset}/filters/pileupmap/{ref}_k{k}_e{e}_{thresh}.bed.sum",
log:
"logs/{dataset}/filters/pileupmap/{ref}_k{k}_e{e}_{thresh}.log",
Expand Down
8 changes: 6 additions & 2 deletions workflow/rules/7.1_thetas.smk
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ rule realSFS_saf2theta:
),
sfs="results/datasets/{dataset}/analyses/sfs/{dataset}.{ref}_{population}{dp}_{sites}-filts.sfs",
output:
thetasidx=temp("results/datasets/{dataset}/analyses/thetas/{dataset}.{ref}_{population}{dp}_{sites}-filts.thetas.idx"),
thetas=temp("results/datasets/{dataset}/analyses/thetas/{dataset}.{ref}_{population}{dp}_{sites}-filts.thetas.gz"),
thetasidx=temp(
"results/datasets/{dataset}/analyses/thetas/{dataset}.{ref}_{population}{dp}_{sites}-filts.thetas.idx"
),
thetas=temp(
"results/datasets/{dataset}/analyses/thetas/{dataset}.{ref}_{population}{dp}_{sites}-filts.thetas.gz"
),
container:
angsd_container
log:
Expand Down
8 changes: 6 additions & 2 deletions workflow/rules/7.2_fst.smk
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ rule realSFS_fst_index:
),
sfs="results/datasets/{dataset}/analyses/sfs/{dataset}.{ref}_{population1}-{population2}{dp}_{sites}-filts.sfs",
output:
fstidx=temp("results/datasets/{dataset}/analyses/fst/{dataset}.{ref}_{population1}-{population2}{dp}_{sites}-filts.fst.idx"),
fstgz=temp("results/datasets/{dataset}/analyses/fst/{dataset}.{ref}_{population1}-{population2}{dp}_{sites}-filts.fst.gz"),
fstidx=temp(
"results/datasets/{dataset}/analyses/fst/{dataset}.{ref}_{population1}-{population2}{dp}_{sites}-filts.fst.idx"
),
fstgz=temp(
"results/datasets/{dataset}/analyses/fst/{dataset}.{ref}_{population1}-{population2}{dp}_{sites}-filts.fst.gz"
),
container:
angsd_container
log:
Expand Down

0 comments on commit 5f181c8

Please sign in to comment.