Skip to content

Commit

Permalink
Try unzipping inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed Oct 16, 2023
1 parent 7091279 commit 2c58d9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sbx_virus_id.smk
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ rule virus_id_spades_paired:
shell:
"""
mkdir -p {params.out_fp}
spades.py -1 {input.r1} -2 {input.r2} -t {threads} -o {params.out_fp} --continue 2>&1 | tee {log}
gzip -d < {input.r1} > {params.out_fp}/{wildcards.sample}_1.fastq
gzip -d < {input.r2} > {params.out_fp}/{wildcards.sample}_2.fastq
spades.py -1 {params.out_fp}/{wildcards.sample}_1.fastq -2 {params.out_fp}/{wildcards.sample}_1.fastq -t {threads} -o {params.out_fp} --continue 2>&1 | tee {log}
"""


Expand Down

0 comments on commit 2c58d9f

Please sign in to comment.