Commit Graph

3401 Commits (master)
 

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>
2 years ago
FriederikeHanssen 5e7b1ef9a5
Reduce resource requests (#2021)
use process_single

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
nvnieuwk 30102f3b20
Another update to delly/call (#2011)
small update
2 years ago
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
2 years ago
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
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
Robert A. Petit III f881eb7950
[update] bump Bakta to 1.5.0 (#2000)
bump Bakta to 1.5.0
2 years ago
nvnieuwk a509eda8a4
New module: Whamg (#1994)
* added whamg

* linting

* linting
2 years ago
nvnieuwk 49825425bb
Update delly/call version (#1991)
updated version + added tests
2 years ago
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>
2 years ago
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
2 years ago
James A. Fellows Yates 409a308ba4
Improves kraken2 output glob (#1987)
* Improves kraken2 output glob

* Further strictness

* Further improvements
2 years ago
Simon Pearce 9d489648a7
Set PYTHONHASHSEED for umitools dedup (#1932)
Set PYTHONHASHSEED

Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk>
2 years ago
Moritz E. Beber 3a138c2d27
Update bracken (#1982)
* chore: update version

* tests: update use of kraken2 module
2 years ago
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>
2 years ago
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
2 years ago
Matthias De Smet bbb99cb8d6
Fix/samtools flagstat (#1979)
* fix samtools stats thread usage

* flagstat: fix threads
2 years ago
Matthias De Smet f4eab79459
fix samtools stats thread usage (#1975)
* fix samtools stats thread usage

* fix checksums
2 years ago
Lucpen baa2845d28
Included args option in picard AddOrReplaceReadGroups (#1973)
feat included args option in picard addorreplacereadgroups
2 years ago
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>
2 years ago
Maxime U. Garcia d0ff29fca3
typo in bwamem2 index meta.yml (#1963)
Update meta.yml

fix typo
2 years ago
Maxime U. Garcia ed69667dc6
Update pytest-workflow.yml (#1969)
typo
2 years ago
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>
2 years ago
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>
2 years ago
Ramprasad Neethiraj a8e6a88163
update options (#1959)
* update options

* update test
2 years ago
Matthieu Muffato ed82766696
Use a newer container version because the previous one is broken (#1933) 2 years ago
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>
2 years ago
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>
2 years ago
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
2 years ago
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>
2 years ago
Annick Renevey 53108b6b51
add stub for qualimap/rnaseq (#1946)
Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Annick Renevey 479e0638d1
add stub for kallisto/index (#1944) 2 years ago
Annick Renevey b034029b59
add stub for cat/fastq (#1943)
* add stub for cat/fastq

* prettier linting
2 years ago
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>
2 years ago
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>
2 years ago
Matthieu Muffato 31409f5e72
Added the samtools/dict module (#1922)
* Added the samtools/dict module

* samtools/dict is single-threaded
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago