Commit graph

776 commits

Author SHA1 Message Date
Nicolas Vannieuwkerke
6678ad4426 Added a header to the VCF 2022-04-28 14:54:20 +02:00
Praveen Raj S
b3e9b88e80
csi output in TABIX (#1579)
* Added: csi output to TABIX

* Added: tests for csi

* Fix tiddit/sv (#1580)

* Fix fasta ref option for TIDDIT_SV

* Add md5sum's to tiddit/sv tests

Co-authored-by: Daniel Cooke <dcooke@well.ox.ac.uk>

* Fix: prettier issues

Co-authored-by: Daniel Cooke <daniel.cooke@invitae.com>
Co-authored-by: Daniel Cooke <dcooke@well.ox.ac.uk>
2022-04-28 14:41:01 +02:00
nvnieuwk
c9404ed266
Merge branch 'master' into vardict-java 2022-04-28 14:30:19 +02:00
Nicolas Vannieuwkerke
40e6e5273d fix for a linting issue 2022-04-28 14:30:04 +02:00
Nicolas Vannieuwkerke
c6ea41948d Merge branch 'vardict-java' of github.com:nvnieuwk/modules into vardict-java 2022-04-28 14:29:39 +02:00
Nicolas Vannieuwkerke
bf18604471 fix for a linting issue 2022-04-28 14:29:37 +02:00
JIANHONG OU
cdefbec669
add kimporttext module (#1560)
* add kimporttext module

* fix the Prettier error.

* fix the Prettier error.

* fix the test.yml

* fix the test.yml

* Update modules/krona/ktimporttext/meta.yml

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

* Update modules/krona/ktimporttext/meta.yml

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

* Update modules/krona/ktimporttext/meta.yml

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

* Update modules/krona/ktimporttext/meta.yml

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

* Update modules/krona/ktimporttext/meta.yml

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

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

* update the test file url for krona ktimporttext

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-28 08:16:26 -04:00
JIANHONG OU
24fb7c89aa
Update modules/motus/downloaddb/main.nf
Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-04-28 08:14:30 -04:00
Matthias De Smet
c7806e7bef
Merge branch 'master' into vardict-java 2022-04-28 14:12:07 +02:00
Nicolas Vannieuwkerke
8c98a78d2a Fixed the issue with the BED file 2022-04-28 14:07:55 +02:00
Daniel Cooke
57cb730e78
Fix tiddit/sv (#1580)
* Fix fasta ref option for TIDDIT_SV

* Add md5sum's to tiddit/sv tests

Co-authored-by: Daniel Cooke <dcooke@well.ox.ac.uk>
2022-04-28 14:06:38 +02:00
Praveen Raj S
68f1c27169
Changed tbi as optional output in GATK4 HaplotypeCaller (#1576)
* Changed tbi as optional output. HC cannot index a VCF from large chromosomes.

* Apply suggestions from code review

* Update modules/gatk4/haplotypecaller/main.nf

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2022-04-28 13:41:20 +02:00
Nicolas Vannieuwkerke
45b4a61a15 Some small updates 2022-04-28 13:31:37 +02:00
Nicolas Vannieuwkerke
9df830f79d Added the .bai and .fai files 2022-04-28 10:23:07 +02:00
Matthias De Smet
484c8f5dfa
Update meta.yml 2022-04-28 09:29:27 +02:00
Matthias De Smet
def580ddb7
Add gzip for compressed output 2022-04-28 09:28:57 +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
Nicolas Vannieuwkerke
fc942e062a Merge branch 'vardict-java' of github.com:nvnieuwk/modules into vardict-java 2022-04-28 09:08:03 +02:00
Nicolas Vannieuwkerke
85c49a971f Fixed an issue with wrong file order 2022-04-28 09:07:52 +02:00
Jill V. Hagey, PhD
ecd31fd3cd
remove whitespaces and prettier fix 2022-04-27 19:55:42 -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
Simone Carpanzano
a5e7943f2b
update krona module
add "$args" to the module
2022-04-27 22:43:31 +02: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
Harshil Patel
2134031879
Bump SAMtools version for custom/getchromsizes (#1572) 2022-04-27 19:15:11 +02: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
Matthias De Smet
d57664b576
cleanup TODO's 2022-04-27 11:18:58 +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
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
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
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
da56a2d509
Update modules/bamtools/split/main.nf
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-04-22 19:36:08 +02:00
Matthias De Smet
2d32267fcd
Update modules/bamtools/split/main.nf
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-04-22 19:36:01 +02:00
Matthias De Smet
7bcede7474
Update modules/bamtools/split/meta.yml
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-04-22 19:34:14 +02:00
Matthias De Smet
2a2ac290c3
Update modules/bamtools/split/meta.yml
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-04-22 19:34:00 +02:00
Robert A. Petit III
a83202e710
Merge branch 'master' into rp3-add-shigatyper 2022-04-22 08:49:50 -06:00
Robert A. Petit III
c2d2399107
Update modules/shigatyper/main.nf
Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
2022-04-22 08:49:44 -06: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
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
7e883da904 Revert "make use of dependent on input array size"
This reverts commit 413980e93a.
2022-04-22 14:50:50 +02:00
Matthias De Smet
413980e93a make use of dependent on input array size 2022-04-22 14:33:16 +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
2f6382168c update meta.yml 2022-04-22 11:51:54 +02:00
Matthias De Smet
c4072f274c fix formatting, fix code style 2022-04-22 11:39:22 +02:00
Matthias De Smet
b4d2e374a0
Merge branch 'master' into tool/elprep-merge 2022-04-22 11:35:48 +02:00
Sofia Stamouli
538dbac98b
Kaiju2table module (#1545)
* Add kaiju2table module
2022-04-22 11:26:30 +02:00
Matthias De Smet
4af5be8de3
Merge branch 'master' into tool/elprep-merge 2022-04-22 11:10:23 +02:00
Matthias De Smet
9e3daae8ef
New module: elprep filter (#1524)
* first commit

* syntax fix

* fix input

* output sam during test for md5sum

* replace md5sum with contains

* add new test data, add extra in/outputs

* cli fixes

* fix outputs

* Update modules/elprep/filter/main.nf

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

* Update modules/elprep/filter/meta.yml

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

* Update modules/elprep/filter/meta.yml

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

* fix suggestions by @jfy133

* Bit more verbose explanation for bool vals

* define variables

* fix prettier

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

* fixes for testing

* fix tests

* fix test outputs

* create test-yaml

* fix suggestions by @jfy133

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-22 10:20:05 +02:00
Matthias De Smet
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
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
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
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
6723ca7f90 bump version, add merge before split 2022-04-19 15:05:02 +02:00
Matthias De Smet
553c1bcf9d
Merge branch 'master' into tool/elprep-merge 2022-04-19 11:28:04 +02:00
Matthias De Smet
ad15d1b792 update label 2022-04-19 11:27:55 +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
James A. Fellows Yates
87005786e0
Update modules/motus/downloaddb/main.nf 2022-04-17 21:18:55 +02:00
James A. Fellows Yates
ec23ebc7c5
Update modules/motus/downloaddb/main.nf 2022-04-17 21:17:59 +02:00
JIANHONG OU
9a158acb50 Merge branch 'motus_downloaddb' of github.com:jianhong/modules into motus_downloaddb 2022-04-17 11:22:25 -04:00
JIANHONG OU
407d0bb752 update motus_downloaddb 2022-04-17 11:22:23 -04:00
JIANHONG OU
51214d655b
Update modules/motus/downloaddb/main.nf
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-17 11:19:58 -04:00
JIANHONG OU
32d5257def
Update modules/motus/downloaddb/meta.yml
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-17 11:12:08 -04:00
JIANHONG OU
d247ef4a0d
Update modules/motus/downloaddb/main.nf
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-17 11:10:54 -04:00
JIANHONG OU
2551201f43
Update modules/motus/downloaddb/main.nf
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-17 11:10:48 -04:00
JIANHONG OU
f1f1df984c
Update modules/motus/downloaddb/main.nf
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-17 11:06:06 -04:00
JIANHONG OU
ee04fc2737 add module motus_downloaddb 2022-04-14 12:56:42 -04: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
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
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
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
James A. Fellows Yates
ae48653bd2
DASTool output channels update (#1489)
* fix: remove left-over unnecessary code

* Make summary output optional as not generated if no sufficiently HQ bins found

* Make contig2bin optional as only generated if sufficient HQ bins found
2022-04-04 13:31:36 +02:00
Ramprasad Neethiraj
cb54d1ebd7
update stubs (#1488) 2022-04-04 13:18:02 +02: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
Maxime Borry
64b06baa06
Update PyDamage module (#1467)
* add pydamage module

* remove TODOs

* split module by subcommands

* update version parsing

* remove forgotten TODOs

* update module names

* remove old holistic module

* Update modules/pydamage/analyze/main.nf

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

* add keywords

* update resource requirement

* Update modules/pydamage/filter/main.nf

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

* Update modules/pydamage/filter/meta.yml

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

* merge from upstream

* update pydamage from upstream

* add freebayes

* update pydamage test from upstream

* fix meta.yml

* update functions.nf

* update test.yml

* update version parsing

* update version parsing

* fix indentation

* Update modules/freebayes/main.nf

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

* Update modules/freebayes/main.nf

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

* Update modules/freebayes/main.nf

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

* add optional inputs

* Update modules/freebayes/main.nf

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

* add bed test

* add metabat2 module

* only freebayes

* remove metabat2

* update md5sum because of vcf including date of the day

* add keyword

* rescue conflicted files

* attempt to fix ECLint

* add pytest workflow for metabat

* remove -

* Update modules/metabat2/jgisummarizebamcontigdepths/meta.yml

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

* Update modules/metabat2/metabat2/meta.yml

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

* Update modules/metabat2/metabat2/meta.yml

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

* Update modules/metabat2/jgisummarizebamcontigdepths/meta.yml

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

* add optional inputs/outpus

* remove trailing whitespace

* compressing and removing not reproducible md5sums

* follow symlinks while decompressing

* Update tests/modules/metabat2/metabat2/main.nf

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

* Update tests/modules/metabat2/metabat2/main.nf

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

* split tests

* export env variable

* Update modules/metabat2/jgisummarizebamcontigdepths/main.nf

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

* Update modules/metabat2/jgisummarizebamcontigdepths/meta.yml

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

* Update modules/metabat2/metabat2/main.nf

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

* Update modules/metabat2/metabat2/meta.yml

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

* answer PR comments and switch to bgzip

* add bacillus fragilis alignments

* add meta to samtools/faidx

* move to bgzip

* update freebayes test results

* bump pydamage version to 0.70

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
2022-03-31 09:18:18 -04: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
Ramprasad Neethiraj
233f2e728b
fix cnvpytor links (#1470) 2022-03-31 10:53:26 +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
Ramprasad Neethiraj
a973b68200
svdb update to 2.6.0 (#1465) 2022-03-30 14:50:27 +02:00
FriederikeHanssen
1ec1868264
Fix typo (#1464) 2022-03-29 13:13:41 -04: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
Ramprasad Neethiraj
cc671a5f3c
Update svdb/merge (#1449)
* fix error

* fix input string
2022-03-27 14:15:43 +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
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
Maxime U. Garcia
e786457fb0
feat: add readgroup info + reorder samtools command line to mimic bwamem (#1447) 2022-03-25 11:26:47 +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
Edmund Miller
fe088745e0
style(deeptools): Indent script (#1439) 2022-03-24 19:44:31 +00:00
Robert A. Petit III
608bb22598
Update dragonflye to latest version (#1442)
* Update dragonflye to latest version

* trigger ci
2022-03-24 14:56:32 -04: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
Annick Renevey
1dddf1ce94
update star/align to include an optional sam output (support for --chimOutType SeparateSAMold option) (#1378)
Co-authored-by: Praveen Raj S <43108054+praveenraj2018@users.noreply.github.com>
2022-03-23 13:13:58 +01: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
Harshil Patel
f425aa3cea
Add outputs for umitools dedup summary stats (#1422) 2022-03-18 20:21:41 +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
James A. Fellows Yates
f469045a95
Fix DeepARG depenency issue with singularity containers (#1397)
* fix: remove left-over unnecessary code

* Adds --fakeroot option for singularity usage with DeepARG as workaround for broken conda dependency

* Update modules/deeparg/downloaddata/main.nf

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

* Update modules/deeparg/predict/main.nf

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

* Apply suggestions from code review

* Update main.nf

* Update main.nf

* Update main.nf

* Update main.nf

* Go back to original logic

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
2022-03-17 13:08:51 +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
Matthias Hörtenhuber
18e72fa0be
fix indent error, avoiding html tag confusion (#1393) 2022-03-15 11:56:42 +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
Phil Ewels
50417f5f8c
Fix indentation in bwa/aln meta (#1392) 2022-03-15 06:22:44 +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
James A. Fellows Yates
b78a4a4567
Fix for Maxbin2 emitting input files (#1376)
* fix: remove left-over unnecessary code

* Fix accidently emitting input

* Fix tests
2022-03-08 15:56:23 +01: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
FriederikeHanssen
c450b08a75
separate gvcf and vcf in output channels (#1371)
* separate gvcf and vcf in output channels

* regex not working, just using prefix now
2022-03-03 11:54:07 +01: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
2cd502a236
Faqcs patch (#1367)
* faqcs update to capture debug output

* change paths

Co-authored-by: Cipriano <rrn8@cdc.gov>
2022-03-02 08:27:38 -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
Benjamin Wingfield
4ab098733a
set memory in MB (#1260)
Co-authored-by: Sateesh <33637490+sateeshperi@users.noreply.github.com>
2022-03-01 13:13:05 -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
James A. Fellows Yates
7ec09d0ef4
Fix: use actual tar conda environment for untar module (#1362)
* fix: remove left-over unnecessary code

* Update main.nf

* Update modules/untar/main.nf
2022-03-01 12:41:20 +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
James A. Fellows Yates
e0bf0a1689
Fix: Leehom meta output channel descriptions (#1356)
* fix: remove left-over unnecessary code

* Fix metayml docs of R2 output channels
2022-02-27 14:35:47 +01: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
nickhsmith
2383d43a0f
update priority (#1334)
bumping the base resource label
2022-02-22 14:25:36 +01:00
Harshil Patel
4dbc166a7c
Change label for rseqc/tin to process_high (#1327) 2022-02-21 13:26:51 +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
James A. Fellows Yates
d0a1cbb703
fix fastp to allow exporting of only *.merged.fastq.gz (#1325)
* fix: remove left-over unnecessary code

* Update main.nf

* Update meta.yml
2022-02-18 15:38:05 +01: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
Oliver Schwengers
9e9ff6a86d
Update Bakta module (#1257)
* bump Bakta version to v1.3.1

* add annotation summary file

* add/amend meta information

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
2022-02-17 08:59:31 -07: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
nickhsmith
8717792135
include intervals_index (#1308)
* include intervals_index

In order to run the GATK `GenotypeGVCFs` tool with an interval file (such as a .bed file) you need to have the corresponding index file. Otherwise you get the following error message
```
A USER ERROR has occurred: An index is required but was not found for file genome.bed.gz: work/6c/541fce2dc670597f62a571c72288c6/genome.bed.gz. Support for unindexed block-compressed files has been temporarily disabled. Try running IndexFeatureFile on the input.
```

including the index file fixes this problem

* Update meta.yml
2022-02-16 18:35:09 +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
James A. Fellows Yates
6a9aa977ef
Minor meta.yml typo fix for samtools fastq (#1288)
* fix: remove left-over unnecessary code

* Correct typo in output meta information for fastq channel
2022-02-14 11:02:03 +01: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
Maxime U. Garcia
fafae11068
feat: nicer syntax (#1286)
* feat: nicer syntax

* feat: code polishing

* feat: code polishing
2022-02-11 16:07:52 +01:00
Priyanka Surana
e55664b0c3
Merge branch 'master' into busco 2022-02-11 10:43:56 +00:00
Jose Espinosa-Carrasco
d1f33be04f
Bump multiqc version 1.12 (#1282) 2022-02-11 09:44:13 +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