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

No fasta file when running the pipeline in local computer #122

Closed
efratushava opened this issue Nov 25, 2019 · 1 comment
Closed

No fasta file when running the pipeline in local computer #122

efratushava opened this issue Nov 25, 2019 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@efratushava
Copy link

Hello,

I'm trying to run the pipeline after cloning to my local computer:

nextflow -log methylseq_log run methylseq/main.nf --aligner 'bwameth' --reads 'data/run_bwameth/fastq_files/*/*sorted_{1,2}.fastq' -profile singularity --genome 'GRCh37' --outdir 'data/run_bwameth/nextflow' --email blabla@gmail.com --email_on_fail blabla@gmail.com --name try_pipeline

and I get the error No Fasta reference specified!
The fasta parameter is actually false, but why? printing ${params.genomes[params.genome].fasta} gives me the right fasta file s3://ngi-igenomes/igenomes//Homo_sapiens/Ensembl/GRCh37/Sequence/WholeGenomeFasta/genome.fa.
So why does the fasta parameter get false value?

The config file, after all defaults jas this lines:

Nov-25 13:07:50.844 [main] DEBUG nextflow.Session - Session aborted -- Cause: No Fasta reference specified! false, s3://ngi-igenomes/igenomes//Homo_sapiens/Ensembl/GRCh37/Sequence/WholeGenomeFasta/genome.fa. Expression: params.fasta
Nov-25 13:07:50.866 [main] ERROR nextflow.cli.Launcher - @unknown
java.lang.AssertionError: No Fasta reference specified!  Expression: params.fasta
        at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:417)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:670)
        at Script_372c9fdc.runScript(Script_372c9fdc:134)
        at nextflow.script.BaseScript.run0(BaseScript.groovy:152)
        at nextflow.script.BaseScript.run(BaseScript.groovy:182)
        at nextflow.script.ScriptParser.runScript(ScriptParser.groovy:217)
        at nextflow.script.ScriptRunner.run(ScriptRunner.groovy:218)
        at nextflow.script.ScriptRunner.execute(ScriptRunner.groovy:126)
        at nextflow.cli.CmdRun.run(CmdRun.groovy:257)
        at nextflow.cli.Launcher.run(Launcher.groovy:457)
        at nextflow.cli.Launcher.main(Launcher.groovy:639)

@ewels ewels added the duplicate This issue or pull request already exists label Nov 25, 2019
@ewels
Copy link
Member

ewels commented Nov 25, 2019

Same issue as in #121, closing to continue discussion there.

@ewels ewels closed this as completed Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants