Commit graph

1831 commits

Author SHA1 Message Date
Matthieu Muffato
07e2868920
Added an output channel for the gzi index (#2036)
* When the `-i` option of bgzip is given, an index is created and needs to be considered an output

* It is not necessary to use a subfolder

* Updated meta.yml too

* Also check that an index name hasn't been requested

Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-09-26 21:47:41 +02:00
Matthieu Muffato
de7b50fdd0
Updated dumpsoftwareversions.py to match the pipeline template (#2045)
* Updated dumpsoftwareversions.py to match the pipeline template

* Fixed the test

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-09-26 18:45:07 +01:00
Matthieu Muffato
f0a86eaf5b
Multithreaded samtools commands (#2080)
* Multithreaded samtools commands

* Updated the checksums since the BAM files include the actual command line

Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
2022-09-26 17:44:36 +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
Alexander Ramos Díaz
9d5ad1894b
2012 bug related to species input in goattaxonsearch module (#2099)
* updated input for taxon

* updated test_single_species

* updated test file

* run prettier on test.yml

* updated label process_low

* restored lable process_single

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>
2022-09-23 10:58:40 -06:00
Priyanka Surana
09159edc9e
Update samtools view (#2098)
* samtools view update

* remove csi output

* prettier

* update meta

* add index functionality

* prettier

* fixed test checks
2022-09-23 16:52:01 +02:00
Priyanka Surana
402631fdaa
Update samtools view (#2096)
* samtools view update

* remove csi output

* prettier

* update meta
2022-09-23 13:03:59 +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
Daniel Lundin
58ee946ca6
gappa/examineassign: Explicitly output two optional files (#2086)
* gappa/examineassign: Explicitly output two optional files

* Check versions.yml for md5 sum instead
2022-09-22 15:04:32 +02:00
Priyanka Surana
22e144dc63
samtools markdup module (#2087) 2022-09-21 15:39:10 +01:00
SusiJo
41dfa13929
Fix bcftools/stats module (#1953)
* test verified commit bcftools

* adjust tests

* add suggestions

* test for actual file content
2022-09-21 16:10:38 +02: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
James A. Fellows Yates
90aef30f43
Set process label to process_single for modules with no task.cpus usage (#2076)
* Set process label to `process_single` for modules with no `task.cpus` usage

* Fix tests of 'borked' modules

* prettier

* More modules are single-threaded and can use process_single

* Adding process_single to hmmer/esl* modules

* Fix failing tests

* Prettier

Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>
Co-authored-by: Daniel Lundin <erik.rikard.daniel@gmail.com>
2022-09-19 11:54:47 +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
Daniel Lundin
b6f18f8733
eslreformat: descriptive suffix (#2081) 2022-09-19 09:49:00 +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
Rafal Stepien
38383cfaef
Update eido/validate module (#2071)
* Update eido/validate module

* Update modules/eido/validate/meta.yml

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-16 09:00:03 -04:00
Rafal Stepien
9764eef361
Update eido/convert module (#2072)
* Update eido/validate module

* Update modules/eido/convert/meta.yml

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-16 08:54:40 -04:00
Matthias De Smet
b98f1b77d1
Bump bcl-convert version (#2077)
* Update main.nf

* update test.yml

* prettier
2022-09-16 14:34:52 +02:00
James A. Fellows Yates
54ff289487
Update mOTUs to remove now unused channel (#2075)
* 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
2022-09-16 10:23:21 +02:00
James A. Fellows Yates
8372df6fb2
Update MOTUS/MERGE (#2068)
* Update main.nf

* Update meta.yml

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

* Add meta to mOTUs merge

* Put tests back to use downloaded db

* Apply suggestions from code review

* Fix test text string

* md5sum -> contains

* Update nextflow.config
2022-09-15 19:45:43 +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
Ramprasad Neethiraj
513b5fcab9
update stub for svdb/merge (#2066)
update stub

Co-authored-by: Annick Renevey <47788523+rannick@users.noreply.github.com>
2022-09-15 14:20:09 +02:00
Daniel Lundin
847bebc0ab
Make hmmer/hmmalign output files with correct prefix (#2067) 2022-09-15 14:06:18 +02:00
James A. Fellows Yates
4b1d4bf401
Update MULTIQC for an additional custom config (#2063)
* Update main.nf

* Update meta.yml

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

* Add support for secondary custom configs
2022-09-15 13:53:15 +02:00
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