Commit graph

12 commits

Author SHA1 Message Date
Daniel Lundin
b6f18f8733
eslreformat: descriptive suffix (#2081) 2022-09-19 09:49:00 +02:00
Daniel Lundin
847bebc0ab
Make hmmer/hmmalign output files with correct prefix (#2067) 2022-09-15 14:06:18 +02:00
Daniel Lundin
885e724e07
Add postprocessing option to hmmer/eslreformat (#2061)
* Add postprocessing option to hmmer/eslreformat

* Update tests/modules/hmmer/eslreformat/nextflow.config

Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>

* Update modules/hmmer/eslreformat/main.nf

Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>

Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
2022-09-14 18:43:50 +02:00
Daniel Lundin
8bc5236371
Add hmmer/eslreformat (#2009)
* Created hmmer/eslalimask from template

* esl-alimask module with --rf-is-mask test case

* Add optional file output

* Add hmmer to test name

* Move from process_single to process_low

* Test for versions.yml, plus content

* Prettier

* Avoid gzipping input alignment

* hmmer/eslreformat from template

* Started on main.nf

* meta.id to prefix

* Continued work

* Fix version string so it's from *this* tool

* hmmer/eslreformat

* Prettier

* Get tests/config/pytest_modules.yml back

* Delete extra hmmer/eslalimask in pytest_modules.yml

* More prettier

* Fix path to versions.yml in test

* Remove 'format' param

* Fix problems with format param deletion

* Document format param
2022-09-05 15:21:09 +02:00
Daniel Lundin
b5e3d16d80
Added hmmer/eslalimask (#1999)
* Created hmmer/eslalimask from template

* esl-alimask module with --rf-is-mask test case

* Add optional file output

* Add hmmer to test name

* Move from process_single to process_low

* Test for versions.yml, plus content

* Prettier

* Avoid gzipping input alignment

* meta.id to prefix

* Fix version string so it's from *this* tool
2022-09-05 14:01:33 +02:00
Daniel Lundin
98642619bd
Add hmmbuild (#1960)
* Fixing test.yml

* hmmbuild passing tests

* Output meta

* Linting problem

* Linting problem again

* Fix prettier

* Update modules/hmmer/hmmbuild/meta.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Fix missing prefix

* Accept mxfile param

* Output gzipped hmm

* Moved input file for test to modules branch

* Update modules/hmmer/hmmbuild/meta.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Describe mxfile

* Get LENG  80 check back

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-08-25 09:39:40 +02:00
Edmund Miller
f080015754
Prettier (#1405)
* style: Add prettier config files

* build: Add prettier vscode extension

* ci: Replace markdownlint and yamllint with prettier

* style: Run prettier

* style: Use indent of 2 for markdown as well

https://github.com/nf-core/tools/pull/1470#issuecomment-1071028358

* style: Fix indent

* style: Let editorconfig take over tab widths

* style: yaml => yml

* ci: Run prettier once

Co-authored-by: Phil Ewels <phil.ewels@scilifelab.se>

Co-authored-by: Phil Ewels <phil.ewels@scilifelab.se>
2022-03-18 14:27:50 +01:00
Moritz E. Beber
938387d10d
feat: add hmmsearch module and tests (#1273)
* feat: add hmmsearch module and tests

* chore: set medium resource requirements

* tests: look for correct output

* fix: add when condition

* Apply suggestions to meta.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* refactor: create gzip compressed output

* docs: describe compressed in-/output

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-02-23 15:32:33 +01:00
James A. Fellows Yates
f9d25aad7f
Switch to native mandatory gzipped reading for hmmalign (#1343)
* fix: remove left-over unnecessary code

* Update main.nf

* Update hmmer/hmmalign command to natively accept gzipped input

* Making @drpatelh happy

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
2022-02-23 09:59:24 +00:00
James A. Fellows Yates
a9050b8ab6
Fix test data paths for hmmer/hmmalign (#1272)
* fix: remove left-over unnecessary code

* Update main.nf
2022-02-10 13:14:44 +01:00
Harshil Patel
20d8250d9f
Update all modules to new NF DSL2 syntax (#1099)
* Add comment line for consistency

* Remove all functions.nf

* Remove include functions.nf and publishDir options

* Replace options.args3 with task.ext.args3 - 3 modules

* Replace options.args3 with task.ext.args3 - 17 modules

* Replace {task.cpus} with task.cpus

* Replace off on off off off off off off off on off on off on off off off on off off off on on off off off on on off off off off off off off on off off off off on off on on off off off on on on on off off off on off on on off on on off off on on on off on on off on off off off off on off off off on off off on off on off off off on on off on off on off off on off off off on off off off on off off off off on off off off on on on off on on off off on off on on on off on on off on on on off off off off off on on off off on off off off off off on off off on on off on on off on off off off on off off off off on on off on off off on off off on off on off off off off off off off off on on off on off off off.args with

* Add def args = task.ext.args line to all modules in script section

* Replace options.args with args and args_list

* Initialise args2 and args3 properly

* Replace container syntax

* Revert container changes for cellranger/mkref

* Replace getProcessName in all modules

* Replace getSoftwareName in all modules

* Unify modules using VERSION variable

* Replae options.suffix with task.ext.suffix

* Remove NF version restriction for CI

* Bump NF version in README

* Replace task.process.tokenize logic with task.process

* Minor tweaks to unify syntax in tests main.nf

* Add a separate nextflow.config for each module

* Transfer remaining module options to nextflow.config

* Remove addParams from tests main.nf

* Remove TODO statements

* Use -c to import module specific config

* Bump NF version to 21.10.3

* Fix tests for artic/minion

* Fix broken publishDir syntax

* Standardise and fix obvious failing module tests

* Remove kronatools to krona

* Comment out tags in subworkflow test.yml

* Fix failing module tests

* Add consistent indentation to nextflow.config

* Comment out subworklow definitions

* Fix kallistobustools/ref

* Fix rmarkdownnotebook

* Fix jupyternotebook

* Quote task.process

* Add plink2/vcf to pytest_modules.yml

* Remove NF_CORE_MODULES_TEST from pytest CI

* Fix more tests

* Move bacteroides_fragilis to prokaryotes folder

* Fix cooler merge tests

* Fix kallistobustools/count tests

* Fix kallistobustools/ref tests

* Update test_10x_1_fastq_gz file for kallistobustools/count tests

* Fix bcftools/query tests

* Fix delly/call tests

* Fix cooler/zoomify tests

* Fix csvtk/split tests

* Fix gatk4/intervallisttools tests

* Fix gatk4/variantfiltration

* Fix pydamage/filter tests

* Fix test data for unicycler

* Fix gstama/collapse module

* Fix leehom tests

* Fix metaphlan3 tests

* Fix pairtools/select tests

* Update nextflow.config

* Update nextflow.config

* feat: update syntax

* Fix arriba tests

* Fix more failing tests

* Update test syntax

* Remove comments from tests nextflow.config

* Apply suggestions from code review

* Fix kallistobustools/count module

* Update dumpsoftwareversions module

* Update custom/dumpsoftwareversions

* Add args2 to untar module

* Update leftover modules

* Remove last remaining addParams

Co-authored-by: JoseEspinosa <kadomu@gmail.com>
Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
Co-authored-by: MaxUlysse <max.u.garcia@gmail.com>
2021-11-26 07:58:40 +00:00
Harshil Patel
e937c7950a
Rename software/ directory to modules/ to re-organise module structure (#567)
* Update README

* Rename pytest_software.yml to pytest_modules.yml

* Rename main software directory to modules

* Remove deprecated modules

* Rename tests software to modules

* Replace paths for tests in pytest_modules.yml

* Replace software with modules in Github Actions

* Replace software with modules in main.nf tests

* Rename software to modules in test.yml
2021-07-07 10:10:18 +01:00