Commit graph

1940 commits

Author SHA1 Message Date
Jasmin F
d79433dcac
Apply suggestions from code review
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-27 10:08:07 +02:00
James A. Fellows Yates
f03afbd337
Merge branch 'master' into antismash_db_output 2022-04-27 08:30:50 +02:00
Harshil Patel
85ec13ff1f
Add Trimgalore output for unpaired reads (#1568)
* Add Trimgalore output for unpaired reads

* Use glob instead of outprefix
2022-04-26 19:15:24 +01:00
James A. Fellows Yates
5bf24cdad7
Merge branch 'master' into antismash_db_output 2022-04-26 17:16:28 +02:00
jasmezz
134272c7ee Add missing container folders as output channels 2022-04-26 17:04:57 +02:00
Sofia Stamouli
1f77bc130b
Update minimap2/align module (#1537) 2022-04-26 16:32:20 +02:00
Jose Espinosa-Carrasco
6a46e7cf11
Allow to pass arguments to the phantompeakqualtools script itself (#1562)
* Allow to pass arguments to the script itself

* Place args2 correctly

* Define args2 aaaaarrrrgggg

* Testing locally before commiting is a good practice

* Update modules/phantompeakqualtools/main.nf

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

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-04-25 19:07:43 +02: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
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
Jose Espinosa-Carrasco
b3e56c83c6
Remove task.cpus from the command (#1559) 2022-04-22 15:29:49 +01:00
Harshil Patel
6d88f2da8c
Rename process from STRINGTIE to STRINGTIE_STRINGTIE (#1546)
* Rename process from STRINGTIE to STRINGTIE_STRINGTIE

* Bump Stringtie version to 2.2.1 and remove empty files in tests

* Fix tests for stringtie/merge

Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>
2022-04-22 15:13:06 +01:00
Harshil Patel
9aadd9a6d3
Replace vanilla Linux Biocontainer with Ubuntu (#1557) 2022-04-22 14:50:07 +01:00
Matthias De Smet
c17d1a7a7b
fix output glob (#1552) 2022-04-22 13:04:41 +02:00
Matthias De Smet
b1749445d7
fix output glob (#1551) 2022-04-22 12:50:17 +02:00
Sofia Stamouli
538dbac98b
Kaiju2table module (#1545)
* Add kaiju2table module
2022-04-22 11:26:30 +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
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
35231d3949
update picard/collecthsmetrics (#1542)
* update picard/collecthsmetrics

* syntax fixes, bugfixes

* add tests

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
2022-04-22 10:13:57 +02:00
Ramprasad Neethiraj
c7329a3a57
add stubs for stranger (#1543) 2022-04-22 10:10:43 +02:00
Lucpen
12afb6b0fa
Update samtools view to add input path(index) (#1539)
* feat added index as input, to allow module to be used for subsampling

* fix test

* feat added index to meta.yml

* Update modules/samtools/view/meta.yml

feat corrected description of idea pattern file in meta.yml

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-22 10:01:47 +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
Francesco L
abe025677c
update to kraken2: breaking change - output channels renamed (#1525)
* updated kraken2 module to include optional classification of each input reads, and make fastq outputs optional
NB: this is a breaking change, because the output channels have been renamed as a consequence of changes

* updated yml

* pigz command made optional, in order to be executed only if fastq of classified/unclassified reads are saved

* updated test yaml file for kraken2

* fixed TODOs and renamed variables and outputs

* untar in conda cannot keep same md5sum of version, and therefore md5sum check removed

* improved description of the options

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-21 14:33:59 +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
Anders Jemt
a6cb75174b
Add variant catalog ch to stranger (#1508)
* Add optional variant catalog input

* fix for no variant catalog test

Co-authored-by: ljmesi <37740329+ljmesi@users.noreply.github.com>
Co-authored-by: Lauri Mesilaakso <john.mesilaakso@gmail.com>
2022-04-19 10:53:39 +02:00
Matthias Hörtenhuber
c7def8707b
fix incorrect yaml formatting. (#1264) 2022-04-14 13:35:01 +02:00
Sofia Stamouli
be4ae28c3c
Add centrifuge_kreport module (#1514) 2022-04-13 15:33:51 +02:00
Maxime U. Garcia
e04970b7d2
typo in command line (#1523) 2022-04-13 15:15:44 +02:00
Sofia Stamouli
8856f127c5
Update input in kaiju_kaiju module (#1522) 2022-04-13 14:53:08 +02:00
Maxime U. Garcia
4f5274c3de
feat: remove read_group which should be set up with task.ext.args (#1521)
* feat: remove reat_group which should be set up with ext.args

* fix: simplify dragmap command
2022-04-13 14:30:34 +02:00
Sofia Stamouli
39b4b45ba0
Update test_data.config to include kaiju.tar.gz (#1520) 2022-04-13 13:31:32 +02:00
Maxime U. Garcia
409af2f27c
Improve syntax/logic coherence in all gatk4 plugins (#1459)
* feat: code polishing

* Apply suggestions from code review

Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>

* code polishing

* more code polishing

* code polishing

* tests for applybqsrspark

* fix typo

* no need to check md5sum for versions.yml

* fix: use correct syntax

* code polishing again

* add tests for markduplicatesspark

* simplify mergevcfs tests

* add tests for baserecalibratorspark

* fix: path to entry

* code polishing

* fix linting

* simplify module

* update meta.yml

* fix pair mode

* fix: MITO mode

* more tests

* fix command

* bad copy paste

* fix typos

* fix tests

* fix test

* update meta.yml

* correct versions.yml in all test.yml

* code polishing

* code polishing

* more code polishing

* fix args

* add tmpdir for all

Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-04-12 17:15:39 +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
FriederikeHanssen
ffedf09b6e
Revert manta changes (#1518)
* Fix typo

* Revert to have target bed matched with sample info

* Add comment on design decision
2022-04-12 10:40:06 +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
FriederikeHanssen
897c33d5da
Samtools version update (#1507)
* Fix typo

* update version to 1.15.1

* Fix md5sums

* update mulled containers

* update md5sums

* update md5sums
2022-04-11 14:26:28 +02:00
Michael L Heuer
8dc680d3b3
Update dsh-bio to version 2.0.8. (#1483) 2022-04-09 11:13:47 -05: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
FriederikeHanssen
9ae34a01d1
Fix Controlfreec: Add stub runs to test single sample input & make conda work with R scripts (#1504)
* Fix typo

* Add stub runs for testing input without matched normals

* Add missing -stub-run

* remove empty file checksum tests and change workflow names

* test controlfreec naming

* fix output file names

* fix output file names

* fix output file names

* fix conda and container path difference for R scripts

* update tar version to work with conda

* fix version number in docker

* try to fix path to script, pretty sure it won't work

* try new ways to set path with wildcard

* try which

* add which but with escape

* remove comment
2022-04-08 11:43:40 +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
Matthias De Smet
797ce3254e
Update: biobambam/bammarkduplicates2 to v2.0.183 (#1493)
* bump version, remove md5sums from test

* re-add md5sums
2022-04-05 11:06:46 +02:00