Skip to content

Conversation

@glichtenstein
Copy link
Contributor

@glichtenstein glichtenstein commented May 31, 2024

PR checklist

Closes #5612

@k1sauce What about doing the filter directly on the falco module main.nf. This way the subworkflow/bcl_demultiplex/main.nf does not have to handle this issue nor the workflow/demultiplex.nf
I have used a file size filter, to avoid inserting in the falco list of ${reads} those files that have less than 20bytes.
Rationale: An empty text file compressed in tar.gz is usually 20 bytes in size.

edited: /modules/nf-core/falco/main.nf#L20C1-L20C6

Closes #5638

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • 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:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

famosab and others added 30 commits May 16, 2024 08:25
* port to nf-test

* update tests to include versions
* Add missing tximport outputs

* Update snapshot for tximeta/tximport
Replace multiple ifs with a single for

The loop checks if files exist before moving them to temp/
* port to nf-test

* update snap

* update tests to include versions

* port to nf-test

* update snap

* update tests to include versions

* change snapshot to read the dict

* check file md5sum

* Apply suggestions from code review

* update snap

---------

Co-authored-by: Maxime U Garcia <[email protected]>
* port to nf-test

* include versions in test

* port to nf-test

* include versions in test

* change to check tables

* change tests to assert whole output and update snap

* generalize assertions
* add index

* add bwameme_mem

* Update modules/nf-core/bwameme/index/tests/main.nf.test

Co-authored-by: Annick Renevey <[email protected]>

---------

Co-authored-by: Annick Renevey <[email protected]>
* use conda-forge instead of anaconda

* Update modules/nf-core/homer/maketagdirectory/environment.yml

Co-authored-by: Phil Ewels <[email protected]>

* nf-test homer/findpeaks

* nf-test homer/maketagdirectory

* nf-test homer/pos2bed

* fix perl version?

* Update modules/nf-core/gawk/environment.yml

Co-authored-by: Phil Ewels <[email protected]>

* fix gawk

---------

Co-authored-by: Phil Ewels <[email protected]>
The new container version no longer requires overriding the entrypoint.
* Added stub for sratools

* Added command echo for fasterqdump
* Version bumped bwa/index and bwa/aln

* Removed bam md5sum from snapshot
* Bump bwa mem version

* Most recent htslib
* add mmseqs_contig_taxonomy

* apply prettier

* code linting

* changed the test dataset to bacteroides_fragilis instead of influenzae

* give more memory to mmseqs-taxa

* memory increased to 16.GB

* increase the process mem requirements

* fix memory

* add reviewer suggestion

* change back memory

* fix snap

* fix snap
…-core#5598)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…f-core#5636)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)

* Add stub run and bump version 0.30.0

* Add nf-test

* Delete pytest

* Remove tag from pytest_modules
* add rrnatransctipts

* add util for extracting ribosomal transcripts

* fix tests

* fix tests

* mixup with ucsc gtftogenepred

* mixup with ucsc gtftogenepred

* mixup with ucsc gtftogenepred

* make output optional

* fill meta

* reset gtftogenepred

* use grep instead of template

* fix

* fix test so if grep does not find anything, the exit code is still 0

---------

