Skip to content

Commit

Permalink
add params for cpu and ram
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi18av authored Jul 19, 2020
1 parent 0ed2e21 commit c8355a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ params

params.trimmed= true
params.saveBy= 'copy'
params.ram= 4
params.cpus= 4

params.refGbk = "NC000962_3.gbk"

Expand Down Expand Up @@ -45,6 +47,6 @@ process snippy {
genomeName= genomeFileName.toString().split("\\_")[0]

"""
snippy --cpus 4 --outdir $genomeName --ref $refGbk --R1 ${genomeReads[0]} --R2 ${genomeReads[1]}
snippy --cpus ${params.cpus} --ram ${params.ram} --outdir $genomeName --ref $refGbk --R1 ${genomeReads[0]} --R2 ${genomeReads[1]}
"""
}

0 comments on commit c8355a7

Please sign in to comment.