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

update bowtie2 v2.5.4 #6870

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

LucilleAugusta
Copy link

@LucilleAugusta LucilleAugusta commented Oct 28, 2024

PR checklist

Closes #6821

  • [ x] This comment contains a description of changes (with reason).
  • [ x] Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • [ x] nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda

For bowtie2/align the old mulled biocontainers have been changed to new Seqera containers.

@LucilleAugusta LucilleAugusta linked an issue Oct 28, 2024 that may be closed by this pull request
4 tasks
@LucilleAugusta
Copy link
Author

Hi
I'm having troubles figuring out why the bowtie2/align, singularity test is failing?

@LucilleAugusta LucilleAugusta changed the title update bowtie2 v2.5.4 in bowtie2/build update bowtie2 v2.5.4 Oct 28, 2024
@LucilleAugusta LucilleAugusta self-assigned this Oct 28, 2024
@fmalmeida fmalmeida requested a review from atrigila October 29, 2024 14:11
@fmalmeida
Copy link
Contributor

fmalmeida commented Oct 29, 2024

Hi @LucilleAugusta ,
Looking at the error, although strange, it looks like for some reason, the lines collected are not exactly the same, probably due the order of some reads.

To try to solve that, I have changed the 'sorting' value to true in the nf-test file, so that we ensure to have always the same order, and then increased a little bit the amount of lines from output collected.

Let's see if this help. If so, something similar has to be done for the other tests that fail, if they actually relate to the changes you made. If they are of a different tool, then probably should not be of the scope of this PR.

@LucilleAugusta
Copy link
Author

Thanks for taking a look @fmalmeida.

The tests failing seems to be related to subwokflows - fastq_align_dna and fastq_align_bowtie2.
It is not clear to me if this is related to I the changes I made.
Can you help me define the next steps?

@fmalmeida
Copy link
Contributor

Hi @LucilleAugusta ,

I seems that the other workflows are just complaining in the versions.yml snapshot which makes sense since we updated the bowtie2 version.

image

So, probably just running them with --update-snapshot should do the trick.

😄

Copy link
Contributor

@nservant nservant 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 to me. Thanks

@@ -4,8 +4,8 @@ process BOWTIE2_ALIGN {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/mulled-v2-ac74a7f02cebcfcc07d8e8d1d750af9c83b4d45a:f70b31a2db15c023d641c32f433fb02cd04df5a6-0' :
'biocontainers/mulled-v2-ac74a7f02cebcfcc07d8e8d1d750af9c83b4d45a:f70b31a2db15c023d641c32f433fb02cd04df5a6-0' }"
'oras://community.wave.seqera.io/library/bowtie2_samtools_pigz:19e9ad812f803021' :
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
'oras://community.wave.seqera.io/library/bowtie2_samtools_pigz:19e9ad812f803021' :
'oras://community.wave.seqera.io/library/bowtie2_samtools_pigz:19e9ad812f803021' :

We're not supporting oras yet. There's a script https://github.com/nf-core/modules/blob/master/.github/scripts/wave_singularity.py for this if anyone beats me to it, just going through Seqera container issues.

@SPPearce
Copy link
Contributor

SPPearce commented Jan 8, 2025

@LucilleAugusta , do you need help to get this finished off?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update module: bowtie2
6 participants