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

test_full-profile not running out-of-the-box #366

Open
asp8200 opened this issue Sep 2, 2024 · 1 comment
Open

test_full-profile not running out-of-the-box #366

asp8200 opened this issue Sep 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@asp8200
Copy link

asp8200 commented Sep 2, 2024

Description of the bug

The test_full-profile doesn’t run out-of-the-box on scrnaseq v.2.7.1:

nextflow run nf-core/scrnaseq -r 2.7.1 -profile test_full,singularity --outdir results
...
ERROR ~ Must provide a genome fasta file ('--fasta') and a gtf file ('--gtf') if no index is given!. Expression: (star_index || (genome_fasta && gtf)). Values: star_index = [], genome_fasta = [], gtf = []

So I added --genome GRCh38, but it still didn’t work.

Then I removed the initialisation of fasta and gtf from nextflow.config which was introduced here in v2.7.1.

And the test_full-profil ran OK.

Having removed the initialisation of fasta and gtf, I got the following warnings which are also kind of misleading, since, in this case, fasta and gtf are being set through igenomes.config:

WARN: Access to undefined parameter `gtf` -- Initialise it to a default value eg. `params.gtf = some_value`
WARN: Access to undefined parameter `fasta` -- Initialise it to a default value eg. `params.fasta = some_value`

Issue first report on Slack here.

Command used and terminal output

No response

Relevant files

No response

System information

No response

@asp8200 asp8200 added the bug Something isn't working label Sep 2, 2024
@wzheng0520
Copy link

Hi @asp8200 I also meet same issue and I think it cause by params.fasta = getGenomeAttribute('fasta') and params.gtf = getGenomeAttribute('gtf') update in scrnaseq.nf cannot be accepted. Once you defined them on nextflow.config as null, any updated in workflow cannot really make them to be updated into correct path.

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

2 participants