# Problems using Nextflow to run NanoRtax Pipeline

**URL:** <https://community.seqera.io/t/problems-using-nextflow-to-run-nanortax-pipeline/628>\
**Category:** Ask for help\
**Tags:** nextflow\
**Created:** [April 3, 2024, 4:19pm UTC](https://community.seqera.io/t/problems-using-nextflow-to-run-nanortax-pipeline/628 "2024-04-03T16:19:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kerianalee\_Rivera](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/kerianalee_rivera/32/595_2.png) [@Kerianalee\_Rivera](https://community.seqera.io/u/Kerianalee_Rivera)\
**Post date:** [April 3, 2024, 4:19pm UTC](https://community.seqera.io/t/problems-using-nextflow-to-run-nanortax-pipeline/628/1 "2024-04-03T16:19:52Z")

</div>

Hello! I am trying to run this pipeline called NanoRtax ([GitHub - genomicsITER/NanoRTax: Real-time analysis pipeline for nanopore 16S rRNA data](https://github.com/genomicsITER/NanoRTax)) to analyze my nanopore 16s data, specifically I want to reach the diversity matrics. They provide a script called main.nf and apparently I just have to give it my fastq samples.

This pipeline is built using Nextflow. I managed to install Nextflow using a version of miniconda from 2020 that got provided by the performance computing facility of my institution.

This is the code I am writing on the command line: nextflow run main.nf --reads ‘home/irodriguez1/cquinones/fastq\_pass/barcode01/AQG952\_pass\_barcode01\_eb363db4\_310c5cba\_0.fastq’ -profile conda

However I keep on getting this error: N E X T F L O W ~ version 23.10.1  
Nextflow DSL1 is no longer supported — Update your script to DSL2, or use Nextflow 22.10.x or earlier

Any tips on how to fix this? I looked over the script and it is properly written in DSL2 syntax.

Thank you!

---

<div class="post-metadata">

**Author:** ![mribeirodantas](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/mribeirodantas/32/235_2.png) [@mribeirodantas](https://community.seqera.io/u/mribeirodantas)\
**Post date:** [April 3, 2024, 8:21pm UTC](https://community.seqera.io/t/problems-using-nextflow-to-run-nanortax-pipeline/628/2 "2024-04-03T20:21:53Z")

</div>

Nextflow DSL1 is no longer supported in recent versions of Nextflow. According to the output you shared, you’re running Nextflow `23.10.1`, a stable version released at the end of 2023. The option you have (apart from converting the pipeline to DSL2 😅) is to run Nextflow in a 22.10.x version. You can do that with the following command:

```auto
NXF_VER=22.10.1 nextflow run main.nf --reads ‘home/irodriguez1/cquinones/fastq_pass/barcode01/AQG952_pass_barcode01_eb363db4_310c5cba_0.fastq’ -profile conda

```
