Skip to content

Commit

Permalink
fix: removed ifelse from targets; def targs comes from config
Browse files Browse the repository at this point in the history
  • Loading branch information
samarth8392 committed Aug 16, 2024
1 parent 0e06b20 commit 2c354df
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/xavier/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,7 @@ def launch_gui(DEBUG=True):
genome=genome,
targets=values["-TARGETS-"]
if values["-TARGETS-"]
else (
xavier_base("resources", "Agilent_SSv7_allExons_hg38.bed")
if genome == "hg38"
else(xavier_base("resources", "SureSelect_mm10_sorted.bed"))
), # TODO should this be part of the genome config file?
else (""), # TODO should this be part of the genome config file?
mode="slurm",
job_name="pl:xavier",
callers=["mutect2", "mutect", "strelka", "vardict", "varscan"],
Expand Down

0 comments on commit 2c354df

Please sign in to comment.