Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/aineniamh/piranha into main
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Nov 6, 2023
2 parents 0de6cf5 + 849b6ef commit 9f9e7f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
6 changes: 2 additions & 4 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ process run_piranha {
extra += " --primer-length ${params.primer_length}"
if ( params.run_phylo )
extra += " --run-phylo"
if ( params.supplementary_sequences )
extra += " --supplementary-sequences ${params.supplementary_sequences}"
if ( params.supplementary_metadata )
extra += " --supplementary-metadata ${params.supplementary_metadata}"
if ( params.supplementary_datadir )
extra += " --supplementary-datadir ${params.supplementary_datadir}"
"""
piranha -b ${barcodes_csv} -i ${run_dir} -o piranha_output --tempdir piranha_tmp -t ${task.cpus} ${extra}
mv piranha_output/report.html piranha_output/piranha_report.html
Expand Down
7 changes: 3 additions & 4 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ params {

// Phylo options
run_phylo = false
supplementary_sequences = null
supplementary_metadata = null
supplementary_datadir = null

// Other options
disable_ping = false
Expand Down Expand Up @@ -64,7 +63,7 @@ manifest {
description = 'Polio investigation resource automating nanopore haplotype analysis.'
mainScript = 'main.nf'
nextflowVersion = '>=23.04.2'
version = '1.1.2'
version = '1.2'
}


Expand Down Expand Up @@ -129,4 +128,4 @@ trace {

env {
PYTHONNOUSERSITE = 1
}
}
12 changes: 3 additions & 9 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,11 @@
"type": "boolean",
"title": "Run phylogenetics pipeline"
},
"supplementary_sequences": {
"supplementary_datadir": {
"type": "string",
"format": "path",
"title": "Supplementary sequences",
"description": "Supplementary sequence FASTA file to be incorporated into phylogenetic analysis"
},
"supplementary_metadata": {
"type": "string",
"format": "path",
"title": "Supplementary metadata",
"description": " Supplementary metadata file associated with the supplementary sequence FASTA file"
"title": "Supplementary data",
"description": "Path to directory containing supplementary sequence FASTA file and optional metadata to be incorporated into phylogenetic analysis."
}
}
},
Expand Down

0 comments on commit 9f9e7f4

Please sign in to comment.