Skip to content

Commit

Permalink
sets trim threads to 1/4 of threads
Browse files Browse the repository at this point in the history
  • Loading branch information
brwnj committed Mar 2, 2018
1 parent eb2d197 commit 9b3c1a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hundo/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ rule trim_and_filter_reads:
log:
"logs/{sample}_quality_filter.log"
threads:
config.get("threads", 1)
max(int(config.get("threads", 4) * 0.25), 1)
shell:
"""bbduk2.sh in={input.r1} in2={input.r2} out={output.r1} \
out2={output.r2} {params.rref} {params.lref} {params.fref} \
Expand Down Expand Up @@ -602,6 +602,7 @@ rule create_biom_from_txt:


rule multiple_align:
# TODO: consider testing https://doi.org/10.1093/bioinformatics/bty121
input:
"OTU.fasta"
output:
Expand Down
2 changes: 1 addition & 1 deletion hundo/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.5"
__version__ = "1.1.6"

0 comments on commit 9b3c1a8

Please sign in to comment.