Skip to content
Snippets Groups Projects
Commit b78264f2 authored by christine.tranchant_ird.fr's avatar christine.tranchant_ird.fr
Browse files

modify cpu number by default

parent 267daf0a
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ rule bwa_mem:
rg = f"@RG\\tID:{{sample_name}}\\tSM:{{sample_name}}\\tPL:Illumina",
other_options_bwaMem = frangipane_obj.get_config_value("PARAMS","bwa_mem"),
other_options_samtoolsSort = frangipane_obj.get_config_value("PARAMS","samtools_sort")
threads: get_threads('bwa_mem', 1)
threads: get_threads('bwa_mem', 2)
message:
f"""--------------------
-Running {{rule}}
......
......@@ -10,7 +10,7 @@ rule samtools_view:
output = f"{frangipane_obj.path_logs}/samtools_view/{{sample_name}}-{{ref_name}}.o"
params:
other_options = frangipane_obj.get_config_value("PARAMS","samtools_view"),
threads: get_threads('samtools_view', 1)
threads: get_threads('samtools_view', 2)
message:
f"""--------------------
-Running {{rule}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment