-
Notifications
You must be signed in to change notification settings - Fork 735
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
New module: checkqc #4158
New module: checkqc #4158
Conversation
could you work on the failing tests and reach us out on nf-core/nf-test slack channel if you need help. cheers |
Yes, will look into that, thank you! |
* Code refactoring for mitohifi input * Fix md5sum * Fix md5sum for versions * Bring back md5sum value * Update md5sum again * Remove md5sum * Bring back versions.yml * It looks like $HOME needs be writable in the container. Trying mounting it * Add test for reads * Update modules/nf-core/mitohifi/mitohifi/main.nf Refactor the mitohifi command line Co-authored-by: Solenne Correard <[email protected]> * Fix md5sums --------- Co-authored-by: Ksenia Krasheninnikova <[email protected]> Co-authored-by: Matthieu Muffato <[email protected]> Co-authored-by: Solenne Correard <[email protected]>
* Adding module sentieon/tnfilter * WIP: CI-tests for sentieon/tnfilter. (test-data just local for now.) * Skipping conda-based test of sentieon/tnfilter * Remove avail_mem stuff. * Fix description of output vcf * Using test-data from nf-core test-datasets repo * add tests for sentieon/tnfilter
* nf-test for pycoqc. snapshots for versions and json['All reads'] * tags.yml * test naming conventions. Fix indentation. Add test for html output --------- Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
* update bclconvert to 4.2.4 * regenerate snapshot
* ci(renovate): Change schedule to monthly and pinDigests https://emmer.dev/blog/keep-docker-base-images-updated-with-renovate/#default-renovate-config * ci(renovate): Add security PRs immediately https://emmer.dev/blog/keep-docker-base-images-updated-with-renovate/#custom-renovate-config * ci(renovate): Just use best-practices https://docs.renovatebot.com/presets-config/#configbest-practices * ci(renovate): Set PR hourly limit to 3 * ci(renovate): Add conda support Ulthran/ShotgunUnifrac#22 * ci(renovate): Add pre-commit * ci(renovate): Request modules instead of maintainers * ci(renovate): Don't scan the meta.ymls
…a to v0.27.0 (nf-core#4256) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…nf-core#4257) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* new module picard/scatterintervalsbyns * update annotsv to 3.3.6 * update installannotations * fix all modules conda declaration
chore(config): migrate config .github/renovate.json5 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
nf-core#4220) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…f-core#4231) * new module picard/scatterintervalsbyns * update annotsv to 3.3.6 * update installannotations * try to fix linting with nf-test * small change to trigger tests * fix if statement * also test pytest * remove nf-test exclude from linting * try for a conda fix * revert last commit * Update .github/workflows/test.yml Co-authored-by: Adam Talbot <[email protected]> * temporarily reactivate pytest for vardictjava * run fastp test * revert test triggers --------- Co-authored-by: Adam Talbot <[email protected]>
* new module picard/scatterintervalsbyns * update annotsv to 3.3.6 * update installannotations * nf-test rtgtools rocplot * remove pytest tag * update according to comments * Update modules/nf-core/rtgtools/rocplot/tests/main.nf.test Co-authored-by: Adrien Coulier <[email protected]> * Update modules/nf-core/rtgtools/rocplot/tests/main.nf.test * update conda declaration --------- Co-authored-by: Adrien Coulier <[email protected]>
Emit crai file for CRAM file
…re#4214) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* We should use "error" rather than "exit 1" * Fixed the syntax * Removed the quay.io prefix since it is the default registry
…4259) * chore(deps): update biocontainers/goat docker tag to v0.2.5 * Version bump (across all 3 package systems) * Fixed the type of the "taxon" parameter * Updated the test md5 * Added me as a maintainer since GoaT is (partly) in my team --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Matthieu Muffato <[email protected]>
…se (nf-core#4245) change ndb to nin Co-authored-by: Damon-Lee Pointon <[email protected]>
* add nf-tests and snapshots for kallisto index & quant * rm kallisto tags from pytest_modules.yml * Update modules/nf-core/kallisto/index/tests/main.nf.test Co-authored-by: Adam Talbot <[email protected]> * Update modules/nf-core/kallisto/quant/tests/main.nf.test Co-authored-by: Adam Talbot <[email protected]> * Update modules/nf-core/kallisto/quant/tests/main.nf.test Co-authored-by: Adam Talbot <[email protected]> * update kallisto quant * Update modules/nf-core/kallisto/index/tests/main.nf.test Co-authored-by: Adam Talbot <[email protected]> * Update modules/nf-core/kallisto/quant/tests/main.nf.test Co-authored-by: Adam Talbot <[email protected]> * Update modules/nf-core/kallisto/quant/tests/main.nf.test Co-authored-by: Adam Talbot <[email protected]> * Update modules/nf-core/kallisto/quant/tests/main.nf.test Co-authored-by: Adam Talbot <[email protected]> * remove superfluous quote marks * fix linting --------- Co-authored-by: Adam Talbot <[email protected]> Co-authored-by: mashehu <[email protected]>
* Add Kmer coverage to module output * Update test.yml * Update modules/nf-core/genescopefk/meta.yml Co-authored-by: Matthieu Muffato <[email protected]> * Add bash directive * Fix whitespace --------- Co-authored-by: Matthieu Muffato <[email protected]>
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.
Hi @atrigila ,
Instead of removing the conda config, if the bioconda installation is being unreliable, one options would be to also use pip here as in the containers so to also have it:
name: checkqc
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python=3.9 # whathever version is needed
- pip
- pip:
- custom-pkg1
- custom-pkg2
Would be worthy to check in the nf-core slack channel if this would be accepted or if other solutions would be proposed.
@nf-core-bot fix linting pretty please |
@fmalmeida adding the
This was observed in this module as well. In addition, even when removing versions, the conda tests do not pass due to │ Test [a030344b] 'homo_sapiens illumina test_interop_bcl2fastqstats_flowcell - QC OK' FAILED (16.366s) │
│ │
│ Assertion failed: │
│ │
│ 2 of 2 assertions failed │
│ │
│ Nextflow stdout: │
│ │
│ ERROR ~ Error executing process > 'UNTAR (1)' │
│ │
│ Caused by: │
│ Failed to create Conda environment │
│ command: conda env create --prefix │
│ /workspace/modules/.nf-test/tests/a030344b93d4d35baf2381e4cf0f249f/work/conda/untar-6ec82032d38a28f610b86307ce4a0ff3 --file │
│ /workspace/modules/./modules/nf-core/checkqc/tests/../../untar/environment.yml │
│ status : 1 │
│ message: │
│ Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open shared object file: No such file or directory) │
│ Retrieving notices: ...working... done │
│ │
│ CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic │ |
Hi @atrigila , I see. Then unfortunately I think the best is to keep the env.yml file using the bioconda installation, however, using the same version that is used in the container. And then, just remove the conda testing profile from the CI, since the container executions work. |
@fmalmeida I think I prefer to stick to the current version as it specifically states that it is installed from pip. Since there is at least other module that has this same linting issue, and I think this will be addressed in the future, I would ask core-members @edmundmiller and @FloWuenne:
|
disable in nf-test not in pytest
conda CI is properly disabled. |
Adding new module checkQC. Related to issue: #4011
Depends on nf-core/test-datasets#1024 for tests to work.
Note: The CheckQC version used in the module is not the latest. I was forced to use an old one since there is an issue with the biocontainers for more recent ones. I aim to fix this and make a PR to upgrade to that version later.
PR checklist
Closes #4011
versions.yml
file.label
PROFILE=docker pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware
PROFILE=singularity pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware
PROFILE=conda pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware