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

Sample sheet update #29

Merged
merged 134 commits into from
May 6, 2024
Merged

Sample sheet update #29

merged 134 commits into from
May 6, 2024

Conversation

jmuhlich
Copy link
Member

@jmuhlich jmuhlich commented Apr 23, 2024

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 - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/mcmicro branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nf-test test main.nf.test -profile test,docker).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • 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).

This adds support for two different styles of input sample sheet: one row per cycle per sample (input_cycle) and one row per sample (input_sample). Validation of much of the sample sheets and marker sheet file is done in python scripts, but work is already ongoing to port this logic directly into Groovy/Nextflow.

An nf-test test suite for the pipeline and key workflows has also been added. Note that the Nextflow code does some "naughty" things around re-parsing the input sample sheet rather than only consuming the already parsed values from the proper input channel, so the nf-test setup code has a lot of redundancies. As part of porting the python validation code into Groovy we will address this issue and make the workflows more "functional" and clean up the test definitions.

new format is sample,cycle_number,channel_count,image_tiles
@jmuhlich jmuhlich added the enhancement Improvement for existing functionality label Apr 23, 2024
Copy link

github-actions bot commented Apr 23, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 68251e9

+| ✅ 165 tests passed       |+
#| ❔   1 tests were ignored |#
!| ❗  25 tests had warnings |!

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: 2.0.0
  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in README.md: TODO nf-core:
  • pipeline_todos - TODO string in README.md: Include a figure that guides the user through the major workflow steps. Many nf-core
  • pipeline_todos - TODO string in README.md: Fill in short bullet-pointed list of the default steps in the pipeline
  • pipeline_todos - TODO string in README.md: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets.
  • pipeline_todos - TODO string in README.md: update the following command to include all required parameters for a minimal example
  • pipeline_todos - TODO string in README.md: If applicable, make list of people who have also contributed
  • pipeline_todos - TODO string in README.md: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file.
  • pipeline_todos - TODO string in README.md: Add bibliography of tools and data used in your pipeline
  • pipeline_todos - TODO string in test.config: Specify the paths to your test data on nf-core/test-datasets
  • pipeline_todos - TODO string in test.config: Give any required params for the test so that command line flags are not needed
  • pipeline_todos - TODO string in test_full.config: Specify the paths to your full test data ( on nf-core/test-datasets or directly in repositories, e.g. SRA)
  • pipeline_todos - TODO string in test_full.config: Give any required params for the test so that command line flags are not needed
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • 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 ci.yml: You can customise CI pipeline run tests as required
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
  • schema_lint - Parameter input not found in schema

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.13.1
  • Run at 2024-05-01 15:16:03

@jmuhlich jmuhlich changed the title Sample sheet mod Sample sheet update Apr 23, 2024
nextflow.config Outdated Show resolved Hide resolved
nextflow.config Outdated Show resolved Hide resolved
@josenimo
Copy link

Thank you @jmuhlich for linking the most recent changes :) it looks good to me 👍
Thanks to @maxulysse for finding those sneaky issues, I would rather wait for jeremy to take a look

* Remove unneeded symlink to schema in assets/
* Remove explicit parameters_schema arg in fromSamplesheet calls
@RobJY RobJY merged commit b8d46de into nf-core:dev May 6, 2024
4 checks passed
@jmuhlich jmuhlich deleted the sample_sheet_mod branch May 7, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement for existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants