Skip to content

Commit

Permalink
Updates to check
Browse files Browse the repository at this point in the history
  • Loading branch information
DLBPointon committed Aug 6, 2024
1 parent b30dddb commit 71f1f26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workflows/ascc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ workflow ASCC {

full_list = ["kmers", "tiara", "coverage", "nt_blast", "nr_diamond", "uniprot_diamond", "kraken", "fcs-gx", "fcs-adaptor", "vecscreen", "btk_busco", "pacbio_barcodes", "organellar_blast", "autofilter_assembly", "ALL", ""]

if (!full_list.containsAll(include_workflow_steps) || !full_list.containsAll(exclude_workflow_steps)) {
if (!full_list.containsAll(include_workflow_steps) && !full_list.containsAll(exclude_workflow_steps)) {
exit 1, "There is an extra argument given on Command Line: \n Check contents of: $include_workflow_steps\nAnd $exclude_workflow_steps\nMaster list is: $full_list"
}

Expand Down Expand Up @@ -253,7 +253,7 @@ workflow ASCC {
}

//
// SUBWORKFLOW:
// SUBWORKFLOW: RUN FCS-ADAPTOR TO IDENTIDY ADAPTOR AND VECTORR CONTAMINATION
//
if ( include_workflow_steps.contains('fcs-adaptor') || include_workflow_steps.contains('ALL') ) {
RUN_FCSADAPTOR (
Expand All @@ -271,9 +271,9 @@ workflow ASCC {
}

//
// SUBWORKFLOW:
// SUBWORKFLOW: RUN FCS-GX TO IDENTIFY CONTAMINATION IN THE ASSEMBLY
//
if ( include_workflow_steps.contains('fcsgx') || include_workflow_steps.contains('ALL') ) {
if ( include_workflow_steps.contains('fcs-gx') || include_workflow_steps.contains('ALL') ) {
RUN_FCSGX (
YAML_INPUT.out.reference_tuple,
YAML_INPUT.out.fcs_gx_database_path,
Expand Down

0 comments on commit 71f1f26

Please sign in to comment.