# Bug with nextflow -profile

**URL:** <https://community.seqera.io/t/bug-with-nextflow-profile/2088>\
**Category:** Ask for help\
**Created:** [April 19, 2025, 8:35am UTC](https://community.seqera.io/t/bug-with-nextflow-profile/2088 "2025-04-19T08:35:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexis\_Floback](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/alexis_floback/32/1776_2.png) [@Alexis\_Floback](https://community.seqera.io/u/Alexis_Floback)\
**Post date:** [April 19, 2025, 8:35am UTC](https://community.seqera.io/t/bug-with-nextflow-profile/2088/1 "2025-04-19T08:35:26Z")

</div>

I’m trying to submit a mag pipeline on my university’s cluster, but keep receiving the same error:

"You used a core Nextflow option with two hyphens: ‘–profile’. Please resubmit with ‘-profile’

This occurs even if I do not specify a profile in my command, as below.

nextflow run nf-core/mag -params-file params.yaml

N E X T F L O W  
version 24.10.3 build 5933

---

<div class="post-metadata">

**Author:** ![mahesh.binzerpanchal](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/mahesh.binzerpanchal/32/253_2.png) [@mahesh.binzerpanchal](https://community.seqera.io/u/mahesh.binzerpanchal)\
**Post date:** [April 22, 2025, 7:37am UTC](https://community.seqera.io/t/bug-with-nextflow-profile/2088/2 "2025-04-22T07:37:28Z")

</div>

I think that’s an nf-core message. Not nextflow. Try dropping the pipeline from your cache and rerunning.

```bash
nextflow drop nf-core/mag
nextflow run nf-core/mag -r 3.4.0 -profile test --outdir results

```
