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

Ensure unique contig names across assemblies, for chaining pipeline with magmap #742

Open
amizeranschi opened this issue Jan 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@amizeranschi
Copy link
Contributor

Description of feature

Hello,

I've created assemblies with nf-core/mag using MEGAHIT and now I'm trying to align the reads to the assemblies using nf-core/magmap. The problem is that the latter concatenates the assemblies before creating an index for mapping with BBTools. This results in lots of duplicate contig names in the reference index, because MEGAHIT uses the same contig naming scheme for each assembly that it creates, and there doesn't seem to be a way to change this behavior in order to ensure unique contig names across all of the assemblies.

It would be great to have a setting for ensuring that the pipeline generates unique contig names.

Relevant thread on Slack: https://nfcore.slack.com/archives/C070369GP7T/p1735754871023769

@amizeranschi amizeranschi added the enhancement New feature or request label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant