nextflow-io / nextflow-io/training

Ideas for adding metadata handling to Genomics

Open
#367 8 comments 0 reactions 1 assignee View on GitHub

@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

  1. Use a samplesheet to read in the BAM files (splitCsv)
  2. Add a sample ID to each BAM file (tuples)
  3. Pass the tuple between all processes with a manipulation (map)
  4. Group per family ID (groupTuple)
  5. Create samplesheet output

Key targets:

  • view for debugging
  • map for manipulating channel contents
  • 1 to 3 more advanced operators such as collectFile, groupTuple, join for 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.