Skip to content

Commit

Permalink
set thread counts of java apps to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
borauyar committed May 18, 2018
1 parent 927c5f3 commit 6864545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pigx_crispr.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_output_file_list(DIR, ext):
input: reads_input
output: os.path.join(TRIMMED_READS_DIR, "{amplicon}", "{sample}.fastq.gz")
log: os.path.join(LOG_DIR, "{amplicon}", "trimmomatic.{sample}.log")
shell: "trimmomatic SE -threads {nodeN} {input} {output} \
shell: "trimmomatic SE -threads 2 {input} {output} \
ILLUMINACLIP:{ADAPTERS}:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36 > {log} 2>&1"

rule bbmap_indexgenome:
Expand All @@ -127,7 +127,7 @@ def get_output_file_list(DIR, ext):
os.path.join(MAPPED_READS_DIR, "{amplicon}", "{sample}.sam")
log: os.path.join(LOG_DIR, "{amplicon}", "bbmap_{sample}.log")
shell:
"bbmap.sh path={input.ref} in={input.reads} outm={output} t={nodeN} sam=1.3 > {log} 2>&1"
"bbmap.sh path={input.ref} in={input.reads} outm={output} t=2 sam=1.3 > {log} 2>&1"

rule samtools_sam2bam:
input: os.path.join(MAPPED_READS_DIR, "{amplicon}", "{sample}.sam")
Expand Down

0 comments on commit 6864545

Please sign in to comment.