genomicsITER / NanoCLUST

NanoCLUST is an analysis pipeline for UMAP-based classification of amplicon-based full-length 16S rRNA nanopore reads
MIT License
106 stars 49 forks source link

Missing workflow definition - DSL2 requires at least a workflow block in the main script #63

Closed timyaro closed 2 years ago

timyaro commented 2 years ago

Hello,

When I run the test script:

nextflow run main.nf -profile test,docker

I get the following error message:

Missing workflow definition - DSL2 requires at least a workflow block in the main script.

How do I go about fixing this?

Also, just a heads up, I am very new with bioinformatics!

niederro commented 2 years ago

Hey @timyaro ,

It is because you use a new version of Nextflow. When starting the shell use: export NXF_DEFAULT_DSL=1

Then it should work

timyaro commented 2 years ago

@niederro It worked! I greatly appreciate your help!