Commit graph

725 commits

Author SHA1 Message Date
c7a5ae140b
Initial nf-core modules emboss/seqret 2022-09-29 14:25:27 -05:00
Priyanka Surana
504028346b
samtools fasta module (#2128) 2022-09-29 08:10:44 +01:00
Harshil Patel
b3e322064e
[POC] Get subworkflows working again - bam_stats_samtools (#2097)
* [POC] Get subworkflows working again - bam_stats_samtools

* Comment out aliased anchors

* Add explicit anchor to pytest_modules.yml

* test(subworkflows): Remove anchors

There are two options to get the tests to trigger:

1. Add the module anchors to the subworkflows (less things to update and maintain because we only have to update the module triggers)

2. Add the tags to the pytest workflow spec.

This is option 2.

Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com>
2022-09-28 19:20:20 +01:00
Matthias De Smet
b5aa12ad3b
new module: samtools/getrg (#2123)
* new module: samtools/getrg

* add output file to stub

* add missing config

* Intentionally break prettier linting

* [automated] Fix linting with Prettier

Co-authored-by: Phil Ewels <phil@seqera.io>
Co-authored-by: nf-core-bot <core@nf-co.re>
2022-09-28 14:00:10 +02:00
Aida Andrades Valtueña
0bdd589163
New Module: endorspy (#1916)
* added module endorspy and test

* added endorspy

* Fixed spaces and remove unnecessary lines from test

* added extra new line to test.yml

* added a prefix to to avoid name collision

* Update modules/endorspy/main.nf

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

* Update modules/endorspy/meta.yml

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

* Update modules/endorspy/meta.yml

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

* Update modules/endorspy/meta.yml

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

* Update modules/endorspy/meta.yml

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

* Update modules/endorspy/meta.yml

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

* Update modules/endorspy/meta.yml

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

* Update modules/endorspy/meta.yml

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

* Apply suggestions from code review

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

* Apply suggestions from code review

* Update modules/endorspy/main.nf

* Apply suggestions from code review

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-28 11:28:11 +02:00
Michael L Heuer
ee5f59705f
Adding new module gfaffix (#1149)
* Adding new module gfaffix.

* add missing entry to pytest_modules.yml

* update to 0.1.4--hec16e2b_0

* fixup after prettier

* add when section

* update md5sum

* Change to process_single as discussed

Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
Co-authored-by: Simon Heumos <simon.heumos@qbic.uni-tuebingen.de>
2022-09-28 10:23:18 +02:00
Chase Mateusiak
786279b473
New Module: NextGenMap (#1938)
adding nextgenmap module

Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
2022-09-27 20:44:47 +01:00
James A. Fellows Yates
daab0a77dd
Add HAMRONIZATION/FARGENE and updates all HARMONIZATION tools to 1.1.1 (#2107)
* Update main.nf

* Update meta.yml

* Re-add logos as not staged in a way that works with MultiQC config files

* Update main.nf

* Remove now unnecessary input channel

* Remove unused channel from tests

* Update hAMRonization to 1.1.1 and add hAMRonization farGene

* Fix hamronizatio ntests

* Prettier

* Fix fargene linting

* Correct file

* Fix fargene output

* Apply suggestions from code review

Co-authored-by: Jasmin F <73216762+jasmezz@users.noreply.github.com>

* Fix summarise tests

* Prettier

Co-authored-by: Jasmin F <73216762+jasmezz@users.noreply.github.com>
2022-09-27 15:32:18 +02:00
James A. Fellows Yates
1780cf9bcf
Add: ANGSD_DOCOUNTS (#2044)
* Update main.nf

* Update meta.yml

* Re-add logos as not staged in a way that works with MultiQC config files

* Add ANGSD doCounts

* Prettier

* Update main.nf

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Try loosening test due to conda

* Remove md5 for binary file

Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
2022-09-27 13:21:44 +02:00
Harshil Patel
82501fe6d0
Fix broken Quast module and bump MultiQC version in dumpsoftwareversions (#2108) 2022-09-27 09:35:52 +01:00
nvnieuwk
5d8edefb26
new module gatk4/printsvevidence (#2103)
* new module gatk4/printsvevidence

* linting

Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
2022-09-27 08:30:16 +02:00
Francesco Lescai
77d5dd60eb
Adding module bamtools stats (#2104)
* added bamtools stats module and tested

* added bamtools stats module and tested

* fixing prettier complaints

* changed process tag to single
2022-09-27 06:24:43 +01:00
Simon Heumos
1d668eefa2
Bump seqwish/induce to v0.7.6 (#2083)
* Update seqwish to version 0.7.2

* seqwish can work with a comma-separated list of PAFs

* level with nf-core/modules master branch

* update seqwish/induce to v0.7.6

* add pangenome test data

* test seqwish/induce v0.7.6 with pangenomics test data

* we already have pointed to the pangenomics test data sets

* update paths to test data

* add path to bgzipped fa, gzi, fai

* remove one tab

* remove one tab

* actually execute the 2nd test

* try to fix versions.yml

* pangenomic tests can be run in their own subworkflow

* maybe the csv input is the problem

* remove space as suggested by Rike

* csv input was not the problem

* update test.yml

* typo

* enable pangenome tests

* add md5sum for pangenomic test

* Update tests/modules/seqwish/induce/test.yml

Co-authored-by: Gisela Gabernet <gisela.gabernet@gmail.com>

* PAF input is a list of files

* beautify comment

Co-authored-by: Michael L Heuer <heuermh@acm.org>
Co-authored-by: Gisela Gabernet <gisela.gabernet@gmail.com>
Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
2022-09-26 17:01:21 +01:00
Guoying Qi
8e21005d53
Add blast/tblastn module (#2092)
* cherry pick the module files from sanger-tol branch and update the test data from official nf-core test datasets

* Update modules/blast/tblastn/main.nf, align the emit

Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>

Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>
2022-09-26 17:43:41 +02:00
Robert A. Petit III
e3e61068c1
add module for seroba (#1816)
* add module for seroba

* fix lint

* Update modules/seroba/run/meta.yml

Co-authored-by: Sébastien Guizard <sguizard@ed.ac.uk>

* Update modules/seroba/run/main.nf

Co-authored-by: Sébastien Guizard <sguizard@ed.ac.uk>
2022-09-26 16:06:08 +01:00
Robert A. Petit III
6d6e3a018f
add module for mykrobe predict and genotyphi parse (#1818)
* add module for mykrobe predict and genotyphi parse

* Update meta.yml

Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
2022-09-26 15:18:04 +01:00
Jeanette Tångrot
32ad1746d1
New module: Vsearch sintax (#2094)
* Add vsearch sintax process

* Add tests for vsearch sintax

* Add vsearch sintax process

* Add tests for vsearch sintax

* Update format with prettier

* Remove trailing whitespace

Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>
2022-09-26 14:45:01 +01:00
Daniel Lundin
0857e6c60f
Adding gappa/examineheattree (#2084)
* Adding gappa/examineheattree

* Update modules/gappa/examineheattree/meta.yml

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

* Check versions.yml for md5 sum instead

Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
2022-09-22 15:51:25 +02:00
Priyanka Surana
22e144dc63
samtools markdup module (#2087) 2022-09-21 15:39:10 +01:00
Priyanka Surana
ab4c2e440d
samtools collate module (#2078)
* samtools collate module

* prettier fix

* prettier fix

* added cram functionality
2022-09-21 14:12:59 +01:00
Ashot Margaryan
d8ba32c6b5
Somalier relate (#2001)
* Working version of somalier relate

* few changes

* new changes

* corrected test.yml

* updated container paths and file paths

* changed container and inputFile paths

* changed left padding

* requested changes

* Update modules/somalier/relate/main.nf

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

* Update modules/somalier/relate/main.nf

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

* Update modules/somalier/relate/main.nf

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

* Update modules/somalier/relate/main.nf

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

* Update modules/somalier/relate/meta.yml

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

* Update modules/somalier/relate/meta.yml

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

* Update modules/somalier/relate/meta.yml

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

* requested changes

* requested changes

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-19 13:22:24 +02:00
Daniel Lundin
46ad627a73
Add gappa/examineassign (#2079)
* Created gappa/examineassign from template

* Test passing

* Run only when taxonomy is set

* Revert adding taxonomy to when

* Add period after prefix

* Fix test

* Add some keywords

* Add one more keyword
2022-09-19 11:49:42 +02:00
Ashot Margaryan
f62e4cf5f0
Added Somalier extract module (#1986)
* Added Somalier extract module

* changed somalier_dbg4 to somalier for versions.yml

* added  and minor changes in meta.yml

* Apply suggestions from code review

* Update main.nf

* Typo in quay.io rl

* updated the input

* new updates

* linting

* linting

* changed the test.yml

* Update modules/somalier/extract/main.nf

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

* Update modules/somalier/extract/main.nf

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

* Update modules/somalier/extract/meta.yml

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

* Update modules/somalier/extract/main.nf

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

* Update tests/modules/somalier/extract/main.nf

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

* Update modules/somalier/extract/main.nf

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

* Update tests/modules/somalier/extract/test.yml

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

* last changes

* Update modules/somalier/extract/meta.yml

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

* Update modules/somalier/extract/meta.yml

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

* Update modules/somalier/extract/main.nf

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-19 08:58:17 +02:00
Edmund Miller
4963ca0570
Add bases2fastq (#2054)
* feat(bases2fastq): nf-core modules create

* test(bases2fastq): Update tests

* docs(bases2fastq): Update meta.yml

* test: Add untar rundir
2022-09-15 13:50:33 +00:00
Lucpen
cad9133c71
Add haplogrep2 (#2030)
* feat added haplogrep classify

* feat made module

* fix added correct container

* feat removed md5sum

* fix trying to fix issue with version.yml

* fix some small things

* fix version

* fix on meta.yml

* fix stub run

* fix Apply suggestions from code review

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* fix Apply suggestions from code review2

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

Co-authored-by: Taniguti <ltaniguti@gmail.com>
Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>
2022-09-14 14:58:02 +02:00
James A. Fellows Yates
393dbd6dda
Update UNTAR to account for file-only or multi-directory tar archives (#2055)
* Update main.nf

* Update meta.yml

* Re-add logos as not staged in a way that works with MultiQC config files

* Fix when only files or multiple directories

* Add test for only-files tar

* Fix bash check
2022-09-14 10:40:45 +02:00
Rafal Stepien
c9b29c7686
Add eido/convert module (#2051)
* Add eido/convert module

* Run prettier

* Update modules/eido/convert/main.nf

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

* Update modules/eido/convert/main.nf

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

* Update extension format

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-13 12:17:29 -04:00
Rafal Stepien
2456ef7d99
Add eido/validate module (#2048)
* Add eido/validate module

* Apply first batch of updates after code review

* Remove readlink, update sed, update paths

* Move sample table index parameter to config

* Update tests/modules/eido/validate/test.yml

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

* Update tests/modules/eido/validate/test.yml

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

* Update tests/modules/eido/validate/test.yml

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

* Update tests/modules/eido/validate/test.yml

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

* Update modules/eido/validate/main.nf

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-13 10:27:28 -04:00
nvnieuwk
65800cee75
new module gatk4/collectsvevidence (#2039) 2022-09-09 10:58:47 +02:00
Matthieu Muffato
c736d26b7e
bedToBigBed AutoSql option (#1981)
* Added missing "ucsc" tags (as per the convention)

* Added support for the -as input file

* Added a test
2022-09-09 09:27:47 +01:00
Matthieu Muffato
4f78d40b11
New module: fasta_windows (#1956)
* New module for fasta_windows

* Upgraded the code and the test to v2.4

* Standard list of Fasta file extensions

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

* Output file (and/or directory) names SHOULD just consist of only ${prefix}

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-09 08:41:38 +01:00
Daniel Lundin
b444b084fa
Add gappa/examinegraft (#2035) 2022-09-09 09:26:41 +02:00
nvnieuwk
bf09fdf892
new module: svtk/standardize (#2031)
* new module: svtk/standardize

* linting

* fixed tests
2022-09-08 15:03:08 +02:00
Matthieu Muffato
3eb99152ce
Added the optional .gzi output of "samtools faidx" (#1935) 2022-09-08 13:35:23 +01:00
Daniel Lundin
74b569b66a
Add epang/place (#2023)
* Created epang module from template

* Module seems to be working

* Namechange to epang_place

* Move model to meta map

* Fix linting problems

* Prettier

* Forgot --threads!

* Moved module to epang

* Move reference file params

* Directory output

* Make all args optional

* Added inputs for three other types of file arguments

* Update modules/epang/main.nf

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

* Add directory to output doc, reorder the other

* Make model specification less hardcoded

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-08 10:05:57 +02:00
Robert A. Petit III
1ade577ef6
add snippy/core module (#1855)
* add snippy-core module

* Update modules/snippy/core/meta.yml

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

* Update tests/modules/snippy/core/main.nf

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

* Update tests/modules/snippy/core/main.nf

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

* Update modules/snippy/core/main.nf

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

* Update main.nf

* update test

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-08 06:58:10 +02:00
Robert A. Petit III
a5976c50be
add module for pbptyper (#2005)
* add module for pbptyper

* add optional database parameter
2022-09-07 15:29:03 -06:00
James A. Fellows Yates
940d7fe9d6
Move MetaPhlAn3 to a subcommand and add mergemetaphlantables (#2026)
* Move MetaPhlAn3 to a subcommand and add mergemetaphlantables

* Add mergemetaphlantables tests

* Add mergemetaphlantables to test config

* Apply suggestions from code review

* Revert now unnecessary input channel name change and now document

* Update modules/metaphlan3/mergemetaphlantables/main.nf

* Require database directory and more details in description
2022-09-07 21:58:03 +02:00
Robert A. Petit III
3ef618fed2
add module for pasty (#2003)
* add module for pasty

* run prettier

* line up those commas

* Update main.nf
2022-09-07 09:29:28 -06:00
louperelo
eae945721d
new module: deepbgc/pipeline (#2014)
* not working yet (db not found)

* modify deeparg/download module to return db-path

* 🪄

* Prettier

* add test.yml

* much prettier

* test.yml delete md5 for pot. empty files

* adapt test.yml

* test.yml again

* Apply suggestions from code review

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-07 14:59:01 +02:00
nvnieuwk
f2264c1052
New module: scramble (#2015)
* added scramble/clusteridentifier

* linting

* added cluster_analysis

* added a comment to the mei ref

* added reference comments

* linting
2022-09-07 13:19:18 +02:00
James A. Fellows Yates
d27b7a6fda
Add bracken/combinebrackenoutputs (#2022)
* Add combinebrackenoutputs

* Prettier and relax tests contains

* Apply suggestions from code review

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-09-07 09:18:21 +02:00
James A. Fellows Yates
fe3e18eaee
Add krakentools/combinekreports (#2018)
* Add krakentools_combinekreports

* Update test.yml

* Update main.nf

* Update tests/modules/krakentools/combinekreports/test.yml

* Prettier

* Update modules/krakentools/combinekreports/main.nf

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-09-06 11:32:30 -06:00
louperelo
04dfb65335
Deepbgcdownload (#2010)
* deepbgc_download first version

* with test.yml

* Apply suggestions from code review

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

* Apply suggestions from code review

* delete trailing whitespace main.nf

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-05 16:51:21 +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
Adam Talbot
e7845e2472
1976 msisensor2 (#1977)
* msisensor2: Add msisensor2 module

* msisensor2/scan module added

* msisensor2 tests added

Changes:
 - tests added for msisensor2 from the msisensor2 github repo. No
 available tests from NF-Core test repo.

Relates to #1976

* msisensor2 slight bump in stuff

* msisensor2: Replaced spelling of 'tumour' with 'tumor'

* msisensor2: fix linting, testing and containers

Relates to #1976

Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-09-05 13:00:18 +02:00
nvnieuwk
09acfad211
new module gatk4/collectreadcounts (#1998)
* added the module

* updated test.yml

* Update modules/gatk4/collectreadcounts/main.nf

Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>

* small fix

* tests update

* linting

* tests update (again)

Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-09-05 10:49:13 +02:00
tamuanand
57b43ed3de
New module - BBMap clumpify (#1978)
* Update meta.yml by fixing html pattern expected 

Fixed html pattern typo:

Before: pattern: "*.thml"

After fix: pattern: "*.html"

* main.nf for bbmap_clumpify

* meta.yml for bbmap_clumpify

* bbmap/clumpify via Gitpod and @mahesh-panchal guide

* small changes to tests

* explicit mention of output file pattern - *.clumped.fastq.gz

* Update modules/bbmap/clumpify/main.nf

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>

* Update modules/bbmap/clumpify/main.nf

Accepted @mahesh-panchal suggestions

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
2022-09-05 08:23:08 +02:00
nvnieuwk
a509eda8a4
New module: Whamg (#1994)
* added whamg

* linting

* linting
2022-09-02 13:33:48 +02:00