Commit graph

422 commits

Author SHA1 Message Date
James Fellows Yates
44ed38beb8 Merge branch 'diamond-update' of github.com:jfy133/nf-core-modules into diamond-update 2022-04-29 21:06:09 +02:00
James Fellows Yates
39530b5ca7 Bump DIAMOND version to 2.0.15 2022-04-29 21:05:12 +02:00
Matthias De Smet
a7ed1477ee
Merge branch 'master' into tool/elprep-merge 2022-04-28 21:14:30 +02:00
JIANHONG OU
cdefbec669
add kimporttext module (#1560)
* add kimporttext module

* fix the Prettier error.

* fix the Prettier error.

* fix the test.yml

* fix the test.yml

* Update modules/krona/ktimporttext/meta.yml

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

* Update modules/krona/ktimporttext/meta.yml

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

* Update modules/krona/ktimporttext/meta.yml

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

* Update modules/krona/ktimporttext/meta.yml

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

* Update modules/krona/ktimporttext/meta.yml

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

* update the test files;
simplify the main script of krona/ktimporttext.

* update the test file url for krona ktimporttext

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-28 08:16:26 -04:00
Harshil Patel
1b5d3f5ac2
Bump STAR version to 2.7.10a for RSEM modules (#1573)
* Bump STAR version to 2.7.10a for RSEM modules

* Fix tests
2022-04-27 19:21:26 +01:00
Maxime U. Garcia
569e07f0af
add samtools/bamtocram modules (#1561)
* add new samtools/bamtocram module

* fix md5sum

* remove md5sum

* Update modules/samtools/bamtocram/main.nf

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-25 14:32:49 +02:00
Matthias De Smet
978f665c0a
Merge branch 'master' into tool/elprep-merge 2022-04-24 10:08:29 +02:00
Sateesh Peri
378fa5fbb4
new module: GAMMA (#1532)
* initial version of gamma module

* remove trailing whitespace

* prettier fix

* hardcode version number

* Update modules/gamma/main.nf

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

* Update modules/gamma/main.nf

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

* Update modules/gamma/meta.yml

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

* update meta and prettier

* add whitespaces

* add fasta output and tests

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-23 10:12:06 -04:00
Jasmin F
9957689568
Add missing bacteroides_fragilis genome.gbff.gz (#1558)
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-22 17:51:18 +02:00
Matthias De Smet
b4d2e374a0
Merge branch 'master' into tool/elprep-merge 2022-04-22 11:35:48 +02:00
Sofia Stamouli
538dbac98b
Kaiju2table module (#1545)
* Add kaiju2table module
2022-04-22 11:26:30 +02:00
Matthias De Smet
4af5be8de3
Merge branch 'master' into tool/elprep-merge 2022-04-22 11:10:23 +02:00
Matthias De Smet
9e3daae8ef
New module: elprep filter (#1524)
* first commit

* syntax fix

* fix input

* output sam during test for md5sum

* replace md5sum with contains

* add new test data, add extra in/outputs

* cli fixes

* fix outputs

* Update modules/elprep/filter/main.nf

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

* Update modules/elprep/filter/meta.yml

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

* Update modules/elprep/filter/meta.yml

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

* fix suggestions by @jfy133

* Bit more verbose explanation for bool vals

* define variables

* fix prettier

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-22 11:08:03 +02:00
Matthias De Smet
a1757897cb
Merge branch 'master' into tool/elprep-merge 2022-04-22 10:20:59 +02:00
Matthias De Smet
90b203d3e9
Tool/elprep split (#1533)
* tool: elprep split

* fixes for testing

* fix tests

* fix test outputs

* create test-yaml

* fix suggestions by @jfy133

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-22 10:20:05 +02:00
Matthias De Smet
f4c69bc427
Module/bclconvert (#1485)
* bclconvert: initial commit

* add most of tool

* attempt at adding testing stub

* add dockerfile + instructions

* add container to module

* update readme

* more attempts at making stubs work

* finish stub run

* fix ci issues

* more fixes to stub

* add read version check to stub

* fix some tests

* update readme

* fix version number

* syntax fix

* revert edit to output directory

* Update modules/bclconvert/meta.yml

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

* Update modules/bclconvert/meta.yml

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

* update meta.yaml

* update thread usage

* Update modules/bclconvert/main.nf

Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com>

* Escape env variable

* Update modules/bclconvert/Dockerfile

Co-authored-by: Mark Whelan <7407040+MrMarkW@users.noreply.github.com>

* fix comments by @Emiller88

* fix task.cpus

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com>
Co-authored-by: Mark Whelan <7407040+MrMarkW@users.noreply.github.com>
2022-04-21 15:39:22 +02:00
Jasmin F
d07d270743
Antismashlite download databases (#1426)
* Create module antismashlitedownloaddatabases

* Corrected user-specification of database directory

* Updated test.yml

* Apply suggestions from code review

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

* Fix typo in test.yml

* Feed database files via docker/singularity mount)

* Add external db file mounts to the containers

* Fixed docker command in main.nf

* Apply prettier

* Apply prettier and add PWD

* Add more output to test.yml

* Add more output paths to test.yml

* Fixed test.yml

* Apply suggestions from code review

Add documentation of why we need to mount files to the containers.

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

* Fix code linting errors (remove trailing whitespaces)

* Fix code linting error (remove trailing whitespace)

* Fix errors from Prettier linting

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-21 10:38:17 +02:00
Maxime U. Garcia
37bf3936f3
add decompress possibilities to bgzip (#1540)
* add decompress possibilities to bgzip

* spacing
2022-04-20 16:26:56 +02:00
louperelo
6c45773c0b
add module AMPlify (#1498)
* add module AMPlify

* Apply suggestions from code review

Thanks for the review!

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

* removed trailing whitespaces

* Apply suggestions from code review

Thanks again!

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

* Apply suggestions from code review

Thank you for the suggestions!

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Apply suggestions from code review

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* including review suggestions

* fix versions.yml

* add model_dir input

* add model_dir to meta.yml

* complete faa pattern in meta.yml

* add fa.gz to pattern

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-20 11:53:26 +02:00
Maxime U. Garcia
705f8c9ac4
Add samtools/collatefastq module (#1536)
* add samtools/collatefastq module

* update yml file

* improve output
2022-04-20 10:05:17 +02:00
Maxime U. Garcia
7630e278f3
update gatk4 yml for spark (#1538) 2022-04-19 16:51:59 +02:00
Matthias De Smet
553c1bcf9d
Merge branch 'master' into tool/elprep-merge 2022-04-19 11:28:04 +02:00
Sofia Stamouli
39b4b45ba0
Update test_data.config to include kaiju.tar.gz (#1520) 2022-04-13 13:31:32 +02:00
Matthias De Smet
0f7c046477 first commit 2022-04-13 12:51:17 +02:00
Matthias De Smet
b59713e623
Tool/snap aligner single (#1510)
* first commit

* add tool

* fix tests

* fix indents

* Update modules/snapaligner/single/meta.yml

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

* fix comments

* fix versions

* prettier

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-12 11:20:35 +02:00
Matthias De Smet
09125979cc
Tool/snap aligner paired (#1509)
* first commit

* edit main.nf

* edit tests

* run prettier

* fix test

* indent script

* Update modules/snapaligner/paired/meta.yml

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

* Update modules/snapaligner/paired/meta.yml

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

* fix version nr

* update meta

* fix versions

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-12 11:02:10 +02:00
James A. Fellows Yates
2d38566eca
Add MEGAN/RMA2INFO (#1513)
* fix: remove left-over unnecessary code

* Add megan/rma2info

* Attempt at fixing test

* Right yml formatting

* Get the versios reporting correct
2022-04-12 08:35:36 +02:00
Matthias De Smet
d4160c669b
Tool/crosscheckfingerprints (#1505)
* first commit

* first commit

* update test.yml

* update test.yml

* Update modules/picard/crosscheckfingerprints/main.nf

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

* Update modules/picard/crosscheckfingerprints/main.nf

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

* add support for vcf haplotype maps

* update test

* update test data config, use test data

* fix exit code

* Update modules/picard/crosscheckfingerprints/main.nf

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* Update modules/picard/crosscheckfingerprints/main.nf

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* remove unused stub

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
2022-04-08 10:02:10 -04:00
Matthias De Smet
e19a9a2474
new tool: staden_io_lib (#1499)
* new tool: staden_io_lib

* update docker containers

* add test.yml

* add fai index input

* typo

* fix version.yml

* update md5sum

* omit md5sum for cram

* move scramble to submodule

* add missing in/output

* remove some comments

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
2022-04-08 09:54:15 -04:00
Matthias De Smet
f57f085912
new tool snap-aligner/index (#1506)
* add snapaligner/index

* output fixes

* fix outputs

* fix tests

* update inputs

* fix more bugs

* fix linting

* Update modules/snapaligner/index/main.nf

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

* Update modules/snapaligner/index/main.nf

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

* fix comments

* fix indents

* fix escaping

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-08 14:41:08 +02:00
Lucpen
f079367416
Picard liftover vcf (#1431)
* Building Picard liftovervcf module

* Building Picard liftovervcf module_test

* Building Picard liftovervcf pytest

* Module for picard liftover vcf created

* Fixed files after linting test

* Fixed trailing whitespace

* Checked files with prettier

* further formatting with prettier

* Fixed test.yml

* Fixed input variable names

* Changed contain test.liftef.vcf

* Changed contain in test.yml test.liftef.vcf

* Run prittier

* Going back to previous version of test.yml

* downgrading picard to 2.26.10 from 2.26.11

* Update modules/picard/liftovervcf/main.nf

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* Update modules/picard/liftovervcf/main.nf

Print available memory

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* Output from .vcf to .vcf.gz

* Added spaces to align emit

* Update modules/picard/liftovervcf/meta.yml

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* Update modules/picard/liftovervcf/meta.yml

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* Update modules/picard/liftovervcf/meta.yml

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* Removing md5sum test

Co-authored-by: jemten <jemten@users.noreply.github.com>
Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-04-07 07:50:58 -04:00
Sofia Stamouli
d2726fcf75
Update centrifuge/centrifuge (#1495) 2022-04-07 11:46:34 +02:00
Matthias De Smet
dc95e67e15
New tool: biobambam/bamsormadup (#1478)
* add bamsormadup

* fix yaml

* add test.yml

* Update tests/modules/biobambam/bamsormadup/test.yml

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

* test meta.yaml: remove md5sums

* Tool bamsormadup:
- add (optional) reference input
- add bam index ouput
- add cram output option
- make metrics output: more general

* fix input and output formats

* update input file description

* drop sam output, goes against nf-core regs; add input check for cram files

* fix typo

* Update modules/biobambam/bamsormadup/main.nf

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

* improve ref fasta name

* fix if else shorthand

* fix syntax error

* kind of fix tests

* set fixed suffix for metrics file to keep it in line with picard and bammarkduplicates2

* fix command line

* update test.yml

* add support for multiple input bams

* Update modules/biobambam/bamsormadup/meta.yml

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

* Update modules/biobambam/bamsormadup/meta.yml

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

* Update tests/modules/biobambam/bamsormadup/test.yml

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-06 08:18:23 +02:00
James A. Fellows Yates
f1c5384c31
Add PRINSEQPLUSPLUS (#1481)
* fix: remove left-over unnecessary code

* Add prinseq++

* Remove last todo

* Fix tests due to variability of output FASTQs (reads can be ordered differently between runs)

* Apply suggestions from code review
2022-04-03 16:06:22 +02:00
James A. Fellows Yates
8ce6810787
Update DASTool to 1.1.4 (#1471)
* fix: remove left-over unnecessary code

* Update DASTool

* Fix tests

* Fix test.ymls

* Fix container build version

* Make tests less strict to account for variability

* Apply suggestions from code review

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

* Add missing description

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
2022-04-01 11:33:07 +02:00
Jose Espinosa-Carrasco
5e7daa7b96
Add task.ext.args to phantompeakqualtools and finish the module (#1474)
* Add --max--ppsize option

* Add args to phantompeakqualtools and all the missing files (test, yml, ...)

* Fix tests

* Add the nextflow.config

* Fix tests
2022-03-31 22:59:21 +01:00
Sébastien Guizard
794f84534b
New Module: gstama/polyacleanup (#1468)
* 📦 NEW: Add gstama/polyacleanup

polyacleanup script remove remaining polyA tails from FLNC reads (Pacbio isoseq3)

* 🐛 FIX: Prettier: replace simple quote by double quote

* 🐛 FIX: Update TEMPLATE to nf-core 2.4

* 👌 IMPROVE: Compress outputs

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
2022-03-31 09:11:51 -04:00
Moritz E. Beber
0de6406217
feat: add module for seqkit stats (#1466) 2022-03-30 23:01:17 +02:00
Tanja Normark
1f483d9203
Add kaiju_kaiju module (#1448)
* Added kaiju_kaiju module

* Update modules/kaiju/kaiju/main.nf

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

* Update modules/kaiju/kaiju/main.nf

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

* Update modules/kaiju/kaiju/meta.yml

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

* Update keywords

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

* Update output file naming

* Update output file naming

* update spacing for lint

* Update input file patterns

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-03-28 14:28:50 +02:00
FriederikeHanssen
5acf301ddd
add freec2circos script (#1454)
* add freec2circos script

* remove todo statements
2022-03-26 21:25:29 +01:00
FriederikeHanssen
28e5211b35
add makegraph script (#1452)
* add makegraph script

* allow renaming of output files

* allow renaming of output files
2022-03-25 20:49:08 +01:00
FriederikeHanssen
8a64e73af2
add freec2bed script (#1453) 2022-03-25 20:31:52 +01:00
FriederikeHanssen
4efa8da5c5
controlfreec significance (#1451)
* controlfreec significance

* move freec files to own subfolder

* Fix meta.yml naming

* Fix meta.yml naming

* Fix linting

* Forgot to refactor

* forgot more refactoring

* Too much refactoring on output paths

* Too little refactoring here

* update checksum
2022-03-25 18:22:17 +01:00
Edmund Miller
7111e571cc
Split preseq lcextrap and ccurve (#1440)
* fix(preseq): Update lcextrap file name

* chore(preseq): Bump lcextrap image

* feat: Initialize preseq c_curve

* docs(preseq): Update documentation
2022-03-25 17:11:40 +00:00
Simon Pearce
a066456735
Add tests for umitools extract and dedup (#1429)
* NGSCheckMate v1

* Add some tests for UMItools

* Added tests for dedup

* Include pytest

* Delete main.nf

* Delete meta.yml

* Delete main.nf

* Delete nextflow.config

* Delete test.yml

* add prettier

* Add direct test on bam

* Update tests/modules/umitools/dedup/main.nf

Co-authored-by: Edmund Miller <edmund.a.miller@gmail.com>

* Update tests/modules/umitools/dedup/main.nf

Co-authored-by: Edmund Miller <edmund.a.miller@gmail.com>

* Update tests/config/pytest_modules.yml

Co-authored-by: Edmund Miller <edmund.a.miller@gmail.com>

* Not ignore-umi

Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk>
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
Co-authored-by: Edmund Miller <edmund.a.miller@gmail.com>
2022-03-25 14:25:07 +00:00
Edmund Miller
98ed71c8f6
feat(homer): Add pos2bed module (#1435)
* feat(homer): Add pos2bed module

* test(homer): Pass bed format

* test(homer): Add upstream dependencies to avoid regressions

* Update modules/homer/pos2bed/main.nf

Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-03-25 13:29:36 +00:00
Edmund Miller
e3a5795652
Homer/findpeaks improvements (#1436)
* fix(homer): Update expected file path to improve caching

* docs(homer): Update findpeaks

* test(homer): Add maketagdirectory dependency

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-03-25 02:44:12 +00:00
Robert A. Petit III
d16f1ea4d7
add module for panaroo, fix pirate tests (#1444)
* add module for panaroo

* update pirate test yaml

* update panaroo test yaml

* update pirate test yaml md5s

* Update main.nf

* Update main.nf

* pin bioperl version
2022-03-24 20:11:04 -06:00
Edmund Miller
6806cd1de9
feat(bbmap): Initialize pileup module (#1441)
* feat(bbmap): Initialize pileup module

* test(bbmap): Update outputs

* test(bbmap): Add pileup tags

* style(bbmap): Add in when

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-03-24 17:38:24 -06:00
Moritz E. Beber
9c386c5dd8
Add bracken (#1423)
* feat: add template for Bracken

* chore: update version

* refactor: change command build

* refactor: rename report variable, change quotes

* docs: remove refactored input parameter

* fix: correctly assign arguments to options

* tests: set up single and paired end tests

* style: apply prettier

* chore: change data sources to official ones

* refactor: rename test workflows

* tests: use correct input to the new UNTAR module

* chore: update md5sums
2022-03-22 16:40:21 +01:00