Skip to content

Commit

Permalink
Add tidk optional
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswyatt1 committed Oct 29, 2024
1 parent 05b062c commit 25f9bbd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ params {
genome = null
igenomes_base = null
igenomes_ignore = false

// tidk skip
skip_tidk = false
// Genome only option
genome_only = null

Expand Down
6 changes: 6 additions & 0 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,12 @@
"busco_config": {
"type": "string",
"description": "A path to a BUSCO config file (optional)"
},
"skip_tidk": {
"type": "boolean",
"description": "Do not run TIDK.",
"hidden": true,
"help_text": "You may wish to turn off the tidk subworkflow"
}
}
}
Expand Down
11 changes: 6 additions & 5 deletions workflows/genomeqc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,12 @@ workflow GENOMEQC {
//
// Run TIDK
//

FASTA_EXPLORE_SEARCH_PLOT_TIDK (
ch_fasta,
[]
)
if (!params.skip_tidk) {
FASTA_EXPLORE_SEARCH_PLOT_TIDK (
ch_fasta,
[]
)
}

// Run genome only or genome + gff

Expand Down

0 comments on commit 25f9bbd

Please sign in to comment.