Skip to content

Commit

Permalink
adj threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell R. Vollger committed Dec 3, 2024
1 parent 6087cba commit 74c3b4f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions workflow/rules/apply-model.smk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rule fire:
bam=ancient(get_input_bam),
output:
bam=temp("temp/{sm}/fire/{chrom}.fire.bam"),
threads: 6
threads: 4
resources:
mem_mb=8 * 1024,
params:
Expand Down Expand Up @@ -92,7 +92,7 @@ rule fire_sites:
),
output:
bed="results/{sm}/additional-outputs-{v}/fire-peaks/{sm}-{v}-fire-elements.bed.gz",
threads: 8
threads: 1
conda:
DEFAULT_ENV
shell:
Expand Down
6 changes: 3 additions & 3 deletions workflow/rules/fire-peaks.smk
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ rule pileup:
fofn=temp("temp/{sm}/fire/fire-{v}-pileup.fofn"),
bed="results/{sm}/{sm}-fire-{v}-pileup.bed.gz",
tbi="results/{sm}/{sm}-fire-{v}-pileup.bed.gz.tbi",
threads: 8
threads: 4
conda:
DEFAULT_ENV
shell:
Expand Down Expand Up @@ -252,7 +252,7 @@ rule fire_peaks:
fofn=temp("temp/{sm}/fire-peaks/{sm}-fire-{v}-peaks.fofn"),
bed="results/{sm}/{sm}-fire-{v}-peaks.bed.gz",
tbi="results/{sm}/{sm}-fire-{v}-peaks.bed.gz.tbi",
threads: 8
threads: 4
conda:
DEFAULT_ENV
shell:
Expand Down Expand Up @@ -356,7 +356,7 @@ rule peaks_vs_percent:
"results/{sm}/additional-outputs-{v}/figures/{sm}-fire-{v}-peaks-vs-percent.pdf",
category="Peak calls",
),
threads: 8
threads: 4
conda:
"../envs/R.yaml"
script:
Expand Down
6 changes: 3 additions & 3 deletions workflow/rules/stats.smk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rule clustering_vs_null:
tmp=temp("temp/{sm}/tmp.pre.calls.bed"),
null=temp("temp/{sm}/null.calls.bed"),
bed="results/{sm}/clustering-vs-null.bed.gz",
threads: 8
threads: 4
conda:
DEFAULT_ENV
shell:
Expand All @@ -33,7 +33,7 @@ rule fires_in_peaks:
output:
tmp=temp("temp/{sm}/tmp.FIREs-{v}-in-peaks.bed"),
txt="results/{sm}/additional-outputs-{v}/fire-peaks/{sm}-{v}-fires-in-peaks.txt",
threads: 8
threads: 4
conda:
DEFAULT_ENV
params:
Expand Down Expand Up @@ -78,7 +78,7 @@ rule hap_differences:
),
bed="results/{sm}/{sm}-fire-{v}-hap-differences.bed.gz",
bed9=temp("temp/{sm}/hap1-vs-hap2/FIRE-{v}.hap.differences.bed9"),
threads: 8
threads: 4
conda:
"../envs/R.yaml"
script:
Expand Down

0 comments on commit 74c3b4f

Please sign in to comment.