Skip to content

Commit

Permalink
AHHH
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed Nov 16, 2023
1 parent 93f40d5 commit 5983c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbx_virus_id.smk
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ rule build_virus_index:
input:
virus_sorter_output(),
output:
virus_sorter_output() + ".1.bt2", # Don't use f-string, broken with python 3.12
str(virus_sorter_output()) + ".1.bt2", # Don't use f-string, broken with python 3.12
conda:
"envs/sbx_virus_id.yml"
threads: Cfg["sbx_virus_id"]["bowtie2_build_threads"]
Expand All @@ -276,7 +276,7 @@ rule align_virus_reads:
input:
r1=QC_FP / host_decontam_Q() / "{sample}_1.fastq.gz",
r2=QC_FP / host_decontam_Q() / "{sample}_2.fastq.gz",
index=virus_sorter_output() + ".1.bt2", # Don't use f-string, broken with python 3.12
index=str(virus_sorter_output()) + ".1.bt2", # Don't use f-string, broken with python 3.12
output:
temp(VIRUS_FP / "alignments" / "{sample}.sam"),
params:
Expand Down

0 comments on commit 5983c37

Please sign in to comment.