Commit graph

1851 commits

Author SHA1 Message Date
Ramprasad Neethiraj
8572bc8865
Update stub for ucsc/wigtobigwig (#2065)
update stub
2022-09-15 13:12:05 +02:00
Matthias De Smet
b63b9f752d
Fix for nested directories in tar archive (#2062)
* Fix for nested directories in tar archive

* fix untar for tar with a single directory

* prettier
2022-09-15 11:32:36 +02:00
James A. Fellows Yates
978087354e
Update METAPHLAN3_METAPHLAN3 to correct module name (#2056)
* Update main.nf

* Update meta.yml

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

* Fix MeaPhlAn3 module name

* Fix metayaml

* Fix meta.yml
2022-09-15 09:09:55 +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
Ramprasad Neethiraj
67652c7c4d
add stub to picard/addorreplacereadgroups (#2057)
add stub
2022-09-14 15:44:47 +02: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
James A. Fellows Yates
36bcd675ae
Update METAPHLAN3/MERGEMETAPHLANTABLES (#2041)
* Update main.nf

* Update meta.yml

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

* Add meta to mergemetaphlan3 tables

* Actually combine the data together
2022-09-13 14:37:46 +02:00
James A. Fellows Yates
ee0346b4d1
Update KRAKENTOOLS/COMBINEKREPORTS (#2043)
* Update main.nf

* Update meta.yml

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

* Add meta to combinekreports
2022-09-13 14:31:27 +02:00
Matthieu Muffato
d75b37fef1
Upgraded getchromsizes to support meta and output the gzi index (#2046)
* This process is single-threaded

* Added meta to match the other nf-core modules

* "custom" is not a great name

* Newer modules have a stub

* To match the other modules

* self promotion

* Output the gzi file too, if there is one

* More Fasta extensions

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-12 13:17:13 +01:00
James A. Fellows Yates
2c70c1c195
Fix duplicated input in single-end fastp command (#2034)
* Update main.nf

* Update meta.yml

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

* Removes duplicate input to single end  FASTP

* Fix md5sums

* Separate interleaved from normal SE command to continue supporting `split_by_lines`

* Simplify save_trimmed_fail

* Update modules/fastp/meta.yml
2022-09-09 11:08:52 +02: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
Daniel Lundin
e97d4cd32b
epang: Output gzipped jplace (#2037)
* Output gzipped jplace
2022-09-09 09:54:03 +02: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
James A. Fellows Yates
16eee433b8
Update MultiQC to re-add staging logos as a separate input channel (#2032)
* Update main.nf

* Update meta.yml

* Re-add logos as not staged in a way that works with MultiQC config files
2022-09-08 12:36:15 +02:00
James A. Fellows Yates
8d2fedadff
Multiqc sep logo (#2028)
* Separate MultiQC config from logo input channel

* Update meta.yml

* Update main.nf

* Add test for new check

* md5sum -> contains

* Remove logo input channel from MultiQC
2022-09-08 10:47:08 +02:00
Matthieu Muffato
73e062cf5e
Added the meta map to minimap2/index (#1934) 2022-09-08 09:27:14 +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
James A. Fellows Yates
31166227d3
Modify MULTIQC: separate logo from config file (#2027)
* Separate MultiQC config from logo input channel

* Update meta.yml

* Update main.nf

* Add test for new check

* md5sum -> contains
2022-09-08 09:12:53 +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
FriederikeHanssen
e726b1730d
MD finally supports cram output (#2019)
* MD finally supports cram output

* publish crai file

* fix test output

* fix mv

* figure out if contains breaks stuff

* remove variable checksum

* add contains check

* remove variable checksum

Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-09-07 11:04:58 +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
nvnieuwk
30102f3b20
Another update to delly/call (#2011)
small update
2022-09-05 16:06:56 +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
5a30294eec
Update for the delly/call module (#2008)
* updated the delly/call module

* Update modules/delly/call/meta.yml

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

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-05 12:09:55 +02:00
Matthias De Smet
36049bf544
Fgbio/fastqtobam (#1980)
* fix samtools stats thread usage

* fix samtools stats thread usage (#1975)

* fix samtools stats thread usage

* fix checksums

* Fix/samtools flagstat (#1979)

* fix samtools stats thread usage

* flagstat: fix threads

* Update busco to v5.4.3 and tar small files (#1970)

* Update busco to v5.4.3 and tar small files

* Fix file contain strings

* Swap md5sums to contains for variable files

* Simplify and generalize module

* add test.yml

* Update modules/fgbio/fastqtobam/meta.yml

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

* add support + tests for cram output

* more tweaks

* update test.yml

* prettier

* try to fix tests

* fix tests

* prettier

* drop checksum for cram

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
2022-09-05 11:57:55 +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
nvnieuwk
49825425bb
Update delly/call version (#1991)
updated version + added tests
2022-09-02 10:08:41 +02:00
Louis LENEZET
01d6d4c286
Creation of Glimpse Chunk (#1985)
* Creation of Glimpse Chunk
Add sub tools chunk with configuration and needed files for unitest.

* Code linting correction

* Prettier ran
Newline deleted in nextflow.config

* New final line and white spaces

* Change Pytest.yml to work as a subtool.

* Control for the parameters deleted.
Control for the size/count of the window and buffer not needed.
They have some defaults value.

* Changed the different recommended part by @nvnieuwk

Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>
2022-09-01 10:01:49 +02:00
Edmund Miller
2f1555bf77
feat(pints): Add initial caller module (#1983)
* feat(pints): Add initial caller module

* docs(pints): Add initial documentation

* chore: Add TODOs

* test(pypints): Use docker image for singularity

The image doesn't exist yet for some reason

* test(pints): Remove unidirectional peaks hash

* style(pints): Align emits
2022-08-31 14:04:48 +00:00
Moritz E. Beber
3a138c2d27
Update bracken (#1982)
* chore: update version

* tests: update use of kraken2 module
2022-08-30 15:15:48 +02:00
Matthias De Smet
ee46c19d03
new module: Picard/fastqtosam (#1911)
* add Picard FastqToSam

* Update test.yml

* update tests

* possible fix?

* fixed!

* Update modules/picard/fastqtosam/main.nf

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

* Update modules/picard/fastqtosam/main.nf

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

* simplify tests

* fix tests

* revert version check

Co-authored-by: CMGG ICT Team <ict@cmgg.be>
Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
2022-08-30 14:27:00 +02:00
Mahesh Binzer-Panchal
89a84538be
Update busco to v5.4.3 and tar small files (#1970)
* Update busco to v5.4.3 and tar small files

* Fix file contain strings

* Swap md5sums to contains for variable files
2022-08-30 10:25:01 +02:00
Matthias De Smet
bbb99cb8d6
Fix/samtools flagstat (#1979)
* fix samtools stats thread usage

* flagstat: fix threads
2022-08-29 13:11:58 +02:00
Matthias De Smet
f4eab79459
fix samtools stats thread usage (#1975)
* fix samtools stats thread usage

* fix checksums
2022-08-29 12:05:47 +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
Adam Talbot
7bfbce94b0
Added fq/lint module (#1968)
* Added fq/lint module

Additions:
 - fq/lint module, which checks paired end FASTQ files and confirms they
 are valid.

Relates to #1967

* fq/lint linting

* Correct Singularity image

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2022-08-24 10:20:39 +02:00
Ramprasad Neethiraj
a8e6a88163
update options (#1959)
* update options

* update test
2022-08-22 16:26:05 +02:00
Alexander Ramos Díaz
37c6d4a1a1
Add module: goat/taxonsearch (#1866)
* first commit

* single taxon input

* added .tsv output

* input: single taxon or file with taxon identifiers

* updated input and output

* removed wrong tool description

* added tests

* ext.args = '-l -b'

* fixed wrong input names

* updated test file

* Update modules/goat/taxonsearch/main.nf

simple version output

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>

* removed 'NO_FILE' from input definition

* added ! in if statement

* optional input: empty list

* successful updated test

* added test with file

* remove blank spaces in include {}

* added test with taxa file

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>
2022-08-18 08:34:58 -06:00
nickhsmith
454e0acc09
Mpileup intervals (#1955)
* update tests

* update

* update

* make the manta inputs consistant for germline/somatic/tumoronly

* match chromosomes to cram file (chr21)

* undo genotypegvfs

* undo genotypegvfs

* include intervals

* update md5 with interval

Co-authored-by: Smith Nicholas <smith@in.tum.de>
2022-08-16 14:16:35 +02:00
Matthieu Muffato
458f4396a6
Added support for task.ext.args (#1954)
* Added support for `task.ext.args`

* Renamed the module since it can now process any sort of BED file
2022-08-16 12:05:25 +01:00
nvnieuwk
eab173f2bb
Added java options to vardict java (#1695)
* Added java options to vardict java

* updated test.yml

* correctly added java options

* Added automatic version numbers for vardictjava

* possible fix for version number in conda

* removed the cram tests

* linting

* Update modules/vardictjava/main.nf

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

* Update modules/vardictjava/main.nf

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

* removed the version line

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
2022-08-10 14:13:03 +02:00
Ramprasad Neethiraj
94619a3faf
Add genmod (#1950)
* add annotate

* add models

* add compound

* add score

* update annotate recipe

* update meta and main

* main updates

* add test for annotate

* update all tests

* refactor

* update tests

* fix conda issue

* review suggestions
2022-08-09 14:48:29 +02:00
Annick Renevey
47cc7a77bf
add stub for stringtie (#1949)
* add stub for stringtie

* add ballgown file to test.yml

* add ballgown file to test.yml forward
2022-08-09 10:11:37 +02:00
Annick Renevey
cd22a76c78
Add stub star align genomegenerate (#1948)
* correct md5sum for updated star/samtools

* merge changes in align test.yml

* update md5sum for star genomegenerate

* update md5sum for star align
2022-08-09 09:42:19 +02:00
Annick Renevey
ac1c6ad710
add stub for picard/collectwgsmtrics (#1945)
* add stub for picard/collectwgsmtrics

* fix conda build needs to be >2.0 error and typo
2022-08-09 09:33:15 +02:00
Annick Renevey
479e0638d1
add stub for kallisto/index (#1944) 2022-08-09 09:23:55 +02:00
Annick Renevey
b034029b59
add stub for cat/fastq (#1943)
* add stub for cat/fastq

* prettier linting
2022-08-09 09:18:37 +02:00
Sofia Stamouli
734d0db607
Update module: Use report insted of results for centrifuge/kreport (#1929)
* Use report insted of results for kreport

* Update modules/centrifuge/kreport/meta.yml

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-07-27 14:24:06 +02:00
Matthieu Muffato
31409f5e72
Added the samtools/dict module (#1922)
* Added the samtools/dict module

* samtools/dict is single-threaded
2022-07-26 22:13:19 +01:00
Matthieu Muffato
30b0485912
Added support for meta in bwamem2/index (#1921)
* Added support for meta in bwamem2/index

* Added missing description of the input meta map (fasta file)

* Made bwamem2/mem aware of the meta map the index carries

* The output meta map needs to be same as the input bam file

Don't merge it with the index's

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-07-26 21:48:47 +01:00
Alexander Ramos Díaz
4ed5dc4593
new (fixed) module: entrezdirect/esearch (#1927)
* added module files

* latest version

* latest version

* latest version

* latest version

* updated test, failing

* added comment on why to use tail -n+3

* same as latest test

* moved args to the end of script

* updated test

* double quotes for esearch input

* removed tail -n+3, stderr is redirected by nextflow

* changed single to double quotes

* Update modules/entrezdirect/esearch/main.nf

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

* Update modules/entrezdirect/esearch/meta.yml

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

* Update meta.yml

removed default from database parameter

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-07-26 09:07:38 -06:00
Alexander Ramos Díaz
ad426cb18c
new (fixed) module: entrezdirect/xtract (#1926)
* first commit: module files

* last version main.nf

* modules/entrezdirect/xtract/meta.yml

* updated file

* updated test

* Update modules/entrezdirect/xtract/main.nf

changed name of output file

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

* Update modules/entrezdirect/xtract/meta.yml

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

* Update tests/modules/entrezdirect/xtract/main.nf

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>

* Update tests/modules/entrezdirect/xtract/main.nf

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>

* updated test, removed esummary input file

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>
2022-07-26 08:58:49 -06:00
Alexander Ramos Díaz
f420d97ca2
renamed output in entrezdirect/esummary: xml (#1928)
* renamed output: xml

* removed tail -n+3 from output

* removed comment

* removed blank space

* removed blank space

* updated test
2022-07-26 08:33:02 -06:00
Jasmin F
7f7f6bc913
Add module hamronization/abricate (#1925)
* Add hamronization/abricate

* Update input pattern in meta.yml

* Update location of hamronization test data

* Apply suggestions from code review
2022-07-26 12:55:53 +02:00
nvnieuwk
c363d8c37c
added gvcftools/extractvariants (#1924)
* added gvcftools/extractvariants

* linting

* Update modules/gvcftools/extractvariants/meta.yml

Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>

* Update modules/gvcftools/extractvariants/main.nf

Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>

* added uncompressed input handling

Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>
2022-07-25 13:30:35 +02:00
Luca Cozzuto
a8b0fce8ce
Tailfindr (#1904)
* adding tailfindr module

* replacing the container

* removing todo

* removing todo and fixing meta.yml

* Update modules/tailfindr/main.nf

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update modules/tailfindr/main.nf

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update modules/tailfindr/meta.yml

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update modules/tailfindr/main.nf

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update tests/modules/tailfindr/test.yml

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update modules/tailfindr/meta.yml

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update modules/tailfindr/meta.yml

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update modules/tailfindr/main.nf

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update modules/tailfindr/main.nf

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update main.nf

* Update meta.yml

* Update modules/tailfindr/main.nf

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update meta.yml

* Update main.nf

* adding pytest

* Update main.nf

* Update modules/tailfindr/main.nf

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>

* Update test.yml

* Update main.nf

* Update main.nf

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
2022-07-22 16:20:53 +02:00
Luca Traverso
c9dc0a82d0
New Module: atlas/recal (#1915)
* commit 08/07

* fixed formatting

* atlas recal commit - corrected formatting

* Fix tests

* Fix meta.yml

* Prettier

* Delete nextflow

* yaml > yml

* Delete meta.yaml

* Fix test

* Forgot to run prettier?

Co-authored-by: ltcrod <luca_traverso@kickseed.localdomain>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-07-22 15:36:53 +02:00
nvnieuwk
8656636f0d
update for bcftools merge (#1908)
* update for bcftools merge

* Update modules/bcftools/merge/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* Update modules/bcftools/merge/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* updated test.yml

* added the bed file to the main input tuple

* merged all output into one output channel

* added a test for bcf.gz output

* Update modules/bcftools/merge/main.nf

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>

* updated the tests

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
2022-07-20 11:22:51 +02:00
WackerO
8214b73700
SVDB_MERGE bgzip (#1910)
* Started (again) to work on bgzipping SVDB_MERGE output

* Updated test yml

* SVDB_MERGE now bgzips output

* Fixed singularity, renamed tests in test.yml

Co-authored-by: Cloud User <centos@oskar-instance.novalocal>
2022-07-20 10:54:06 +02:00
Adam Talbot
7e8ad56688
module FASTP: Support for interleaved FASTQ (#1891)
* 1882 FASTP now supports interleaved FASTQ files

Changes:
 - single_end FASTP pipes the FASTQ file
 - Using args, it can be configured for interleaved in `--interleaved_in`
 - Out is automatically interleaved if input is paired end.
 - Removed md5sum checks for FASTQ files as compression seemed to cause
 differences
 - Instead, we check inside the FASTQ files for content.

Relates to #1882

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
2022-07-19 16:27:15 +01:00
nvnieuwk
8d4373b4e8
added bcftools convert (#1906)
* added bcftools convert

* Update modules/bcftools/convert/main.nf

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>

* updated test.yml

* Update modules/bcftools/convert/main.nf

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>

* added automatic output type detection

* linting

* removed a trailing whitespace

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
2022-07-19 15:09:40 +02:00
Matthias De Smet
6b9a6a5b29
bamsormadup: add extra test case, fix single file input (#1905) 2022-07-19 13:52:37 +02:00
louperelo
8002e373b5
Amrfinderplus: add db-version to versions.yml (#1899)
* not yet working: add db version to versions.yml

* next try: db version number not in versions.yml

* Fix amrfinderplus versioning

* Update main.nf

* Apply suggestions from code review

* Update main.nf

* Dump version for syncrony with run

* Update test.yml

* Apply suggestions from code review

Co-authored-by: James Fellows Yates <jfy133@gmail.com>
2022-07-19 09:52:36 +02:00
Matthias De Smet
035e418369
Biobambam/bamsormadup: Fix name collision (#1900)
* Fix name collision

Add stageAs to avoid name collisions

* fix version check

* fix test
2022-07-18 15:43:02 +02:00
nvnieuwk
720027275c
small update to samtools/merge (#1896) 2022-07-18 11:37:45 +02:00
Anders Sune Pedersen
ffe0375048
DRAFT: Extend output from snpeff (#1895)
* Extending output from snpEff

* Test of additional output-files from snpEff

* Removing some md5 checks
2022-07-16 20:08:52 +02:00
SusiJo
535975eb81
Update bcftools/stats for WES (#1893)
update bcftools/stats
2022-07-15 20:55:59 +02:00
louperelo
1368164eb5
add module hamronization/amrfinderplus (#1888)
* add module hamronization/amrfinderplus

* deleted comments

* 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-07-15 10:54:42 +02:00
Júlia Mir Pedrol
9bda3dc7f0
Add new module: Pear (#1779)
* create pear module

* add command and tests

* remove md5sum from known empty file

* add force -f to gzip and gunzip to avoid problems with symbolic links

* apply suggestions from review
2022-07-15 10:28:31 +02:00
nickhsmith
edfe28a5e0
Variant recalibration (#1885)
* update tests

* update

* update

* make the manta inputs consistant for germline/somatic/tumoronly

* match chromosomes to cram file (chr21)

* undo genotypegvfs

* undo genotypegvfs

* update VariantRecalibrator

* lint

* add '--resource:' tag

Co-authored-by: Smith Nicholas <smith@in.tum.de>
Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-07-15 09:21:34 +02:00
Matthieu Muffato
9deff5222e
Fixed the MD5 checksum (#1881) 2022-07-15 08:52:03 +02:00
Mahwash Jamy
3531824af8
Update DIAMOND module to output log file (#1879)
* Update DIAMOND module to output log file

* Updating DIAMOND module to output log file - with jfy133 suggestions

Co-authored-by: Mahwash Jamy <mahwashjamy@n183-p186.eduroam.kth.se>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-07-14 16:18:28 +02:00
Alexander Peltzer
013035eb5c
Improved kbtools/count (#1884)
* Improved kbtools/count

* Update test.yml

removing TODO statements

* Update main.nf

Co-authored-by: Felipe Marques de Almeida <almeidafmarques@gmail.com>
2022-07-14 14:27:56 +02:00
WackerO
c29b3fe11a
Updated container versions for fgbio (#1878)
* Updated container versions for fgbio groupreadsbyumi and callmolecularconsensusreads

* Corrected fgbio call container, trying to fix fgbio group tests

* Removed incorrect line
2022-07-14 13:51:34 +02:00
Matthias De Smet
9294259eea
Module/bcl2fastq (#1883)
* add bcl2fastq

* test fixes

* fixed tests

* add tests to workflow

* change container source
2022-07-14 13:18:21 +02:00
Mahesh Binzer-Panchal
1de4bd46b7
Add Merqury (#1647)
* Add merqury files

* Remove md5sum for completeness stats file

* update container and test output

* Update modules/merqury/meta.yml

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

* Explicitly set thread usage for meryl

* Remove empty file md5sum

Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
2022-07-14 10:38:50 +02:00
Alexander Ramos Díaz
b4452a4881
Add ENTREZDIRECT/ESUMMARY (#1833)
* first commit

* entrezdirect/esummary fixed version definition

* resolved suggestion

* updated main.nf

* changed output definition

* output: XML file

* output definition:  XML file

* updated XML format in tests

* updated test file

* version: esummary instead of entrezdirect

* output file pattern: *.esummary.xml

* updated test file

* updated versions

* restored versions stdout

* updated test file

* changed xml_esummary pattern

* changed entrezdirect to  esummary version

* updated test file

* Update modules/entrezdirect/esummary/meta.yml

changed output file pattern: "*.xml"

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

* Update modules/entrezdirect/esummary/meta.yml

updated keywords

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

* Update modules/entrezdirect/esummary/main.nf

Output file pattern: *.xml

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

* Update modules/entrezdirect/esummary/main.nf

Output file pattern: *.xml

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

* Update modules/entrezdirect/esummary/main.nf

database as separate input channel

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

* removed blank spaces in input definition

* database as separate channel

* conditional script for stdin

* updated input definition

* entrez-direct version:16.2_1

* all input channels are separate

* ignore stderr, catch xml stdout

* removed blank lines

* added ids file input

* updated test

* conditional script for input

* removed bad definition of input file

* updated test file

* Update modules/entrezdirect/esummary/main.nf

changed input definition: ui, uids_file

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

* Update modules/entrezdirect/esummary/meta.yml

added uids_file description

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

* Update modules/entrezdirect/esummary/main.nf

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

* input: uid or uids_file

* updated input

* added uids_file to input

* input file as optional input

* input file as optional input in each test

* new conditional script

* unpdated test file

* single input definition

* added error messages

* updated test

* removed cat from command output

* Update modules/entrezdirect/esummary/main.nf

added comment on use of grep in output

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

* added comment

* removed blank spaces

* input file: empty list

* input file: empty list

* removed comment at wrong position

* optional file defined as empty list

* updated successful test

* Apply suggestions from code review

Accepted suggestions.

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>

* Update modules/entrezdirect/esummary/main.nf

Fixed comment.

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>

* Update modules/entrezdirect/esummary/main.nf

Updated grep in output file.

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>

* added tail -n+3 before output

* updated successful test

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>
2022-07-13 11:26:58 -06:00
Maxime U. Garcia
d8bef6057b
update snpeff to 5.1 and cache up to 105 (#1877)
* update snpeff to 5.1 and cache up to 105

* update dm5checksum
2022-07-13 15:16:21 +02:00
Maxime U. Garcia
973151e9ea
update ensemblvep to 106.1 and cache to 106 (#1876) 2022-07-13 13:43:03 +02:00
James A. Fellows Yates
b6ed584443
Update MOTUS/PROFILE module to output log file (#1871)
* Add saving of stderr output as a log file as it contains summary statistics

* Apply suggestions from code review
2022-07-13 11:26:27 +02:00
Sofia Stamouli
957cb9b836
Update filtlong module to output log file (#1873)
Redirect logging information to log file in filtlong module
2022-07-12 17:05:31 +02:00
James A. Fellows Yates
b78e19b9da
Update PORECHOP module to output log file (#1870)
Update porechop to output log file
2022-07-12 16:07:31 +02:00