-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix index lacking a meta map causing igenomes and premade indexes to fail #109
Conversation
Can't help PINTS failing because we're not aligning to the right genome
|
@@ -106,7 +108,8 @@ workflow PREPARE_GENOME { | |||
ch_bwa_index = UNTAR_BWA_INDEX ( [ [:], params.bwamem2_index ] ).untar | |||
ch_versions = ch_versions.mix(UNTAR_BWA_INDEX.out.versions) | |||
} else { | |||
ch_bwa_index = file(params.bwamem2_index) | |||
// TODO Give the meta from basename or genome? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is future-Edmunds problem? :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm not sure how it's supposed to be handled and what the point of adding a meta map to the indexes was except to bring pain. 😩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it was all the metagenomics people's fault, that want to use multiple fastas or whatever. Insanity!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we just used the file name as stand-in basically https://github.com/nf-core/sarek/blob/c87f4eb694a7183e4f99c70fca0f1d4e91750b33/subworkflows/local/prepare_genome/main.nf#L48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Closes #106