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 learnmsa module to work with compressed files. #5276

Merged
merged 9 commits into from
Mar 22, 2024

Conversation

lrauschning
Copy link
Contributor

Add the compression handling introduced to MSA modules in #4754 to learnmsa (forgot learnmsa and kalign it in that PR).

@lrauschning lrauschning requested a review from luisas as a code owner March 19, 2024 15:47
@lrauschning lrauschning self-assigned this Mar 19, 2024
@lrauschning
Copy link
Contributor Author

Hm, weird, on local this works at least using singularity... will have a look tomorrow

assertAll(
{ assert process.success },
{ assert path(process.out.alignment.get(0).get(1)).getTextGzip().contains(">sample1") },
{ assert snapshot(process.out.versions).match("versions1") }
Copy link
Contributor

Choose a reason for hiding this comment

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

why does have the 1 in it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To get the output file from the meta + file-output channel, if you mean the .get(1).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah nvm, for the snapshot name of the versions snapshot it's because since v 0.8.4 nf-test throws an error when overwriting a snapshot with the same name – compare [0].
This was causing the CI to fail despite the test passing locally (where I have nf-test v 0.8.3 installed).

[0] askimed/nf-test@d2508b2#diff-fd31905853152ac935c5509db52bb497033040fa8cb2523810950c3595ba450aR31-R37

modules/nf-core/learnmsa/align/meta.yml Outdated Show resolved Hide resolved
@lrauschning lrauschning enabled auto-merge March 22, 2024 15:57
@lrauschning lrauschning added this pull request to the merge queue Mar 22, 2024
Merged via the queue into nf-core:master with commit 6200770 Mar 22, 2024
11 checks passed
@lrauschning lrauschning deleted the learnmsa branch March 22, 2024 16:39
jvfe added a commit that referenced this pull request Mar 26, 2024
* master: (47 commits)
  Update genomescope2 module and add nf-tests (#5399)
  PLINK/GWAS additional output (#5387)
  Plink linkage disequilibrium additional output (#5388)
  new module: Plink epistasis analysis  (#5386)
  Add module for TaxonKit name2taxid (#4778)
  Update-cellranger-modules (#5016)
  Update: GTDBTK/CLASSIFYWF (migrate to nf-test and only execute mv when dirs actually present) (#5390)
  Added MetaPlAn subworkflow (#5356)
  port `vcftools` to nf-test (#5375)
  Update modules: rgi (#5383)
  Update condaforge/mambaforge Docker tag to v24 (#5381)
  Update gecco + migrate to nf-test (#5372)
  Update learnmsa module to work with compressed files. (#5276)
  New module: kraken2/build  (#5212)
  Update kalign module to work with compressed files. (#5277)
  port `ensemblvep/download` to nf-test (#5373)
  port `manta-germline` to nf-test (#5362)
  port `tiddit-sv` to nf-test and add `--threads` (#5371)
  Decoupler module (#5317)
  fix optional cram support in modules and migrate to nf-test (#5329)
  ...
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.

3 participants