Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: integration of gcnv and melt into sv_calling_wgs #350

Merged
merged 4 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion snappy_pipeline/workflows/common/gcnv/gcnv_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def get_result_files(self):

The function will skip pedigrees where samples have inconsistent library kits and print a warning.
"""
if "gcnv" not in self.config["tools"]:
if "gcnv" not in self.config["tools"] and "gcnv" not in self.config["tools"].get("dna", {}):
return

# Get list with all result path template strings.
Expand Down
4 changes: 3 additions & 1 deletion snappy_pipeline/workflows/common/sv_calling.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ def get_result_files(self):
The implementation will return a list of all paths with prefix ``output/` that are
returned by ``self.get_output_files()`` for all actions in ``self.actions``.
"""
if self.name not in self.config["tools"]:
if self.name not in self.config["tools"] and not (
hasattr(self.config, "tools") and self.name in self.config["tools"].get("dna", {})
):
return # tool not enabled, no result files

ngs_mapping_config = DictQuery(self.w_config).get("step_config/ngs_mapping")
Expand Down
Loading