Commit graph

3351 commits

Author SHA1 Message Date
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
FriederikeHanssen
5e7b1ef9a5
Reduce resource requests (#2021)
use process_single

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
2022-09-07 10:33:05 +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
Robert A. Petit III
f881eb7950
[update] bump Bakta to 1.5.0 (#2000)
bump Bakta to 1.5.0
2022-09-02 15:15:12 -06: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
James A. Fellows Yates
409a308ba4
Improves kraken2 output glob (#1987)
* Improves kraken2 output glob

* Further strictness

* Further improvements
2022-08-31 15:42:44 +02:00
Simon Pearce
9d489648a7
Set PYTHONHASHSEED for umitools dedup (#1932)
Set PYTHONHASHSEED

Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk>
2022-08-31 14:05:12 +01: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
Lucpen
baa2845d28
Included args option in picard AddOrReplaceReadGroups (#1973)
feat included args option in picard addorreplacereadgroups
2022-08-25 11:06:02 +01: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
Maxime U. Garcia
d0ff29fca3
typo in bwamem2 index meta.yml (#1963)
Update meta.yml

fix typo
2022-08-24 10:31:05 +02:00
Maxime U. Garcia
ed69667dc6
Update pytest-workflow.yml (#1969)
typo
2022-08-24 10:24:47 +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
Matthieu Muffato
11cf45043c
Newer container version because the previous one is misconfigured (#1961)
The previous one raises the warning
> WARNING: Skipping mount /path/to/singularity-v3.9.0/var/singularity/mnt/session/etc/resolv.conf [files]: /etc/resolv.conf doesn't exist in container

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-08-22 21:01:13 +01:00
Ramprasad Neethiraj
a8e6a88163
update options (#1959)
* update options

* update test
2022-08-22 16:26:05 +02:00
Matthieu Muffato
ed82766696
Use a newer container version because the previous one is broken (#1933) 2022-08-22 11:18:09 +01: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
Annick Renevey
53108b6b51
add stub for qualimap/rnaseq (#1946)
Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>
2022-08-09 15:24:35 +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
James A. Fellows Yates
5644df8d43
Update module: Gecco fix to no file generated if no hits found (#1930)
* Make gene and cluster TSVs optional output in case no hits found

* update indicating optional output

* Apply suggestions from code review

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

Co-authored-by: Jasmin F <73216762+jasmezz@users.noreply.github.com>
2022-07-27 15:19:43 +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
ce06694af8
Added support for ext.args in samtools/faidx (#1919)
ext.args was not used in the actual command-line

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-07-26 21:51:47 +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