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

Added a Channel Operator to Manually Load Sample IDs from a nf-validation-style Samplesheet #21

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

emarinier
Copy link
Member

Adds the loadIridaSampleIds() function which will manually load sample IDs into the set of valid sample IDs, thereby fixing a problem where certain workflows didn't automatically load sample IDs due to transformations and workflow design.

input = Channel.fromSamplesheet("input")
               .loadIridaSampleIds()

The channel operator outputs the input with no changes to the channel. However, it scans for meta.ids and adds them to the plugin's list of valid sample IDs.

See the updated README section for a more detailed description.

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.

1 participant