nextflow-io / nextflow-io/training
Ideas for adding metadata handling to Genomics
Open
@vdauwera is already working on this.
Since Oct 23, 2024.
improve
nf4 science
- Dominant language
- Nextflow
- Stars
- 271
- Forks
- 329
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 11
Description
hello-channels
An additional module that would fit between hello-gatk and hello-modules.
Aims:
- Teach users about the concepts of channels and functional programming with Nextflow
- Teach users about data structure within channels
- Teach users practical examples of operators to manipulate channels
Proposal:
Subject to change, this part might need further discussion.
From the hello-gatk pipeline, add the following features stepwise
- Use a samplesheet to read in the BAM files (
splitCsv) - Add a sample ID to each BAM file (tuples)
- Pass the tuple between all processes with a manipulation (
map) - Group per family ID (
groupTuple) - Create samplesheet output
Key targets:
viewfor debuggingmapfor manipulating channel contents- 1 to 3 more advanced operators such as
collectFile,groupTuple,joinfor demonstrating how channels can be manipulated with built in methods.
To do:
- Write final endpoint pipeline to be aiming for
- Write intermediate steps as tutorial
- Add any changes to hello-modules and hello-nf-test that need to be included
Related issues
https://github.com/nextflow-io/training/issues/361
https://github.com/nextflow-io/training/issues/359
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.