Skip to content
Snippets Groups Projects
Commit 51625908 authored by Valentina Galata's avatar Valentina Galata
Browse files

init: allow null value for host_refs for bbmap in config

parent d73960ca
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ if config["data"]["metat"]["sr"]["r1"] and config["data"]["metat"]["sr"]["r2"]:
NO_BASECALLING = config["data"]["metag"]["ont"]["fastq"] and os.path.exists(config["data"]["metag"]["ont"]["fastq"])
# Whether host contamination has to be removed - only if host references are given
NO_HOST_FILTERING = len(config["bbmap"]["host_refs"].keys()) == 0
NO_HOST_FILTERING = config["bbmap"]["host_refs"] is None or len(config["bbmap"]["host_refs"].keys()) == 0
# Assemblers and read types
META_TYPES = ["metag"]
......
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