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

Expect input of prefixes to KrakenUniq #6912

Merged
merged 4 commits into from
Nov 5, 2024
Merged

Conversation

Midnighter
Copy link
Contributor

Updating the module will address the following bug in the taxprofiler pipeline nf-core/taxprofiler#533 but requires that the pipeline be refactored to supply the new input.

modules/nf-core/krakenuniq/preloadedkrakenuniq/main.nf Outdated Show resolved Hide resolved
- prefixes:
type: string
description: >
List of sample identifiers or filename prefixes. Must correspond in order and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe give a suggestio how to fix the order (maybe with .sort? Although I can imagine in some very rare cases someone might be weird and not name things such as pairs properly)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that in the normal case, prefixes will be constructed from samples as they come out of a channel and thus they will be in the same order. I do not want to suggest something here that potentially makes the use more complicated than necessary and potentially leads to user errors.

I am in favor of creating a batching function and having that properly tested, but I don't know where we would provide that from?

@Midnighter
Copy link
Contributor Author

Adding comments is a good idea.

@Midnighter Midnighter force-pushed the feat-krakenuniq-prefix branch from 1b4ce5e to c1d7d7a Compare November 5, 2024 14:33
@Midnighter Midnighter force-pushed the feat-krakenuniq-prefix branch from c1d7d7a to 6ef7b39 Compare November 5, 2024 14:34
@Midnighter Midnighter added this pull request to the merge queue Nov 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 5, 2024
@Midnighter Midnighter added this pull request to the merge queue Nov 5, 2024
Merged via the queue into master with commit 2512434 Nov 5, 2024
12 checks passed
@Midnighter Midnighter deleted the feat-krakenuniq-prefix branch November 5, 2024 16:08
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.

2 participants