Co-authored-by: Simon Pearce <[email protected]>
…ow (nf-core#5628)

* Return primary bam and index file in fastq_align_bamcmp_bwa subworkflow and update snapshots.

* Add new tests and update snapshots.

* Remove opt out for conda for fastq_align_bamcmp_bwa

* Update snapshots

* Restore opt out for conda for fastq_align_bamcmp_bwa

---------

Co-authored-by: Simon Pearce <[email protected]>
* Author: @MartaSantanaSilva
Initial pull for module grabix/check
Addition of one test (total: 1)

* Update modules/nf-core/grabix/check/main.nf

Co-authored-by: Nicolas Vannieuwkerke <[email protected]>

* Update modules/nf-core/grabix/check/main.nf

Co-authored-by: Nicolas Vannieuwkerke <[email protected]>

* Update modules/nf-core/grabix/check/main.nf

Co-authored-by: Nicolas Vannieuwkerke <[email protected]>

* Update modules/nf-core/grabix/check/meta.yml

Co-authored-by: Nicolas Vannieuwkerke <[email protected]>

* new module: grabix
Fixes nf-core#5181

* Apply suggestions from code review

* Update modules/nf-core/grabix/check/meta.yml

* fix conda declaration

* update snapshot

* prettier

---------

Co-authored-by: Nicolas Vannieuwkerke <[email protected]>
Co-authored-by: Maxime U Garcia <[email protected]>
Co-authored-by: maxulysse <[email protected]>
Parabricks doesn't require stageInMode to be 'copy'

Signed-off-by: Marcel Ribeiro-Dantas <[email protected]>
* chore(deps): update biocontainers/glimpse-bio docker tag to v2.0.1

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* The channel was renamed in nf-core#5117

* The Conda yml files need to match the container definitions

* Typo ! There was a missing s

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Louis LE NEZET <[email protected]>
Co-authored-by: Matthieu Muffato <[email protected]>
…core#5653)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Bump csvtk new version

* Add nf-test

* Get rid of pytest

* Bump version in singularity images

* Update tests/config/pytest_modules.yml

---------

Co-authored-by: Adam Talbot <[email protected]>
* Stub and nf-test for fastk/fastk

* Added chmod +r to add read permissions for docker

* Added a+r
* Remove leftover of previous PR

* Bump version 0.30.0 of csvtk

* Ad nf-test for csvtk/split

* Remove csvtk/split from pytest_modules.yml

* Make lint happy

* Update path on tests

* Update modules/nf-core/csvtk/split/tests/main.nf.test

* Update modules/nf-core/csvtk/split/tests/main.nf.test
…f-core#5662)

* Remove cp operation from bclconvert

Replaces cp operation with native Nextflow output path handling.

Fixes nf-core#5644

* Update modules/nf-core/bclconvert/main.nf
* working on the main.nf and meta.yml initially

* working on the main.nf and meta.yml initially

* Adding the updates to meta.yml

* Adding the latest code changes that add a working version of the tests

* Fixing the version mismatch in the docker and singularity containers

* Removing the trailing whitespaces

* Bump parabricks 4.3.0-1 + remove stageInMode (nf-core#5646)

Parabricks doesn't require stageInMode to be 'copy'

Signed-off-by: Marcel Ribeiro-Dantas <[email protected]>

* glimpse2 version bump - abandoned (nf-core#4236)

* chore(deps): update biocontainers/glimpse-bio docker tag to v2.0.1

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* The channel was renamed in nf-core#5117

* The Conda yml files need to match the container definitions

* Typo ! There was a missing s

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Louis LE NEZET <[email protected]>
Co-authored-by: Matthieu Muffato <[email protected]>

* Update pre-commit hook renovatebot/pre-commit-hooks to v37.371.1 (nf-core#5653)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Bump csvtk version to CSVTK/JOIN  and add nf-test (nf-core#5642)

* Bump csvtk new version

* Add nf-test

* Get rid of pytest

* Bump version in singularity images

* Update tests/config/pytest_modules.yml

---------

Co-authored-by: Adam Talbot <[email protected]>

* Added task.memory to meryl modules and .meryl ext for outputs (nf-core#5655)

* Stub and nf-test for fastk/fastk (nf-core#5631)

* Stub and nf-test for fastk/fastk

* Added chmod +r to add read permissions for docker

* Added a+r

* Bump csvtk version to CSVTK/SPLIT and add nf-test (nf-core#5656)

* Remove leftover of previous PR

* Bump version 0.30.0 of csvtk

* Ad nf-test for csvtk/split

* Remove csvtk/split from pytest_modules.yml

* Make lint happy

* Update path on tests

* Update modules/nf-core/csvtk/split/tests/main.nf.test

* Update modules/nf-core/csvtk/split/tests/main.nf.test

* Update modules/nf-core/viennarna/rnafold/tests/main.nf.test

Co-authored-by: Adam Talbot <[email protected]>

* Adding the corrected version of meta.yml file

---------

Signed-off-by: Marcel Ribeiro-Dantas <[email protected]>
Co-authored-by: Marcel Ribeiro-Dantas <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Louis LE NEZET <[email protected]>
Co-authored-by: Matthieu Muffato <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
Co-authored-by: Adam Talbot <[email protected]>
Co-authored-by: Usman Rashid <[email protected]>
* Add nf-test to chromap/index

* Updated snapshot and removed old tests

* Fix chromap versions and add tags

* [automated] Fix linting with Prettier

* Check genome.index exists instead of match

Co-authored-by: Jose Espinosa-Carrasco <[email protected]>

* snapshot fix

* Updated snapshot

* Add version to snapshot

* Change version to versions in snapshot

---------

Co-authored-by: nf-core-bot <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
@SPPearce
Copy link
Contributor

SPPearce commented Jun 2, 2024

@glichtenstein, I think your branch is very out of date. Can you please open a new PR with a clean history.
Closing to stop the pings to unrelated people.

@SPPearce SPPearce closed this Jun 2, 2024
@glichtenstein
Copy link
Contributor Author

@glichtenstein, I think your branch is very out of date. Can you please open a new PR with a clean history. Closing to stop the pings to unrelated people.

I am so sorry, I synced the fork before the PR but I may have missed something. Thanks for taking care of it, I really appreciate it.

@glichtenstein
Copy link
Contributor Author

new PR: #5769

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

Labels

None yet

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.