Skip to content

Commit

Permalink
Snippy parameters added: mincov, minfrac, minqual
Browse files Browse the repository at this point in the history
  • Loading branch information
davidealbanese committed Jun 30, 2022
1 parent 7cba2a5 commit 2d6eb91
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 21 deletions.
2 changes: 0 additions & 2 deletions modules/bbtools.nf
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
nextflow.enable.dsl=2


// Params:
// - none
process deinterleave {
tag "${id}"

Expand Down
10 changes: 1 addition & 9 deletions modules/gubbins.nf
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
nextflow.enable.dsl=2


// Params:
// - outdir
// - gubbins_tree_builder
// - gubbins_iterations
process gubbins {
publishDir "${params.outdir}/gubbins/" , mode: 'copy'

Expand All @@ -26,11 +22,7 @@ process gubbins {
"""
}

// Params:
// - outdir
// - raxml_mode
// - raxml_nsearch
// - raxml_nboot

process raxml {
publishDir "${params.outdir}/raxml" , mode: 'copy'
publishDir "${params.outdir}" , mode: 'copy' ,
Expand Down
10 changes: 3 additions & 7 deletions modules/snippy.nf
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
nextflow.enable.dsl=2


// Params:
// - outdir
// - single_end
// - targets
// - report
process snippy {
tag "${id}"

Expand All @@ -32,15 +27,16 @@ process snippy {
$param_input \
$param_targets \
$param_report \
--mincov ${params.mincov} \
--minfrac ${params.minfrac} \
--minqual ${params.minqual} \
--force \
--tmpdir tmp
rm -rf tmp
"""
}


// Params:
// - outdir
process snippy_core {
publishDir "${params.outdir}/snippy_core" , mode: 'copy'
publishDir "${params.outdir}" , mode: 'copy' ,
Expand Down
2 changes: 0 additions & 2 deletions modules/snp_sites.nf
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
nextflow.enable.dsl=2


// Params:
// - outdir
process snp_sites {
publishDir "${params.outdir}/gubbins/" , mode: 'copy'

Expand Down
5 changes: 4 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ params {

/* snippy options */
report = false // generate a snps.report.txt
mincov = 10 // minimum site depth to for calling alleles
minfrac = 0 // minumum proportion for variant evidence (0=AUTO)
minqual = 100 // minumum QUALITY in VCF column 6

/* gubbins options */
skip_gubbins = false // skip gubbins
Expand Down Expand Up @@ -46,7 +49,7 @@ manifest {
homePage = 'metashot.github.io'
description = 'SNVs identification and phylogenetic tree inference from prokaryotic isolates'
mainScript = 'main.nf'
version = '1.0.0'
version = '1.1.0'
}


Expand Down

0 comments on commit 2d6eb91

Please sign in to comment.