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

Fix index lacking a meta map causing igenomes and premade indexes to fail #109

Merged
merged 6 commits into from Feb 17, 2023

Conversation

edmundmiller
Copy link
Collaborator

Closes #106

@edmundmiller edmundmiller self-assigned this Feb 17, 2023
@github-actions
Copy link

github-actions bot commented Feb 17, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 0fdd39b

+| ✅ 153 tests passed       |+
#| ❔   3 tests were ignored |#
!| ❗   6 tests had warnings |!

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: '2.1.1'
  • pipeline_todos - TODO string in README.md: Add full-sized test dataset and amend the paragraph below if applicable
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in test_full.config: Specify the paths to your full test data ( on nf-core/test-datasets or directly in repositories, e.g. SRA)
  • pipeline_todos - TODO string in test_full.config: Give any required params for the test so that command line flags are not needed
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your prefered methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/email_template.html

✅ Tests passed:

Run details

  • nf-core/tools version 2.7.2
  • Run at 2023-02-17 02:07:27

@@ -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?
Copy link
Contributor

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

Copy link
Collaborator Author

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. 😩

Copy link
Contributor

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!

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@FriederikeHanssen FriederikeHanssen left a comment

Choose a reason for hiding this comment

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

looks good

@edmundmiller edmundmiller changed the title Fix/bwa index Fix index lacking a meta map causing igenomes and premade indexes to fail Feb 17, 2023
@edmundmiller edmundmiller merged commit d8e2684 into dev Feb 17, 2023
@edmundmiller edmundmiller deleted the fix/bwa_index branch February 17, 2023 14:48
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.

Error executing process > 'NFCORE_NASCENT:NASCENT:ALIGN_BWA:BWA_MEM (1)'
2 participants