Closed splaisan closed 1 year ago
Hi @splaisan, your log would indicate that you're launching v0.2.14 rather than v0.4.0. Can you try nextflow pull epi2me-labs/wf-bacterial-genomes
to update the copy of your workflow and try again? The log should contain a line that says "This is epi2me-labs/wf-bacterial-genomes vX.Y.Z" under our logo to confirm the version number.
NOTE: Your local project version looks outdated - a different revision is available in the remote repository [https://github.com/epi2me-labs/wf-bacterial-genomes/commit/70714be9ef6ebc669b206658471f4a73b907953c]
Launching https://github.com/epi2me-labs/wf-bacterial-genomes [amazing_carson] DSL2 - revision: https://github.com/epi2me-labs/wf-bacterial-genomes/commit/d3fdcc0dd30e8cbc3c992f86e44d843d988f199f [master]
you are on the right track, I thought I was running the repo code which I just pulled. When I tried to update the nextflow, I got an error
$ nextflow pull epi2me-labs/wf-bacterial-genomes
Checking epi2me-labs/wf-bacterial-genomes ...
Cannot pull project `epi2me-labs/wf-bacterial-genomes` -- org.eclipse.jgit.transport.FetchResult@5c313224
Merge of revisions d3fdcc0dd30e8cbc3c992f86e44d843d988f199f, 70714be9ef6ebc669b206658471f4a73b907953c with base b96bacb5cb6c0c10cc3e9cd63393429f24c7584d using strategy recursive resulted in: Conflicting.
can you please help me fix this? thanks
@splaisan This typically occurs if the workflow directory has been edited in some way (e.g. to update the nextflow.config file manually). Conflicts can be tricky to resolve correctly, so I would advise to drop and pull the workflow again like so:
nextflow drop epi2me-labs/wf-bacterial-genomes
nextflow pull epi2me-labs/wf-bacterial-genomes
I'd love to but this also fails
nextflow drop epi2me-labs/wf-bacterial-genomes
Project config file is malformed -- Cause: Compile failed for sources FixedSetSources[name='/groovy/script/ScriptAF8B83CB921349B4D2E0E9DC03D42944/_nf_config_06812e1e']. Cause: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/groovy/script/ScriptAF8B83CB921349B4D2E0E9DC03D42944/_nf_config_06812e1e: 3: Unexpected input: '{' @ line 3, column 8.
params {
^
1 error
drop worked after deleting my ~/.nextflow folder
now ruunning but failing at aligning reads after deleting all my nextflow related data in my home folder and pulling the current nextflow, thanks a lot Sam for pointing me to this. I guess the test data is not valid, I will try with my own
@splaisan No problem, glad you are back on track! Occasionally Nextflow encounters merge errors when pulling workflows. I hadn't appreciated that even drop
fails in this case. If you observe this again in future you should be able to overcome this by deleting the specific workflow from your Nextflow asset directory (rather than everything 💥 ), in this case: $HOME/.nextflow/assets/epi2me-labs/wf-bacterial-genomes
.
thanks for the tip, I will btw if you can run my command it means I still have issues. It fails for me when aligning test reads it would be nice to have a test command that works to validate install
btw if you can run my command it means I still have issues. It fails for me when aligning test reads @splaisan Are you saying the workflow is running but you have a different error? If so, please open a new bug report and we'll take a look 👀
yes, I repeat the failed command after a new newtflow cleanup and open one now
Operating System
Ubuntu 22.04
Other Linux
No response
Workflow Version
v0.4.0 70714be
Workflow Execution
Command line
EPI2ME Version
No response
CLI command run
running in the repo folder
nextflow run epi2me-labs/wf-bacterial-genomes --fastq ./test_data/fastq --isolates --reference_based_assembly --reference ./test_data/ref/reference.subseq.fa.gz --sample_sheet ./test_data/isolates_sample_sheet.csv --out_dir test_run
Workflow Execution - CLI Execution Profile
standard (default)
What happened?
N E X T F L O W ~ version 23.04.3 NOTE: Your local project version looks outdated - a different revision is available in the remote repository [70714be9ef] Launching
https://github.com/epi2me-labs/wf-bacterial-genomes
[amazing_carson] DSL2 - revision: d3fdcc0dd3 [master]ERROR ~ ERROR: Validation of pipeline parameters failed!
-- Check '.nextflow.log' file for details ERROR ~ * --basecaller_cfg: dna_r10.4.1_e8.2_400bps_sup@v4.2.0 is not a valid enum value (dna_r10.4.1_e8.2_400bps_sup@v4.2.0)
-- Check '.nextflow.log' file for details
WARN: Found unexpected parameters:
Relevant log output
Application activity log entry
No response