Skip to content

Commit

Permalink
Incorporating changes from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Dec 13, 2022
1 parent e9bf5c3 commit 1912333
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion snappy_pipeline/workflows/ngs_mapping/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ rule ngs_mapping_minimap2_run:
output:
**wf.get_output_files("minimap2", "run"),
threads: wf.get_resource("minimap2", "run", "threads")
params:
resources:
time=wf.get_resource("minimap2", "run", "time"),
memory=wf.get_resource("minimap2", "run", "memory"),
partition=wf.get_resource("minimap2", "run", "partition"),
Expand Down
2 changes: 1 addition & 1 deletion snappy_pipeline/workflows/ngs_mapping/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ def get_resource_usage(self, action):
mem_gb = int(3.5 * self.config["minialign"]["mapping_threads"])
return ResourceUsage(
threads=self.config["minialign"]["mapping_threads"],
time="0-12:00:00", # 2 days
time="2-00:00:00", # 2 days
memory=f"{mem_gb}G",
)

Expand Down
5 changes: 3 additions & 2 deletions snappy_pipeline/workflows/wgs_sv_calling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
- ``"dna_long"`` (PacBio)
- ``"pb_honey_spots"``
- ``"sniffles"``, ``"sniffles2"``
- ``"sniffles"``
- ``"sniffles2"``
=======
Reports
Expand Down Expand Up @@ -172,7 +173,7 @@
num_threads: 16
sniffles2:
num_threads: 16
tandem_repeats: /fast/groups/cubi/work/projects/biotools/sniffles2/trf/GRCh37/human_hs37d5.trf.bed
tandem_repeats: /fast/groups/cubi/work/projects/biotools/sniffles2/trf/GRCh37/human_hs37d5.trf.bed # REQUIRED
"""


Expand Down
4 changes: 0 additions & 4 deletions snappy_wrappers/wrappers/minimap2/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
seq_platform = snakemake.params.args["extra_infos"]["seqPlatform"]
library_kit = snakemake.params.args["extra_infos"]["libraryKit"]

import pdb

pdb.set_trace()

shell(
r"""
set -x
Expand Down

0 comments on commit 1912333

Please sign in to comment.