Skip to content

Commit

Permalink
virsorter db
Browse files Browse the repository at this point in the history
  • Loading branch information
KateSakharova committed Oct 7, 2024
1 parent 4a1eb72 commit e2cd508
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/local/virsorter2/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ process VIRSORTER2 {

input:
tuple val(meta), file(fasta), val(contig_number)
path(database)

when:
contig_number.toInteger() > 0
Expand All @@ -14,6 +15,7 @@ process VIRSORTER2 {

script:
"""
virsorter run -w virsorter2 -i ${fasta} -j ${task.cpus} all
virsorter config --init-source --db-dir=${database}
virsorter run -w virsorter2 -i ${fasta} -j ${task.cpus} all
"""
}

0 comments on commit e2cd508

Please sign in to comment.