Skip to content

How to gracefully pass a nextflow.confg file when submitting task to Azure batch Pool? #2620

@andy-canexia

Description

@andy-canexia

Hello, nextflow community,

I am wondering if anyone can generously share a cli example to create and submit tasks to Azure batch?

The one I am using is

az batch task create --job-id myjob --task-id andytask5 --command-line "nextflow run nextflow-io/rnaseq-nf -w az://my-testdata-output/work"

The pool with a custom image from shared image gallary and azure batch job have been created successfully. The error msg I got is about Missing AZURE_STORAGE_ACCOUNT_NAME.

Then I add one more extra args

az batch task create --job-id myjob --task-id andytask6 --command-line "nextflow -C /home/azureuser/nextflow.config run nextflow-io/rnaseq-nf -w az://my-testdata-output/work"

Then, nextflow complained about The specified configuration file does not exist: /home/azureuser/nextflow.config -- check the name or choose another file

I'm wondering if anyone can shed some light? Many thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions