nextflow-io / nextflow-io/nextflow

Cannot invoke method split() on null object with fromSRA

Open
#6,326 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
3.5k
Forks
811
Avg merge
2d 11h
Merged PRs (30d)
61

Description

Bug report

Expected behavior and actual behavior

No error

Steps to reproduce the problem
cat test_sra.nf
#!/usr/bin/env nextflow

workflow {
    // Create a channel using fromSRA with direct accession
    Channel
        .fromSRA('SRR34839578')
        .view()

}
Program output
nextflow run test_sra.nf 

 N E X T F L O W   ~  version 25.04.6

Launching `test_sra.nf` [dreamy_ochoa] DSL2 - revision: fe9803592b

ERROR ~ Cannot invoke method split() on null object

 -- Check '.nextflow.log' file for details
Environment
  • Nextflow version: 25.04.6
  • Docker image: nextflow/nextflow:25.04.6

(error also occurs in a custom install of nextflow)

Additional context

fasterq-dump SRR34839578 works.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the test_sra.nf reproduction with Channel.fromSRA('SRR34839578') and inspect the resulting .nextflow.log for the null split() call. Trace the fromSRA entry point and verify the direct accession path completes without an error and emits the expected data.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.