Commit graph

1236 commits

Author SHA1 Message Date
Nicolas Vannieuwkerke
9df830f79d Added the .bai and .fai files 2022-04-28 10:23:07 +02:00
Matthias De Smet
b92efb7abf add nextflow.config 2022-04-28 10:21:47 +02:00
Matthias De Smet
881e9db4bf update tests 2022-04-28 10:19:30 +02:00
Matthias De Smet
433aaece46
Update tests/subworkflows/nf-core/bam_qc_picard/main.nf
Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2022-04-28 10:05:31 +02:00
Nicolas Vannieuwkerke
db43095b1a Split the bed file into a seperate input 2022-04-28 09:18:15 +02:00
nvnieuwk
1fd4719e9d
Merge branch 'master' into vardict-java 2022-04-28 09:09:07 +02:00
Matthias De Smet
8303c509fe
Merge branch 'master' into subwf/bam_qc 2022-04-28 08:57:24 +02:00
Jill V. Hagey, PhD
b0c5f9422b
tmp/ to changed to output/ 2022-04-27 20:21:41 -04:00
Jill V. Hagey, PhD
a575b91254
Update test.yml 2022-04-27 19:54:33 -04:00
Jill V. Hagey, PhD
5b6d4fdace
Merge branch 'nf-core:master' into srst2/srst2 2022-04-27 18:19:18 -04:00
jvhagey
839ee59ca1 adding srst2 module 2022-04-27 18:01:28 -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
Robert A. Petit III
30bd93602f
Merge branch 'master' into rp3-add-shigatyper 2022-04-27 11:37:13 -06:00
Maxime U. Garcia
10ca39a86f
add intervals possibilities to splitncigarreads (#1571) 2022-04-27 16:03:44 +02:00
Matthias De Smet
d9b2c6af1a
Merge branch 'master' into vardict-java 2022-04-27 14:04:05 +02:00
Nicolas Vannieuwkerke
7956d38e61 Fixed the test on nextflow level 2022-04-27 13:18:46 +02:00
Jasmin F
61e740f79c
Add antismash download DB: missing container folders as output channels (#1567)
* Add missing container folders as output channels

* Apply suggestions from code review

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

* Update tool name

* Update test output checksum

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-27 12:40:04 +02:00
nvnieuwk
dc62de1a78
Merge branch 'master' into vardict-java 2022-04-27 11:17:33 +02:00
Nicolas Vannieuwkerke
024c992ca7 created the module 2022-04-27 11:12:58 +02:00
Sofia Stamouli
1f77bc130b
Update minimap2/align module (#1537) 2022-04-26 16:32:20 +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
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
Matthias De Smet
c3f13fdaf6
Merge branch 'master' into tool/bamtools-split 2022-04-22 19:36:18 +02:00
Matthias De Smet
e9c44f3d85
Update tests/modules/bamtools/split/test.yml
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-04-22 19:35:34 +02:00
Matthias De Smet
6efb022f69
Update tests/modules/bamtools/split/test.yml
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-04-22 19:34:44 +02:00
Matthias De Smet
b73662c8d9
Update tests/modules/bamtools/split/main.nf
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-04-22 19:34:32 +02:00
Robert A. Petit III
4e21cb95ca
Merge branch 'master' into rp3-add-shigatyper 2022-04-22 10:26:29 -06: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
Robert A. Petit III
a83202e710
Merge branch 'master' into rp3-add-shigatyper 2022-04-22 08:49:50 -06: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
CMGG ICT Team
3bcae8e71e fix testing errors 2022-04-22 15:19:52 +02:00
CMGG ICT Team
b4af3f1475 test fixes 2022-04-22 15:02:41 +02:00
Sateesh Peri
8f2561c07f
Merge branch 'master' into rp3-add-shigatyper 2022-04-22 09:01:36 -04:00
Matthias De Smet
d293cffc6a update tests 2022-04-22 14:42:43 +02:00
Matthias De Smet
d617a50371 add extra test 2022-04-22 14:39:25 +02:00
Matthias De Smet
e37b982bd7
Merge branch 'master' into subwf/bam_qc 2022-04-22 13:38:23 +02:00
CMGG ICT Team
9a2dad935c update config 2022-04-22 13:13:39 +02:00
Matthias De Smet
a6e7ecb3a3
Merge branch 'master' into tool/bamtools-split 2022-04-22 13:07:16 +02:00
Matthias De Smet
d57024ddc0
Merge branch 'master' into tool/elprep-merge 2022-04-22 13:05:30 +02:00
Matthias De Smet
c17d1a7a7b
fix output glob (#1552) 2022-04-22 13:04:41 +02:00
Matthias De Smet
d9348f3714
Merge branch 'master' into tool/bamtools-split 2022-04-22 13:04:16 +02:00
Matthias De Smet
b1749445d7
fix output glob (#1551) 2022-04-22 12:50:17 +02:00
Matthias De Smet
fefffb9bb0 fix output glob 2022-04-22 12:36:32 +02:00
Matthias De Smet
20728acde6
Merge branch 'master' into tool/bamtools-split 2022-04-22 11:57:22 +02:00
Matthias De Smet
b4d2e374a0
Merge branch 'master' into tool/elprep-merge 2022-04-22 11:35:48 +02:00
CMGG ICT Team
8dad38afc7 fix test.yml 2022-04-22 11:35:14 +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
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
Robert A. Petit III
47d8d476b8
make prettier 2022-04-21 12:55:56 -06:00
Robert A. Petit III
0095bc91f7 add module for shigatyper 2022-04-21 18:49:42 +00: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
Matthias De Smet
d85f9c7011 add subworkflow bam_qc_picard 2022-04-21 13:16:23 +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
bddb88dfaf
Merge branch 'master' into tool/bamtools-split 2022-04-19 15:33:49 +02:00
Matthias De Smet
07982d6cb1 fix command line, fix meta.yml 2022-04-19 15:31:39 +02:00
Matthias De Smet
b35264e919 bugfixes 2022-04-19 15:11:37 +02:00
Matthias De Smet
553c1bcf9d
Merge branch 'master' into tool/elprep-merge 2022-04-19 11:28:04 +02:00
Matthias De Smet
ccef7f8579 alignment 2022-04-19 11:26:01 +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
JIANHONG OU
ee04fc2737 add module motus_downloaddb 2022-04-14 12:56:42 -04:00
Sofia Stamouli
be4ae28c3c
Add centrifuge_kreport module (#1514) 2022-04-13 15:33:51 +02:00
Sofia Stamouli
8856f127c5
Update input in kaiju_kaiju module (#1522) 2022-04-13 14:53:08 +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
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
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
Moritz E. Beber
879d42c5e2
Refactor adapterremoval (#1491)
* refactor: insert .fastq file extensions

* style: insert whitespace

* refactor: create paired output

* refactor: rename settings from log

Requested by @jfy133

* tests: correct expected output

* fix: remove settings option due to default

* chore: rename output patterns

* refactor: omit paired files in single-end

* refactor: rename output to settings
2022-04-04 21:40:35 +02:00
Edmund Miller
13cc32399c
feat(homer): Add groseq subworkflow (#1492)
* feat(homer): Add groseq subworkflow

* fix(homer): Update groseq paths

* test(homer): Update groseq bam md5sums

* test(homer): Update bed process args wildcard

* test(homer): Update groseq bed md5s

* style: Run prettier

* style(homer): Align comments

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

* docs(homer): Add groseq meta.yml

Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-04-04 18:21:37 +00:00
Sofia Stamouli
6a11c5a222
Fix untar for centrifuge (#1472) 2022-04-04 10:18:11 +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
Ramprasad Neethiraj
67c1bc9568
Add stubs to cnvpytor module (#1473)
* callcnvs stub and tests

* partition stub and test

* histogram stub and test

* importreaddepth stub and tests

* update module scripts

Co-authored-by: Sima Rahimi <sima.rahimi@gu.se>
2022-04-01 17:35:15 +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
Ramprasad Neethiraj
eeda4136c0
Update cat module (#1469)
* fix cat stub

* add test

* commit suggestions

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
2022-03-31 13:42:44 +02:00
Moritz E. Beber
0de6406217
feat: add module for seqkit stats (#1466) 2022-03-30 23:01:17 +02:00
Ramprasad Neethiraj
fd5f6f5f4f
Revert recent changes made to some of the modules (#1463)
* revert changes to modules

* fix tests

* fix kraken2

* fix untar

* fix cat

* add blank lines

* fix typo
2022-03-30 20:21:06 +02:00
Jose Espinosa-Carrasco
dbb46c9b63
Bump chromap version 0.2.1 (#1462) 2022-03-29 16:44:19 +02:00
Ramprasad Neethiraj
49b18b1639
add stub to modules used in raredisease pipeline (#1206)
* add stub section

* add stub for bcftools norm

* add stub to more modules

* fix expansionhunter tests

* revert changes -picard

* Update stub to write version no.s to a file

* add picard

* revert picard again

* add stubs to more modules

* fix bwamem2

* add bcftools view

* add stubs

* fix svdb query

* review suggestions
2022-03-28 17:48:39 +02:00
James A. Fellows Yates
240ee4328c
Dastool update to allow non-gzipped inputs (#1458)
* fix: remove left-over unnecessary code

* Make gzipping optional for DAS_Tool scaffolds2bin

* Add optional unzipping

* Make gunzip optional for DAS_Tool scaffolds2bin

* Apply suggestions from code review

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

* Update modules/dastool/scaffolds2bin/meta.yml

Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
2022-03-28 16:29:46 +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
Edmund Miller
5832fbc225
Fix homer/maketagdirectory output collision (#1456)
* fix(homer): Update tagdir to have a prefix

Otherwise they have a naming collision

* test(homer): Update paths

* style(homer): Align ,'s

* chore(homer): Update md5sums
2022-03-27 03:17:42 +00: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
27936729f2
Add samtools to homer/maketagdirectory to use bam files (#1437)
* fix(homer): Update dependancies for maketagdirectory

Closes #1363

* test(homer): Add tests for bam usage

* style(homer): Rename meta test

* fix(homer): Update args order and add missing \\

* docs(homer): Add DESeq2 and edgeR

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

* test(homer): Update md5sum

* test(homer): bam => sam

* fix(homer): Use nextflow conda recipe instead of biocontainers with commas

Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-03-25 17:13:30 +00: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
1fb1801dcb
refactor(homer): Update output path for bedGraph (#1438)
This allow for caching because otherwise it modifies the tag directory input
2022-03-25 13:54:09 +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
FriederikeHanssen
3d31fa4d04
CAT: Use meta map and supply output file name via modules.config (#1446)
* Use meta map and supply output file name via modules.config

* Remove all def declarations to make it work

* update tests & remove extra .

* fix ze tests

* update meta.yml with meta map info

* add tag line now that meta is available
2022-03-25 14:01:57 +01:00
FriederikeHanssen
b5825fe6b3
Mpileup also likes intervals (#1445)
* Mpileup also likes intervals

* Also update meta yml with inclusive input and intervals

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-03-25 07:46:51 +01: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
Robert A. Petit III
dfbb0bc17c
update bakta to latest version (v1.4.0) (#1428)
* update bakta to latest version (v1.4.0)

* Update test.yml

* remove empty file md5sums

* bakta was rebuilt to fix dependencies on bioconda

* trigger ci

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>
2022-03-24 10:49:17 -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
James A. Fellows Yates
e080f4c8ac
Untar unzip meta (#1408)
* fix: remove left-over unnecessary code

* Adds support for meta lists for unzip and untar

* Fix test inputs

* Update all modules to support extraction of decompressed file from untar/unzip new meta + file tuple

* Update all modules to support extraction of decompressed file from untar/unzip new meta + file tuple

* Fix MALTEXTRACT/AMPS

* Fix further modules

* Fix cellranger

* Apply suggestions from code review

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-03-21 14:49:28 +01:00
James A. Fellows Yates
8c00897853
Add AdapterRemovalFixPrefix (#1424)
* Add AdapterRemovalFixPrefix

* Prettifying

Co-authored-by: Alexander Peltzer <apeltzer@users.noreply.github.com>
2022-03-21 11:26:12 +01:00
Ramprasad Neethiraj
5297d27fbf
update svdb to version 2.5.2 (#1390)
* update svdb version and tests

* update link
2022-03-21 10:39:34 +01:00
Robert A. Petit III
16096aba17
Update test.yml (#1419) 2022-03-19 15:06:21 +00:00
James A. Fellows Yates
15c7190e22
Deeparg singularity container fix 2 (#1406)
* fix: remove left-over unnecessary code

* Switch to more portable solution for singularity container issue by using bind paths

* Fix input collision of dummy files

* Repalce dummy with which bash

* Remove dummy usage from tests

* Apply suggestions from code review

* Fix singularity typo
2022-03-18 16:21:55 +01:00
Sofia Stamouli
ea41a8a6f7
Add centrifuge module (#1410)
* Add centrifuge module

* Add centrifuge module

* Add centrifuge module

* Add centrifuge module
2022-03-18 15:39:27 +01:00
Edmund Miller
f080015754
Prettier (#1405)
* style: Add prettier config files

* build: Add prettier vscode extension

* ci: Replace markdownlint and yamllint with prettier

* style: Run prettier

* style: Use indent of 2 for markdown as well

https://github.com/nf-core/tools/pull/1470#issuecomment-1071028358

* style: Fix indent

* style: Let editorconfig take over tab widths

* style: yaml => yml

* ci: Run prettier once

Co-authored-by: Phil Ewels <phil.ewels@scilifelab.se>

Co-authored-by: Phil Ewels <phil.ewels@scilifelab.se>
2022-03-18 14:27:50 +01:00
nickhsmith
979e57b7ac
Manta consistancy (#1407)
* update tests

* update

* update

* make the manta inputs consistant for germline/somatic/tumoronly

* match chromosomes to cram file (chr21)

* undo genotypegvfs

* undo genotypegvfs

* update manta input structure to match strelka. tuple(relevant input), path(fasta), path(fai)

* update tests

* fix typos

* fix typos

Co-authored-by: Smith Nicholas <smith@in.tum.de>
2022-03-18 13:30:03 +01:00
Lasse Folkersen
df60a58426
round the < to ( to make markdown work for meta.yml (#1395)
* round the < to ( to make markdown work for meta.yml

* changing md5sums and stub output so it doesnt trigger the empty file linting error
2022-03-16 13:29:11 +01:00
Michael L Heuer
73aaecbc3a
Add BAM indexes as input for optitype module. (#1388) 2022-03-15 17:02:40 +01:00
Lasse Folkersen
d6244b42f5
ASCAT (#1332)
* First commit

* putting correct links for singularity and docker containers (just had to search for bioconda+ascat to find them, and then put them in like the rest of the nf-core tools had it

* adding first try of relevant commands (not working yet, just took their basic pipeline example

* test commit

* remove test

* starting up work with module after 3.0.0 upgrade

* add ascat.prepareHTS statemet

* add location of docker for new mulled alleleCounter+ASCAT container

* first full run with ASCAT on HG00154.mapped.ILLUMINA.bwa.GBR.low_coverage.20101123.bam

* add notes on dropbox download

* use a newer pytest_modules.yml

* add outpit

* trying to align with current Sarek output

* adding in FH comments

* busy clearing up arguments and testing. Still WIP

* first working run, in nextflow, with sarek-like output. Still needs more work on input arguments

* cleaning up before writing up findings

* testing with putting in arguments in args

* draft for solution 3 style for arguments

* one more test added

* adding FH map

* finished testing maps for args

* wrap-up cram/crai test successfully

* updates to address ability to put in ref.fasta argument for cram running

* adding remaining import-HTS commands in as args, and removing the chr21/chr22 only testing to test-nextflow.config

* first test with auto-downloading the s3-data (when not given as an argument)

* removing download-logic for supporting files, documenting in meta.yml, fixing ref_fasta bug

* adding mulled singularity container

* removing tests

* fix left padding lint issue

* lint failure in meta.yml

* more linting errors

* add when argument

* adding stub functionality

* add stub run

* correct md5sum for versions.yml

* more testing with -runstub

* stub code in pure bash - not mixed with R

* reformat version.yml

* get rid of absolute paths in test.yml

* correct wrong md5sum

* adding allelecount conda link

* rename normal_bam to input_bam etc

* let the pipeline dev worry about matching the right loci and allele files

* dont hardcode default genomebuild

* adding download instruction comment

* add doi

* fix conda addition bug

* add args documentation

* test new indent

* new test with meta.yml indentation

* retry with new meta.yml

* retry with new meta.yml - now with empty lines around

* retry with new meta.yml - remove trailing whitepsace

* trying to fix found quote character that cannot start any token error

* try with one empty line above triple-quote and no empty line below

* trying with pipe character

* checking if its the ending triple quote

* one more try with meta.yml

* test update bioconda versioning for linting failure

* test update bioconda versioning for linting failure 2

* testing allelecounter version error on conda

Co-authored-by: @lassefolkersen 
Co-authored-by: @FriederikeHanssen
2022-03-15 11:18:43 +01:00
Sima Rahimi
86ac223916
Cnvpytor (#1297)
* Added cnvpytor/importreaddepth module

* Corrected process name in meta.yml file

* added -chrom argument

* space correction

* Added complementary info

* fixed typo

* md5sum added

* modified the module to work on cram files as well

* Added cnvpytor/histogram module and test files

* Added cnvpytor/partition module and test files

* added cnvpytor/callcnvs module and tests

* modified by new modules

* Added test file and fixed input path in modules

* added when block

* little fixes

* skip tracking test.yml

* removed changes to test if conflicts get resolved

* updated outfile name

* corrected the version.yml content
2022-03-15 10:20:46 +01:00
Nathan Spix
801240a971
Add core Biscuit tools (#1354)
* create files with nf-core command

* update meta.yml files

* starting to work on index main.nf

* prelim test for index

* index test working; not finding all output files

* index passing tests

* index and align passing tests

* prototyping biscuitblaster and pileup

* update containers

* updates to pileup

* pileup passing tests

* template creation for more biscuit tools

* tests passing on blaster,bsconv,pupsom

* epiread passing tests, but need to update SNP bed file path

* vcf2bed working; change test file

* all biscuit commands passing tests

* biscuitblaster rename

* try to fix permissions

* more permission fixes

* trying a couple more permission changes

* hopefully last permission fixes

* really last permission changes

* few more permissions

* add when blocks

* Remove read group meta

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

* remove read group meta

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

* changes for first round of review

* update meta.yml with more specific links

* Update modules/biscuit/biscuitblaster/main.nf

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

* Apply new version reporting

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

* Update modules/biscuit/pileup/main.nf

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

* Update main.nf

* Update modules/biscuit/pileupsomatic/main.nf

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

* update test file path

* Update modules/biscuit/align/main.nf

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

* Update modules/biscuit/align/main.nf

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

* tests passing again

* Update modules/biscuit/align/main.nf

* Update modules/biscuit/bsconv/main.nf

* Update modules/biscuit/epiread/main.nf

* Update modules/biscuit/index/main.nf

* Update test.yml

* Update modules/biscuit/pileupsomatic/main.nf

* remove module-specific extension/prefix

* remove module-specific extension/prefix

* add missing args

* switch pileup strategy

* update test.yml

* remove debug

* whitespace cleanup

* add in newline escapes

* requested changes

* Update modules/biscuit/pileup/meta.yml

Co-authored-by: Spix <nathan.spix@submit.cm.cluster>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: Spix <nathan.spix@node107.cm.cluster>
Co-authored-by: njspix <nathan.spix@vai.org>
2022-03-14 09:34:22 -04:00
James A. Fellows Yates
625098a408
Adapterremoval glob fix (#1391)
* fix: remove left-over unnecessary code

* Partial fix for AR module output declarations

* Remove `def` for prefix so useable in output block

* Fix tests

* Add adapterlist support

* Fix tests after addition of adapter list
2022-03-14 07:32:21 +01:00
Simon Pearce
79a9d5e1ea
New module: NGSCheckMate (#1290)
NGSCheckMate ncm mode, working on bam files and vcf files to check that (human) samples match as expected 

Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk>
Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
2022-03-11 09:02:10 +00:00
Jose Espinosa-Carrasco
62da45b0e1
Bump chromap version 0.2.0 (#1374)
* Bump chromap version 0.2.0

* Temporary use the docker container until singularity container becomes available

* Temporary use the docker container until singularity container available

* Remove empty lines

* Update singularity container after became available
2022-03-10 09:23:45 +01:00
Michael J Cipriano
24f0bdd14e
added module seqkit replace (#1382)
* added module seqkit replace

* added when

* removed extra line

* Update modules/seqkit/replace/main.nf

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

* Updated meta

* updated indents

Co-authored-by: Cipriano <rrn8@cdc.gov>
Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-03-09 10:36:05 -07:00
b82d7abe70
Decrease indent in seqtk/seq versions.yml output (#1384)
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
2022-03-09 11:56:35 -05:00
Benjamin Wingfield
de0d57a562
implement plink2/score module (#1259)
* implement plink2/score module

* fix test yml

* fix typo :(

* set cpu

* set mem

* fix input process input block

* fix tests

Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-03-07 13:02:40 -05:00
Michael L Heuer
251015c8ba
Add samtools index to yara_mapper module (#1353)
* Add samtools index to yara_mapper module.

* samtools sort required for index

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-03-04 10:08:02 -05:00
James A. Fellows Yates
72b96f4e50
Add missing $prefix definition for MALT_RUN (#1373)
* fix: remove left-over unnecessary code

* Add forgotten prefix for the log

* Update meta.yml

* Update tests

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
2022-03-03 17:58:04 +01:00
Ramprasad Neethiraj
d8028dc1c3
Add picard/sortvcf (#1370)
* sortvcf

* add files

* update meta

* update java mem

* update documentation link

* remove todo

* review suggestions

* fix test.yml

* fix conda error

* fix version code
2022-03-03 11:40:16 -05:00
James A. Fellows Yates
76cdd46f3f
Add meta to MALT/RUN (#1372)
* Add meta to MALT/RUN

* Update modules/malt/run/main.nf
2022-03-03 10:35:19 -05:00
James A. Fellows Yates
0816df1e8b
Fix: removes hardcoded flags and 'custom' file output for AdapterRemoval (#1357)
* fix: remove left-over unnecessary code

* Removes hardcoded flags and more explicit output

* Fix test md5
2022-03-03 10:01:39 +01:00
James A. Fellows Yates
61c88c6233
Add hamronization/summarize (#1366)
* fix: remove left-over unnecessary code

* Add hamronizer/deeparg

* Add hamronisation/summarise

* Update test.yml

* Update modules/hamronization/summarize/meta.yml

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

* line up outputs

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
Co-authored-by: Jasmin F <73216762+jasmezz@users.noreply.github.com>
2022-03-03 08:02:04 +01:00
Michael J Cipriano
fba1b381f5
Faqcs patch to add tests for --debug output (#1368)
* faqcs update to capture debug output

* change paths

* change nf.config on faqcs

* Updated test,yml on faqcs

Co-authored-by: Cipriano <rrn8@cdc.gov>
2022-03-02 08:53:05 -05:00
James A. Fellows Yates
4983f77796
Add hamronization/deeparg (#1364)
* fix: remove left-over unnecessary code

* Add hamronizer/deeparg

* Add when condition

* Apply suggestions from code review

* Update modules/hamronization/deeparg/meta.yml
2022-03-02 13:04:22 +01:00
Benjamin Wingfield
8e5eaf1fa4
Update plink2/vcf to output zstandard compressed data automatically (#1258)
* update plink2/vcf to output zstandard compressed data automatically

* update meta

* set plink CPU and memory usage

Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-03-01 19:43:28 -05:00
Lauri Mesilaakso
fe4eb459fb
Add stranger (#1360)
* Add stranger

* Add when clause

* Update paths

* Update modules/stranger/main.nf

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
2022-03-01 14:29:46 +01:00
FriederikeHanssen
950700bcdc
Update samtools version (#1361)
* Update samtools version

* update checksums
2022-02-28 23:13:11 +01:00
FriederikeHanssen
c189835b1b
add controlfreec (#1333)
* add drafty controlfreec

* get sofatware version

* use maps in map

* update paths to new and soon-to-be merged test files, add more input docu

* Stab at documenting args map

* Update syntax

* Bit more description

* Make the linter happy

* tests pass locally

* Add outputs & docu

* tests are failing locally now :/ but cpn file can also be added

* All tests passing, need to update test data again to add folder

* Clean up files

* Clean up files

* Clean up files

* Don't know how to get the test to run with the direcotry for now. they pass locally though

* Make linter happy

* Name process back

* Update to use tar folder

* fix the checksum
2022-02-28 19:08:58 +01:00
Mei Wu
38ffbfdb63
bcftools/annotate follow up corrections (#1359)
* bcf annotate ready2go

* edited output name

* fixed output

* updated bcftools ver

* changed contain output string

* removed contain key entirely

* fixed md5sum for test.yml

* using match instead of find

* bcftools/annotate refactored with complete test

* rm trailing white space

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-02-28 10:16:29 -05:00
Mei Wu
ef811d952b
bcftools/annotate ready2go (#1291)
* bcf annotate ready2go

* edited output name

* fixed output

* updated bcftools ver

* changed contain output string

* removed contain key entirely

* fixed md5sum for test.yml

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-02-28 14:23:12 +01:00
FriederikeHanssen
1ad73f1b2a
update samtools version to 1.15 (#1358)
* update samtools version to 1.15

* Update checksums
2022-02-28 12:42:29 +01:00
841c661cad
Add MAFFT module (#1351)
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>

Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-02-28 00:40:24 -07:00
Robert A. Petit III
9e0abcc443
add module for ssuisero (#1329)
* add module for ssuisero

* Update main.nf

* Update meta.yml

Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-02-27 20:04:03 -07:00
Robert A. Petit III
55bee0b02e
add module for hpsuisero (#1331)
* add module for hpsuisero

* Update meta.yml

* Update main.nf

Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-02-27 17:58:35 -07:00
Sateesh
8a20253f40
update args & convert to bam (#1355) 2022-02-25 11:06:39 -07:00
Priyanka Surana
3e6be50600 Adjusted Augustus Config Path settings. Suggested by @mahesh-panchal 2022-02-25 13:26:23 +00:00
Priyanka Surana
3cffa96efe Merge branch 'master' of https://github.com/nf-core/modules into busco 2022-02-25 13:12:53 +00:00
Sateesh
4c59984d7b
Seqkit pair (#1348)
* add seqkit pair module

* local tests

* local tests

* fix workflow name

* fix workflow name

* fix version indentation

* fix version indentation

* fix version indentation

* fix review comments

* fix review comments

* fix github usernames

* minor fix

* add meta unpaired output

Co-authored-by: Peri <rrx8@cdc.gov>
2022-02-24 15:07:35 +01:00
Michael J Cipriano
6400317623
Gatk4 selectvariants (#1346)
* initial commit

* tested

Co-authored-by: Cipriano <rrn8@cdc.gov>
Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-02-24 09:51:48 +01:00
Ramprasad Neethiraj
ee915a43e4
update svdb merge (#1274)
* update svdb merge

* fix undefined variable error

* remove prio join in the script block

* fix error

* fix error again

* update tests and refactor
2022-02-24 09:49:30 +01:00
Hunter Seabolt
1016c9bd1a
Seqtk seq (#1340)
* Initial commit of seqtk/seq module files

* pytest.yml

* updated module and tests code, need to finish modules/main.nf

* Initial commit of seqtk/seq module files

* pytest.yml

* updated module and tests code, need to finish modules/main.nf

* Adding code and configs for seqtk/seq module

* Re-tested module following minor code update

* removed trailing whitespace errors

* Changed variable name  to  following reviewer suggestions

Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-02-23 17:02:51 +01:00
Michael J Cipriano
f144171ddc
Faqcs (#1339)
* Initial module creation

* Update test.yml

* Update test.yml

* Update test.yml

* Update meta.yml

Co-authored-by: Cipriano <rrn8@cdc.gov>
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-02-23 16:30:22 +01:00
Sateesh
a25423dbb9
Gatk4 combinegvcfs (#1342)
* add gatk4/combinegvcfs module

* update gatk4/combinegvcfs

* loop to create a string adding -V to each vcf file

* add contains for variable md5

* rm whitespace

* meta in output

* fix indentations

* fix indentations

* move tmpdir to args and update conda version

Co-authored-by: Peri <rrx8@cdc.gov>
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-02-23 16:29:29 +01:00
Moritz E. Beber
938387d10d
feat: add hmmsearch module and tests (#1273)
* feat: add hmmsearch module and tests

* chore: set medium resource requirements

* tests: look for correct output

* fix: add when condition

* Apply suggestions to meta.yml

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

* refactor: create gzip compressed output

* docs: describe compressed in-/output

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-02-23 15:32:33 +01:00
Priyanka Surana
c20f836450
Merge branch 'nf-core:master' into busco 2022-02-23 11:40:21 +00:00
James A. Fellows Yates
f9d25aad7f
Switch to native mandatory gzipped reading for hmmalign (#1343)
* fix: remove left-over unnecessary code

* Update main.nf

* Update hmmer/hmmalign command to natively accept gzipped input

* Making @drpatelh happy

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

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
2022-02-23 09:59:24 +00:00
Mei Wu
2597c31d6b
refactored vcfanno (#1266)
* final refactor: using tarball instead
2022-02-21 11:49:21 +01:00
Robert A. Petit III
15d39f841a
add amrfinderplus module (#1284)
* add amrfinderplus module

* Update test.yml

* Update main.nf

* Update main.nf

* Update test.yml

* Update test.yml

* Update test.yml

* Update main.nf

* Update meta.yml

* Update meta.yml

* Update main.nf

* Update test.yml

* Update test.yml
2022-02-19 23:02:23 +00:00
Sateesh
a0d91e4a93
Picard addorreplacereadgroups (#1305)
* add picard-addorreplacereadgroups

* add picard_addorreplacereadgroups

* add new line to main.nf

* remove trailing whitespaces

* remove trailing whitespaces

* change to output in test yml

* add when directive

* picard 2.26.10 -> 2.26.9

* picard 2.26.10 -> 2.26.9 test yml

Co-authored-by: Peri <rrx8@cdc.gov>
Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-02-18 19:59:06 -07:00
Sateesh
927dbfed04
Picard cleansam (#1306)
* add picard-cleansam

* add picard/cleansam

* update test yml with output

* picard 2.26.10 -> 2.26.9

* add output to test yml

Co-authored-by: Peri <rrx8@cdc.gov>
Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-02-18 19:17:58 -07:00
Sateesh
62e5d1f0b3
Picard createsequencedictionary (#1310)
* add picard/createsequencedictionary module

* add picard-CreateSequenceDictionary

* add picard/createsequencedictionary/

* add contains to test yml

* update test yml contains

* update test yml contains

Co-authored-by: Peri <rrx8@cdc.gov>
Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-02-18 18:49:12 -07:00
Sateesh
f655e5dea2
Picard fixmateinformation (#1315)
* add picard-fixmateinformation

* add picard-fixmateinformation

* fix trailing whitespace

* fix trailing whitespace

Co-authored-by: Peri <rrx8@cdc.gov>
Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-02-18 18:18:05 -07:00
Robert A. Petit III
be798861c6
add module for abricate (#1280)
* add module for abricate

* rename abricate/abricate to abricate/run

* Update test.yml

Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-02-18 18:00:21 -07:00
Robert A. Petit III
45466684e7
add mobsuite_recon module (#1270)
* add mobsuite_recon module

* Update main.nf

* Update nextflow.config

* Update test.yml

Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-02-18 17:52:38 -07:00
Robert A. Petit III
425939a108
add module for legsta (#1319) 2022-02-18 17:42:18 -07:00
Robert A. Petit III
439763bf2c
add module for sistr (#1323)
* add module for sistr

* Update test.yml
2022-02-18 17:33:48 -07:00
Robert A. Petit III
8055c5d1c3
add module for rgi (#1321)
* add module for rgi

* fix extension

* fix test yaml

* Update main.nf

* Update main.nf
2022-02-18 17:23:44 -07:00
Harshil Patel
cab399507b
Patch fix artic/minion and ivar/variants modules (#1326) 2022-02-18 17:36:09 +00:00
FriederikeHanssen
e31f1ff3b1
add qualimap with cram files + remove val from qualimap/bam, instead use empty list as everywhere else (#1320)
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-02-18 09:43:53 +01:00
FriederikeHanssen
3f364e2f31
add mergemutectstats (#1314)
* add mergemutectstats

* correct md5sum

* Update modules/gatk4/mergemutectstats/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2022-02-18 09:38:55 +01:00
FriederikeHanssen
fdb1664885
Add deeptools bamcoverage (#1316)
* Add deeptools bamcoverage

* remove todo string

* Add in when

* fix c&p version format error

* Fix md5sums

Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-02-18 09:35:41 +01:00
FriederikeHanssen
fcd483e1b5
intervallisttobed (#1312)
* intervallisttobed

* correct md5sum
2022-02-17 16:32:26 +01:00
FriederikeHanssen
8c8be7d7c6
Add gatherpileupsummaries (#1311)
* Add gatherpileupsummaries

* fix checksum

* Update modules/gatk4/gatherpileupsummaries/main.nf

* Add in when
2022-02-17 15:05:21 +01:00
Hunter Seabolt
a69faefee8
Seqtk rename (#1304)
* Added seqtk/rename module and tests code

* Updated files and testing code for seqtk rename

* Added meta map to seqtk/rename module def

* updated prefix parameter usage

* updated test.yml to remove local filepaths --> change to output

* Added empty line to main.nf
2022-02-16 17:28:08 +01:00
Moritz E. Beber
7560689375
feat: add sourmash sketch (#1287)
Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-02-15 12:30:28 +01:00
Matthias Hörtenhuber
e745e167c1
Fix formatting in yaml files, add yamllint config (#1279)
* fix yml formatting

* allow fastq.gz and fq.gz as file input, add meta.yml and test

* fix yaml files

* Revert "allow fastq.gz and fq.gz as file input, add meta.yml and test"

This reverts commit 34002d7a7a8c7f7bb4600c3377f35c87849f71a4.

* prettier magic!

* fix comments for yamllint

* remove node version number

* fix linting errors

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-02-15 11:15:27 +00:00
Harshil Patel
12b0bc5aa9
Bump Pangolin version to 3.1.20 (#1296)
* Bump Pangolin version to 3.1.20

* Fix md5sum
2022-02-15 10:46:20 +00:00
FriederikeHanssen
967fb22ded
Update versions (#1292)
* Update versions

* update checksums + remove variables as input for applyvqsr

* sneak in removal of values and provide them via modules.config

* update another checksum

* more checksums

* move vairable to config

* remove controlfreec, wrong branch

* add line break
2022-02-15 11:29:36 +01:00
Matthieu Muffato
04e82ec61a
First version of the biobambam/bammarkduplicates2 module (#1247)
* First version of the biobambam/bammarkduplicates2 module

* Fixed the path of versions.yml

* Regenerated the checksums as the previous files were generated with a single core

* Added the `when:` block, as per #1261

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

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-02-14 16:30:48 +00:00
Simon Pearce
78e2e76b24
New module: ichorCNA (#1182)
* hmmcopy/mapCounter

* update test

* Remove bam tag

* Remove /tmp/ path from test.yml

* Update modules/hmmcopy/mapcounter/meta.yml

Incorporate formatting changes

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

* Update modules/hmmcopy/mapcounter/meta.yml

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

* Update tests/modules/hmmcopy/mapcounter/main.nf

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

* ichorCNA run

* Add panel of normals code

* Try and fix tests

* Edit string detection in tests

* Fix linting issues

* Just failing END_VERSIONS

* Fixed versions.yml

* Added DOI

* Optional name for file

* Add when command

* Updated when

* Update modules/ichorcna/createpon/main.nf

Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-02-11 16:56:13 +01:00
Priyanka Surana
e55664b0c3
Merge branch 'master' into busco 2022-02-11 10:43:56 +00:00
James A. Fellows Yates
a9050b8ab6
Fix test data paths for hmmer/hmmalign (#1272)
* fix: remove left-over unnecessary code

* Update main.nf
2022-02-10 13:14:44 +01:00
Ramprasad Neethiraj
d0240fee1e
update manta to enable jointcalling (#1218)
* update manta to enable jointcalling

* fix lint errors

* fix error

* update comment

* remove comment

* suggestions from code review

* add stub
2022-02-10 10:37:31 +01:00
FriederikeHanssen
f5d5926516
Update intervals (#1278)
* Match target bed to input files

* Intervals in getpileupsumamries

* more interval updates

* change targets in strelka

* remove leftover channel

* fix checksums

* add new test vcfs

* add new test vcfs

* Update modules/freebayes/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2022-02-10 10:34:22 +01:00
FriederikeHanssen
c8ebd0de36
Add msisensorpro (#1267)
* Add msisensorpro

* remove absolute paths

* fixing tests

* fix msisensorpro tests

* Update modules/msisensorpro/msi_somatic/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* Update modules/msisensorpro/msi_somatic/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* add when back in

* add when back in

* Update modules/msisensorpro/msi_somatic/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* update description

* Update main.nf

* Update main.nf

* Update main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2022-02-09 21:05:49 +01:00
Ramprasad Neethiraj
45acc79667
Update mosdepth (#1256)
* nf-core create

* svdb merge module and test

* remove to-do from test.yml

* version

* update meta.yml

* mosdepth update

* update md5sums

* add stub

* add stub

* remove svdb

* remove merge

* Add tests

* code linting fix

* undo previous commit

* revert code linting fix
2022-02-09 12:45:55 +00:00
Ramprasad Neethiraj
f44e6c74b4
Add svdb/merge (#1233)
* nf-core create

* svdb merge module and test

* remove to-do from test.yml

* version

* update meta.yml

* add stub

* add when
2022-02-04 15:29:44 +01:00
Benjamin Wingfield
e687c7025a
New module: plink2/extract (#1228)
* add plink2_extract

* fix test yml path

* Update modules/plink2/extract/main.nf

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

* Update modules/plink2/extract/main.nf

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

* compress output

* add DOI

* make outputs less ambiguous

* update test for compressed output

* brain is dumb

* Update modules/plink2/extract/main.nf

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

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-02-03 10:42:56 +00:00
Katarzyna Kamieniecka
f112e4d701
bamcmp (#1244)
* New module added bamcmp

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk>
2022-02-02 16:38:41 +00:00
Harshil Patel
aa2eca6997
Bump versions for Pangolin and Nextclade (#1255) 2022-02-02 15:19:46 +00:00
Danilo Di Leo
aa97b1be3e
Transdecoder predict (#1251)
* create transdecoder/longorf module

* module transdecoder

* main.nf

* transdecoder/longorf ready to PR

* review comments update

* transdecoder/predict module create

* test transdecoder/predict module

* fix pytest

* pytest passed

* removed whitespace

* Update meta.yml

* Update meta.yml

Co-authored-by: Danilo Di Leo <danilo.dileo@lnu.se>
Co-authored-by: Daniel Lundin <erik.rikard.daniel@gmail.com>
2022-02-02 09:46:07 +01:00
Ramprasad Neethiraj
fc4bd3a2d2
Add svdb/query (#1249)
* first commit

* add test data
2022-02-01 20:46:10 +01:00
Felipe Marques de Almeida
53b324281f
Raven assembler (#1087)
Adding a new module for [Raven](https://github.com/lbcb-sci/raven), a De novo genome assembler for long uncorrected reads.
2022-02-01 11:47:01 +01:00
Danilo Di Leo
a74e8436cc
Transdecoder longorf (#1230)
* create transdecoder/longorf module

* module transdecoder

* main.nf

* transdecoder/longorf ready to PR

* review comments update

* transdecoder_longorf reviewed main.nf

* removed predict

* test.yml updated

* pytest run

Co-authored-by: Danilo Di Leo <danilo.dileo@lnu.se>
2022-01-31 13:34:38 +01:00
Maxime Borry
7026122ec8
Freebayes: compress with bgzip (#1243)
* move to bgzip
* update freebayes test results
2022-01-31 10:11:39 +01:00
Sébastien Guizard
080320765c
New module: bamtools/convert (#1219)
* 📦 NEW: Add bamtools/convert module

* 👌 IMPROVE: Update output channel name, Add tests for each output format

* 👌 IMPROVE: Add error test

* 🐛 FIX: Remove custom tags

Co-authored-by: Chris Cheshire <chris.j.cheshire@gmail.com>
2022-01-28 09:58:25 +00:00
Chris Cheshire
f3a405e4f2
Fix for version file output check when performing an expected error test (#1242)
* hifiasm copied from fastqc

* hifiasm tests init from fastqc

* meta.yml init; test.yml and main.nf for printing version

* Add hifiasm version printing

* Removed spaced on an empty line

* Reverted hifiasm from main

* Ignores version file checking if testing for error

* Added comment

Co-authored-by: Sviatoslav Sidorov <sviatoslav.sidorov@crick.ac.uk>
Co-authored-by: Svyatoslav Sidorov <svet.sidorov@gmail.com>
Co-authored-by: Tamara Hodgetts <hodgett@crick.ac.uk>
2022-01-28 10:32:36 +01:00
Chris Cheshire
70ea9ac9a8 Added comment 2022-01-28 09:27:28 +00:00
Chris Cheshire
1abcc93837 Ignores version file checking if testing for error 2022-01-28 09:14:47 +00:00
GCJMackenzie
08db860938
Update mergebam syntax and sample specific unmapped channel (#1238)
* initial commit to setup branch

* workflow finished

* Update nextflow.config

* tumour to tumor, getpileup passed as nomral and tumor

* paired_somatic renamed to tumor_normal_somatic

* Apply suggestions from code review

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* Update subworkflows/nf-core/gatk_tumor_normal_somatic_variant_calling/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* updated index names in meta.yml

* changed index file names in main script and test

* Apply suggestions from code review

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* Apply suggestions from code review

* fixed bug from changes

* Apply suggestions from code review

* modified yml to allow new subworkflow testing

* Update test.yml

* Update test.yml

* updated to follow the new mergebam syntax, also made unaligned input sample specific

Co-authored-by: GCJMackenzie <gavin.mackenzie@nibsc.org>
Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2022-01-27 15:30:27 +00:00
Priyanka Surana
8fdd5abe1d
Merge branch 'nf-core:master' into busco 2022-01-27 14:44:08 +00:00
Priyanka Surana
b412e6dabc Busco module commit with nf-core v2.2 c1 2022-01-27 14:36:18 +00:00
Harshil Patel
d70526c806
Bump Nextclade version to 1.10.1 (#1236) 2022-01-27 12:53:14 +00:00
James A. Fellows Yates
c3bacb9fdd
Add deeparg (#1234)
* Add deeparg download data

* Tweak downloaddata test.yml

* Add deeparg tests

* Apply suggestions from code review

* Fix output file paths in test

* Fix tests again md5sum to string
2022-01-26 15:19:16 +01:00
Regina Hertfelder Reynolds
1b24005f07
Add bcl2fastq2 to cellranger dockerfile (#1115)
* refactor: add bcl2fastq to cellranger dockerfile

bcl2fastq required for the cellranger mkfastq module and was therefore
added to the cellranger dockerfile. Further, cellranger was updated to
the latest version, 6.1.2., with naming and containers across
cellranger modules updated accordingly.

* chore: add bcl2fastq zip to .gitignore

* style: fix code linting error

* test(cellranger): Add tiles to mkfastq

* additional dockerfile for mkfastq

* update readme and dockerfiles

* update readme

* fix: update container for mkfastq

* docs: correct typos in readme

* test: update md5sum following cellranger update

* test: update md5sum following cellranger update

* fix: new line for external args in mkfastq

* test: update mkfastq tiles argument

* test: comment out mkfastq tests until smaller test data found

* test: stub-run mkfastq test until smaller test data found

* test: fix incorrect file path for mkfastq

Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com>
Co-authored-by: ggabernet <gisela.gabernet@qbic.uni-tuebingen.de>
Co-authored-by: Gisela Gabernet <gisela.gabernet@gmail.com>
2022-01-25 19:58:22 +01:00
Jose Espinosa-Carrasco
9573e7e53d
Bump version 0.1.5 to chromap/chromap (#1223)
* Bump version 0.1.5 to chromap/chromap

* Bump conda samtools version to 1.14

* Get read of inconsistent md5sum in conda

* Bump version in conda and retry md5 checks

* genome index md5 hash removed, conda failed
2022-01-20 19:00:20 +01:00
Mei Wu
435ca4100a
New module/vcfanno (#1204)
* boilerplate

* tests passed

* fixed regex

Co-authored-by: Chris Cheshire <chris.j.cheshire@gmail.com>
2022-01-20 08:46:31 +00:00
Harshil Patel
bb90e4fb78
Remove bcftools and ivar module customisations (#1217)
* Remove customisation from bcftools modules

* Add save_mpileup option to bcftools/mpileup

* Remove params.save_mpileup from ivar/consensus

* Update meta.ymls
2022-01-18 16:04:56 +00:00
Jose Espinosa-Carrasco
4e9cc84514
Bump chromap index version (#1216)
* Bump chromap version

* Update md5 hash

* Remove md5 check, variable with conda
2022-01-18 12:24:21 +01:00
FriederikeHanssen
1287ba48fe
Update version & add intervals usage (#1214)
* Update version & add intervals usage

* Fix config when passing intervals as file

* Use proper paths
2022-01-17 16:40:31 +01:00
Harshil Patel
796dbb573e
Add nextclade/datasetget and nextclade/run modules (#1210)
* Remove old nextclade module

* Add nextclade/datasetget and nextclade/run modules

* Fix ECLint

* Add reference and tag as inputs to datasetget module

* Fix tests

* Adjust spacing
2022-01-17 11:46:15 +01:00
Abhinav Sharma
6243c3792c
module: deepvariant (#572)
* Add stubs for deepvariant [ci skip]

* Update the stubs for deepvariant [ci skip]

* functional with google docker image

* cleanup

* consume docker container within singularity executor

* update the meta.yml file and ask for review

* tweak the input channel shape and test data

* tweak input data [ci skip]

* update for the new syntax

* remove the functions and rename meta vars

* Update the arguments mechanism

* update chr, region and checksum

Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-01-17 12:25:36 +02:00
Michael L Heuer
c9587d76e2
Update dsh-bio to version 2.0.7, add support for compressed GFA 1.0 format (#1207)
* Update dsh-bio to version 2.0.7, add support for compressed GFA 1.0 format

* fix ci failures

Co-authored-by: Chris Cheshire <chris.j.cheshire@gmail.com>
2022-01-17 09:24:40 +00:00
Harshil Patel
280712419d
Add new vcflib/vcfuniq module (#1208)
* Add new vcflib/vcfuniq module

* Rename module from vcfutils to vcfuniq

* Fix tests

* Compress output by default

* Fix ECLint
2022-01-14 18:18:11 +00:00
Simon Heumos
4cc3921efb
Add pangenome test data set keys (#1170)
* Update seqwish to version 0.7.2

* seqwish can work with a comma-separated list of PAFs

* level with nf-core/modules master branch

* add pangenome test data keys

* the odgi test data lives in its own folder

Co-authored-by: Michael L Heuer <heuermh@acm.org>
Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
2022-01-12 12:01:57 -06:00
Harshil Patel
b4c6b430d0
Remove params call in ivar variants module (#1203)
* Remove params call in ivar variants module

* Update main.nf
2022-01-12 16:43:26 +00:00
FriederikeHanssen
598d7abdb2
Log4j again (#1202)
* Log4j again

* Update checksums
2022-01-12 13:55:54 +01:00
Mei Wu
30e64becaa
ucsc/wigtobigwig: add meta map (#1199)
* add meta info

* updated meta.yml

* Apply suggestions from code review

* Update test.yml

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-01-11 21:31:37 +00:00
Harshil Patel
e751e5040a
Bump software versions for viralrecon modules (#1198)
* Bump software versions for viralrecon modules

* Remove custom params.save_unaligned from bowtie2_align

* Unify samtools modules and error if input and output names are the same

* Fix ALL the tests
2022-01-07 17:52:39 +00:00
emnilsson
c4549c0ecd
Editing the CAT/CAT module to handle single files (#1196)
* Removed if-statement to only run on more than 1 file, now it will run on single files as well.

* Added a test for running the cat_cat module on a single file.

* Created a new test.yml with nf-core modules create-test-yml -t cat/cat

* Edited test.yml to not include paths and md5sums for versions.yml, and also removed sometimes variable md5sums
2022-01-06 16:41:36 +00:00
Gwenna Breton
2d4b0f7787
Bcftools sort new syntax (#1169)
* Added files for bcftools/sort

* Fixed output format and removed md5 checksum

* Change input to avoid identical in/output names

* Created rows for bcftools/sort in pytest_modules.yml
2022-01-05 12:15:54 +01:00
Robert A. Petit III
bf5edb8614
add module for mash dist (#1193)
* add module for mash dist

* fix lint

Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
2022-01-04 17:29:49 +01:00
Harshil Patel
e3285528ac
Fix modules warned or failed with nf-core modules lint (#1191) 2022-01-03 18:00:46 +00:00
FriederikeHanssen
a6e0629e24
Change intervals to be part of sample specific input (#1189)
* Change intervals to be part of sample specific input

* Fix some tests

* Update checksum

* Update intervals

* Update intervals

* Try out gavins idea for adding the file

* update test line

* update test line

* update test line

* revert contains line
2021-12-23 12:58:20 +01:00
Robert A. Petit III
5320ab7e6c
Fix kleborate inputs (#1172)
* Fix kleborate inputs

* Update test.yml

Co-authored-by: Sébastien Guizard <sguizard@ed.ac.uk>
2021-12-22 11:39:35 +00:00
FriederikeHanssen
50eafb19c6
Update version for log4j vulnerability (#1176)
* Update version for log4j vulnerability

* update checksums

* update checksums

* update checksums

* Remove todo string

* remove werid output paths

* remove werid output paths

* remove werid output paths

* Update various checksums

* Update various checksums

* Remove unstable md5sums

* Update md5sums

* Fix pileupsummary

* Fix genotypegvcfs

* Update test files mutect2

* hm genotypevcf updated again

* Update some mutect checksums and whatnot

* Fix last mutect checksum

* Apply suggestion to use mtochondria data instead
2021-12-20 17:10:49 +01:00
Simon Pearce
02218ab5a0
hmmcopy/mapCounter (#1175)
* hmmcopy/mapCounter

* update test

* Remove bam tag

* Remove /tmp/ path from test.yml

* Update modules/hmmcopy/mapcounter/meta.yml

Incorporate formatting changes

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

* Update modules/hmmcopy/mapcounter/meta.yml

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

* Update tests/modules/hmmcopy/mapcounter/main.nf

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

Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2021-12-17 15:39:50 +00:00
Harshil Patel
ce8c781bb4
Provide BAI when running rseqc/tin (#1177)
* Provide BAI when running rseqc/tin

* Add md5sum

* Add proper md5sums

* md5sum not md5

* Add xls to meta.yml
2021-12-17 10:00:09 +00:00
SusiJo
3eff67f54d
Added new module snpsift/split (#1031)
* added new module snpsift/split

* added options.args

* added .vcf.gz to input

* removed test and updated to new NF DSL2 syntax

* Updated to new NF DSL2 syntax

* added option to join vcf files

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2021-12-17 09:08:14 +01:00
GCJMackenzie
54e0ac4ed9
add module: Variantrecalibrator (#1088)
* committing to pull updated nf-core files

* saving changes to checout other branch

* committing progress so far, difficulty with test data

* uploading to be used as draft PR

* fix linting error in meta.yml

* attempt to group reference inputs together

* updated input format for resources

* meta.yml updated with new resource names

* added output channel for recal index

* module only takes single vcf file input now

* committing to checkout

* update to new syntax, remove indel test for now

* updated to use memory options and new test data

* Update modules/gatk4/variantrecalibrator/main.nf

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

* Update main.nf

* Update modules/gatk4/variantrecalibrator/main.nf

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

* remove duplicate test keys from test_data.config

Co-authored-by: GCJMackenzie <gavin.mackenzie@nibsc.org>
Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2021-12-16 10:54:49 +00:00
GCJMackenzie
9f8d9fb615
Add applyvqsr (#1101)
* initial commit to setup branch

* workflow finished

* Update nextflow.config

* tumour to tumor, getpileup passed as nomral and tumor

* paired_somatic renamed to tumor_normal_somatic

* Apply suggestions from code review

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* Update subworkflows/nf-core/gatk_tumor_normal_somatic_variant_calling/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* updated index names in meta.yml

* changed index file names in main script and test

* Apply suggestions from code review

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* Apply suggestions from code review

* fixed bug from changes

* Apply suggestions from code review

* modified yml to allow new subworkflow testing

* Update test.yml

* Update test.yml

* add applyvqsr

* added memory options, new test data used

* Update main.nf

* Update main.nf

Co-authored-by: GCJMackenzie <gavin.mackenzie@nibsc.org>
Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2021-12-16 08:44:50 +00:00
Harshil Patel
67571c4e79
Add RSeqC tin.py module (#1174)
* Add RSeqC tin.py module

* Fix EC lint for unrelated hmmcopy module

* Remove md5sum for empty file
2021-12-15 21:26:43 +00:00
Simon Pearce
ae92159762
New subtool: hmmcopy/generatemap (#1168)
* Initial structure

* Working with local singularity image

* Working generateMap.pl script

* Remote not working bioconda

* Working generateMap with biocontainer

* Lint changes

* Updated hmmcopy container version to be consistent

* Fix failing test

* Remove path to perl

* No hardpath to script

* Update main.nf

Moved version outside of process, add support for zipped fasta file

* Revert to not allowing gzip via pipe, as perl script can't cope

Co-authored-by: Simon Pearce <simon.pearce@cruk.manchester.ac.uk>
2021-12-15 16:57:42 +01:00
GCJMackenzie
61376425fb
BugFix: add missing tbi output channel to genotypeGVCFs (#1153)
* initial commit to setup branch

* workflow finished

* Update nextflow.config

* tumour to tumor, getpileup passed as nomral and tumor

* paired_somatic renamed to tumor_normal_somatic

* Apply suggestions from code review

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* Update subworkflows/nf-core/gatk_tumor_normal_somatic_variant_calling/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* updated index names in meta.yml

* changed index file names in main script and test

* Apply suggestions from code review

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

* Apply suggestions from code review

* fixed bug from changes

* Apply suggestions from code review

* modified yml to allow new subworkflow testing

* Update test.yml

* Update test.yml

* added output channel for tbi files, tweaked method of adding blank inputs for gendb tests

* Update main.nf

* Update main.nf

Co-authored-by: GCJMackenzie <gavin.mackenzie@nibsc.org>
Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2021-12-14 16:10:08 +00:00
Mingda Jin
826a5603db
Stage fastq for concat in subfolders to avoid name collision issue (#1107)
* Stage fastq for concat in subfolders in task workdir

* Update main.nf

* Update test.yml

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-12-13 19:18:27 +00:00