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

Guides: explainer for writing channels #1

Open
georgiesamaha opened this issue Jun 28, 2024 · 1 comment
Open

Guides: explainer for writing channels #1

georgiesamaha opened this issue Jun 28, 2024 · 1 comment

Comments

@georgiesamaha
Copy link
Member

Writing channels is not adequately explained in Nextflow docs. Writing channels often requires complex groovy syntax when joining different outputs. Our guide should include an approachable set of instructions for common channel types. Some examples of things we should cover:

  • Tuples connecting sample name to specific files
  • Connecting reference files with their indexes
  • Joining multiple files output by separate processes at the sample level
  • Joining different sample files output by individual tasks for the same process
@georgiesamaha
Copy link
Member Author

georgiesamaha commented Aug 27, 2024

To include:

  • Extracting information from samplesheets
  • Grouping multiple channels by tuple (e.g. sample id)
  • Using view() to build and test a channel
  • Operators + groovy

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

No branches or pull requests

1 participant