Skip to content
New issue

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

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

Already on GitHub? # to your account

Local testing #94

Merged
merged 29 commits into from
May 18, 2023
Merged

Local testing #94

merged 29 commits into from
May 18, 2023

Conversation

DLBPointon
Copy link
Contributor

Updates to allow for local testing by ToL-IT.

Also fixed an error where gene_alignment had the incorrect number of channels for input compared to those declared in the gene alignment subworkflow.

@DLBPointon DLBPointon added bug Something isn't working Data Issue Issue related to test data labels May 3, 2023
@DLBPointon DLBPointon requested a review from priyanka-surana May 3, 2023 15:25
@DLBPointon DLBPointon self-assigned this May 3, 2023
@github-actions
Copy link

github-actions bot commented May 3, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit dd21d15

+| ✅ 134 tests passed       |+
#| ❔  15 tests were ignored |#
!| ❗   9 tests had warnings |!

❗ Test warnings:

  • files_exist - File not found: assets/multiqc_config.yml
  • files_exist - File not found: pyproject.toml
  • pipeline_todos - TODO string in README.md: Add full-sized test dataset and amend the paragraph below if applicable
  • pipeline_todos - TODO string in README.md: Update the example "typical command" below used to run the pipeline
  • pipeline_todos - TODO string in WorkflowMain.groovy: Add Zenodo DOI for pipeline after first release
  • pipeline_todos - TODO string in base.config: Customise requirements for specific processes.
  • pipeline_todos - TODO string in output.md: Write this documentation describing your workflow's output
  • pipeline_todos - TODO string in usage.md: Add documentation about anything specific to running your pipeline. For general topics, please point to (and add to) the main nf-core website.
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required

❔ Tests ignored:

  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • files_unchanged - File ignored due to lint config: .gitattributes
  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/CONTRIBUTING.md
  • files_unchanged - File ignored due to lint config: .github/ISSUE_TEMPLATE/bug_report.yml
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/linting_comment.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/email_template.txt
  • files_unchanged - File ignored due to lint config: assets/sendmail_template.txt
  • files_unchanged - File ignored due to lint config: lib/NfcoreSchema.groovy
  • files_unchanged - File ignored due to lint config: lib/NfcoreTemplate.groovy
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore or pyproject.toml
  • multiqc_config - 'assets/multiqc_config.yml' not found

✅ Tests passed:

Run details

  • nf-core/tools version 2.7.2
  • Run at 2023-05-18 13:20:36

@DLBPointon
Copy link
Contributor Author

DLBPointon commented May 11, 2023

This included a couple of updated to the gap_finder subworkflow too (adding gziptabix) and a few other housekeeping bits.

Unit test run with: nextflow run main.nf -profile test,singularity,sanger --outdir OscSUBSET

Locally, completes within 3 minutes.

@DLBPointon
Copy link
Contributor Author

DLBPointon commented May 16, 2023

Currently waiting on my pr for nf-core/modules#3423
This will complete the gap subworkflow bug mentioned in ToL-pipelines.

Merged in

@priyanka-surana
Copy link
Contributor

priyanka-surana commented May 18, 2023

I tried running the pipeline, but nothing actually runs. It says pipeline completed successfully, but no process is actually executed.

Pipeline execution works for me. I used the following command.

bsub -R 'select[mem>4000] rusage[mem=4000] span[hosts=1]' -n 2 -M 4000 -q oversubscribed -J treeval -o treeval.%J.o -e treeval.%J.e "nextflow run main.nf -profile test,singularity,sanger --outdir OscSUBSET -entry FULL -ansi-log false"

Copy link
Contributor

@priyanka-surana priyanka-surana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes to make things clear.

bin/cut_size.sh Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not add directly in the module?

DLBPointon and others added 5 commits May 18, 2023 14:17
Suggested Changes

Co-authored-by: Priyanka Surana <surana.priyanka@gmail.com>
Suggested Changes

Co-authored-by: Priyanka Surana <surana.priyanka@gmail.com>
Suggested Changes

Co-authored-by: Priyanka Surana <surana.priyanka@gmail.com>
Suggested Changes

Co-authored-by: Priyanka Surana <surana.priyanka@gmail.com>
Suggested Changes

Co-authored-by: Priyanka Surana <surana.priyanka@gmail.com>
Copy link
Contributor

@priyanka-surana priyanka-surana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test works. There are some formatting issues which need to be resolved and hopefully will be addressed in the template update planned.

@DLBPointon DLBPointon merged commit 204d303 into dev May 18, 2023
@muffato muffato deleted the local_testing branch May 18, 2023 21:24
DLBPointon added a commit that referenced this pull request Sep 7, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working Data Issue Issue related to test data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants