Skip to content

Commit

Permalink
fix: copy mimseq outfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Nov 20, 2023
1 parent c9358df commit 5680127
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workflow/rules/mimseq.smk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ rule mimseq:
mimseq_flags = config['mimseq_flags'],
contrast = "{contrast}",
sampleinfo = join(RESULTSDIR,"{contrast}","sampleinfo.txt"),
outdir = join(RESULTSDIR,"{contrast}","mimseq")
outdir = join(RESULTSDIR,"{contrast}","mimseq"),
ccacounts = join(RESULTSDIR,"{contrast}","mimseq","CCAanalysis","CCAcounts.csv")
shell:"""
set -e -x -o pipefail
# set tmpdir
Expand Down Expand Up @@ -52,6 +53,7 @@ mimseq \\
{params.mimseq_flags} \\
{params.sampleinfo}
cp {params.ccacounts} {output.ccacounts}
# cleanup tmpdir
if [ "$cleanup" == "1" ];then
rm -rf $tmpdir
Expand Down

0 comments on commit 5680127

Please sign in to comment.