Skip to content

Commit

Permalink
update virsorter2 module
Browse files Browse the repository at this point in the history
  • Loading branch information
papanikos committed Mar 30, 2021
1 parent 04426ed commit 6dea944
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/tools/virsorter2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@ process virsorter2 {
errorStrategy 'ignore'
input:
tuple val(name), path(fasta)
path(database)
output:
tuple val(name), path("virsorter2_*.out/final-viral-score.tsv")
tuple val(name), path("virsorter2_*.out")
script:
"""
virsorter run -w virsorter2_\${PWD##*/}.out -i ${fasta} -j ${task.cpus}
virsorter run -d ${database} \
-w virsorter2_\${PWD##*/}.out \
-i ${fasta} \
-j ${task.cpus}
"""
}


// tar cf virsorter2_results_\${PWD##*/}.out.tar virsorter2_\${PWD##*/}.out

//
//

0 comments on commit 6dea944

Please sign in to comment.