Skip to content

Commit

Permalink
fix: fixed issue when several output files are specified with gatk sp…
Browse files Browse the repository at this point in the history
…litncigarreads wrapper (#471)

* Fixed issue when several output files are specified

* Small cosmetic fix
  • Loading branch information
fgvieira committed Apr 25, 2022
1 parent c3c8b72 commit 353bf0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bio/gatk/splitncigarreads/wrapper.py
Expand Up @@ -20,6 +20,6 @@
" --input {snakemake.input.bam}"
" {extra}"
" --tmp-dir {tmpdir}"
" --output {snakemake.output}"
" --output {snakemake.output[0]}"
" {log}"
)
2 changes: 1 addition & 1 deletion bio/samtools/fastq/separate/wrapper.py
Expand Up @@ -25,7 +25,7 @@
mem = "-m {0:.0f}M".format(mem / threads) if mem and threads else ""

with tempfile.TemporaryDirectory() as tmpdir:
tmp_prefix = Path(tmpdir) / "samtools_fastq.sort_"
tmp_prefix = Path(tmpdir) / "samtools_fastq.sort"

shell(
"(samtools sort -n"
Expand Down

0 comments on commit 353bf0a

Please sign in to comment.