Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkfastq fails on AWS Batch #281

Open
KallyopeComp opened this issue Oct 25, 2024 · 0 comments
Open

mkfastq fails on AWS Batch #281

KallyopeComp opened this issue Oct 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KallyopeComp
Copy link

Description of the bug

Thank you for preparing a helpful tool to standardize genomics workflows. There is a small issue with running the pipeline using AWS Batch with mkfastq.

Some of the required output directories from the CellRanger output are empty, leading the pipeline to raise an error. For the test data *_outs/outs/fastq_path/Reports is empty. Possibly *_outs/outs/fastq_path/Stats is empty in other cases (I'm not sure).

At least, line 13 should be modified to read:
tuple val(meta), path("*_outs/outs/fastq_path/Reports") , optional:true, emit: reports
Possibly line 14 should be modified as well to:
tuple val(meta), path("*_outs/outs/fastq_path/Stats") , optional:true, emit: stats

With these changes, the pipeline completes successfully.

Command used and terminal output

$ nextflow run demultiplex -profile docker -config ../nextflow.config --skip_tools samshee,falco,fastp --input test_pipeline_samplesheet.csv --demultiplexer mkfastq --outdir {private s3 directory}

Relevant part of the terminal output:
ERROR ~ Error executing process > 'NFCORE_DEMULTIPLEX:DEMULTIPLEX:MKFASTQ_DEMULTIPLEX:CELLRANGER_MKFASTQ (test_sample.1)'

Caused by:
Missing output file(s) *_outs/outs/fastq_path/Reports expected by process NFCORE_DEMULTIPLEX:DEMULTIPLEX:MKFASTQ_DEMULTIPLEX:CELLRANGER_MKFASTQ (test_sample.1)

Relevant files

Archive includes the pipeline samplesheet (which specifies test data from 10X), a nextflow.config (which specifies AWS Batch executor), and the nextflow log
Archive.zip

System information

Nextflow Version: 24.04.4
Hardware: Cloud (AWS batch with custom AMI built as described in the Nextflow documentation)
Executor: AWS BAtch
Container engine: Docker
OS: Launched from machine Ubuntu 22.04, AMI uses Amazon Linux 2
Version of nf-core/demultiplex: Latest master branch, commit ebefeef

@KallyopeComp KallyopeComp added the bug Something isn't working label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant