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

Skip creating merged objects if there are too many samples #776

Closed
allyhawkins opened this issue Jul 31, 2024 · 1 comment
Closed

Skip creating merged objects if there are too many samples #776

allyhawkins opened this issue Jul 31, 2024 · 1 comment

Comments

@allyhawkins
Copy link
Member

We have not been successful in completing the merged workflow when there are > 100 libraries being merged into a single object. Because of this we probably want to add a check for the total number of libraries being merged and if it's > 100 we skip creating the object and emit a warning message about how that object won't be created, similar to what we do for multiplexed samples.

Something similar to this but for total number of libraries:

scpca-nf/merge.nf

Lines 175 to 179 in f215046

filtered_libraries_ch.multiplexed
.unique{ it.project_id }
.subscribe{
log.warn("Not merging ${it.project_id} because it contains multiplexed libraries.")
}

@allyhawkins
Copy link
Member Author

Closed by #777

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