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

More checks of sample-sheet #629

Merged
merged 5 commits into from
Jul 12, 2022

Conversation

asp8200
Copy link
Contributor

@asp8200 asp8200 commented Jul 12, 2022

Two checks for ensuring that the pipeline stops with a meaningful error message if

  1. the sample-sheet only contains normal-samples, but some of the requested tools require tumor-samples, and
  2. the sample-sheet only contains tumor-samples, but some of the requested tools require normal-samples.

I did some test-runs of the this with sample-sheet containing

  1. only normal-samples,
  2. only tumor-samples, and
  3. a mix of normal samples and tumor-samples.

@lassefolkersen might also do some test-runs for these new checks.

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
    • If you've added a new tool - add to the software_versions process and a regex to scrape_software_versions.py
    • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
    • If necessary, also make a PR on the nf-core/sarek branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint .).
  • Ensure the test suite passes (nextflow run . -profile test,docker).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@github-actions
Copy link

github-actions bot commented Jul 12, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit a3b769c

+| ✅ 145 tests passed       |+
#| ❔   4 tests were ignored |#
!| ❗   2 tests had warnings |!

❗ Test warnings:

  • readme - README did not have a Nextflow minimum version badge.
  • schema_description - No description provided in schema for parameter: ascat_chromosomes

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: assets/nf-core-sarek_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-sarek_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-sarek_logo_dark.png
  • files_unchanged - File ignored due to lint config: lib/NfcoreTemplate.groovy

✅ Tests passed:

Run details

  • nf-core/tools version 2.4.1
  • Run at 2022-07-12 18:06:53

workflows/sarek.nf Outdated Show resolved Hide resolved
workflows/sarek.nf Outdated Show resolved Hide resolved
@asp8200 asp8200 changed the title DRAFT: More checks of sample-sheet More checks of sample-sheet Jul 12, 2022
@asp8200 asp8200 marked this pull request as ready for review July 12, 2022 14:13
@asp8200 asp8200 requested a review from maxulysse July 12, 2022 14:15
@maxulysse
Copy link
Member

Can you update the CHANGELOG?

@asp8200
Copy link
Contributor Author

asp8200 commented Jul 12, 2022

Can you update the CHANGELOG?

A shot! I always forget

workflows/sarek.nf Outdated Show resolved Hide resolved
shorter variable names

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants