Commit graph

591 commits

Author SHA1 Message Date
suzannejin
9115c12f88
new module: samtools/fastq (#316)
* new module: samtools/fastq

* solve conflict: pytest_software.yml

* solve linting conflicts

* solved EditorConfig linting problem
2021-03-23 12:13:07 +01:00
Robert A. Petit III
c2aa95cb6c
add prokka module (#298)
* add prokka module

* adjust test outputs

* fix prokka command

* adjust test outputs

* handle optional input

* update pytest

* update pytest

* adjust test outputs

* adjust test outputs

* switch to lists for optional inputs, add md5sums for non-timestamped outputs

* add optional prodigal training file

* add optional prodigal training info to meta yaml
2021-03-23 02:51:23 -07:00
Ravneet Bhuller
8a2a9f7e81
cnvkit module (#173)
* Normal bam file added

* Normal bam.bai file added

* Tumour bam bai files added

* human dir added

* annotation dir added

* cnvkit dir added

* cnvkit dir added

* Update software/cnvkit/main.nf

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

* Update software/cnvkit/main.nf

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

* Update software/cnvkit/main.nf

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

* changed input filenames

* edited main.nf

* edited main.nf

* edited meta.nf

* edited test.yml

* filters.yml

* edited main

* edited main

* edited meta

* edited meta

* edited main

* removed unwanted lines

* edited the path to the main.nf

* removed function.nf

* added functions.nf

* deleted 2 workflows and craeted a common workflow

* deleted paths for 2 workflows and created paths for a common workflow

* Deleted annotation dir

* deleted params.modules

* Edited meta.with_normal

* deleted normal_280_sub_chr21.bam

* deleted normal_280_sub_chr21.bam.bai

* deleted tumour_278_sub_chr21.bam

* deleted tumour_278_sub_chr21.bam.bai

* Edited input and script parts

* Edited input part

* Added

* Edited args

* Edited script

* Edited input

* Changed annotation to annotationfile

* Changed description of the tool

* edited singularuty container

* edited input

* line 44 removed trailing whitespace

* Edited addParams

* Deleted pdf output

* Deleted pdf output

* edited the path to main.nf

* edited path to the main.nf

* Added docker image version

* Removed extra ../

* added md5sums

* added md5sums

* Update software/cnvkit/main.nf

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

* Update software/cnvkit/main.nf

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

* Edited the script

* Edited the input

* Edited main.nf

* Edited main.nf

* edited md5sum for reference.cnn

* removed human fasta

* removed human fasta.fai

* added GRCh38 fasta

* added GRCh38 fasta.fai

* added hg19 fasta.fai

* added hg19 fasta

* Edited fasta file name

* Edited bed file names and md5sums

* Edited md5sums

* edited the input and script section

* edited input section

* added targetfile

* changed the files

* changed the output files

* added bam files

* added bam files

* remove files

* added md5sums

* replace file

* added files

* edited tests/software/cnvkit files

* edited tests/software/cnvkit files

* edited authors list

* removed files

* added files

* added files

* added files

* added files

* added file

* added file

* added file

* added file

* edited files

* edited files

* edited files

* edited files

* edited files

* edited files

* added new module

* added new module

* edited files

* edited file

* edited file

* edited file

* removed files

Co-authored-by: kaurravneet4123 <kaurravneet4123@yahoo.com@users.noreply.github.com>
Co-authored-by: Maxime Garcia <maxime.garcia@scilifelab.se>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-22 15:27:30 -07:00
Nicholas Toda
53109d53c0
add gatk4/fastqtosam #198 (#311)
* Inital nf-core create

* remove TODO comments, input and output files defined

* add get version in script

* added flow control for single/paired end data

* added script main commands

* removed completed TODO messages

* removed completed TODO messages

* added software info

* added input reads description

* added output description

* added description and keywords

* added single end test

* added paired end test

* fixed sample name flag

* fixed reverse read variable

* added test yaml

* update for pytest_software

* order in pytest_software was different

* replaced functions.nf with copy from another module

* simplify read command line

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

Co-authored-by: Nicholas TODA <nicholas.toda@mnhn.fr>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-22 18:26:02 +00:00
Maxime Borry
aa76c6d870
new module: AdapterRemoval (#309)
* add adapterremoval module

* fix indentations

* switch to process_medium

* update docker tests

* remove duplicated entry

* fix line ending

* Update software/adapterremoval/main.nf

* Update software/adapterremoval/main.nf

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-22 17:16:04 +00:00
Jose Espinosa-Carrasco
cfa8f64c4f
Adding unicycler module (#307)
* Adding unicycler module

* Do not forget to change default keywords on meta.yml
2021-03-22 18:14:24 +01:00
Patrick Hüther
c736022942
methyldackel: bump version to 0.5.2 (#305) 2021-03-22 17:46:28 +01:00
Patrick Hüther
7fe6f9fab2
bismark: remove underscores from process names (#303)
* sanitize process names

no underscores allowed

* remove underscores from process names
2021-03-22 17:46:11 +01:00
Florian Wuennemann
592002aa23
add picard_collectwgsmetrics (#304)
* Added new module picard/collectwgsmetrics.

* Removed unused outputs from meta.yml

* Added version.txt file back to meta.yml

* Updated test.yml

* Removed md5sum from test.yaml and added contain tests.

* Update functions.nf

Fixed missing newline formatting.

* Update main.nf

Fixed missing newline formatting.

* style(picard): Remove trailing whitespace

Co-authored-by: Kevin Menden <kevin.menden@t-online.de>
Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com>
2021-03-22 17:05:59 +01:00
Patrick Hüther
eb9178970f
add bismark/summary (#295)
* add bismark/align module

* bismark/align: add tests

* bismark/align: update meta.yml

* bismark/align: skip checksum for alignment logs

they contain timestamps

* bismark/align: restore correct checksum

caused some mixup in the last commit

* bismark/align: add genome_preparation to filters

* Fix conda version pin

* change options to be a global var

* remove params from meta.yml

* add bismark/summary

* remove md5sum check for bismark_summary_report.html

it contains a timestamp

* fix tests

* update meta.yml

* remove mysterious index files
2021-03-22 14:58:54 +01:00
Yuk Kei Wan
134c8ef6ce
add samtools merge (#296)
* add samtools merge

* Update pytest_software.yml

* get it back to 20.11.0-edge

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml
2021-03-22 13:48:23 +01:00
Patrick Hüther
f9ce8664ba
add bismark/report (#297)
* add bismark/align module

* bismark/align: add tests

* bismark/align: update meta.yml

* bismark/align: skip checksum for alignment logs

they contain timestamps

* bismark/align: restore correct checksum

caused some mixup in the last commit

* bismark/align: add genome_preparation to filters

* Fix conda version pin

* change options to be a global var

* remove params from meta.yml

* add bismark/report

* fix test filepaths

* remove mysterious index files
2021-03-22 13:38:08 +01:00
Patrick Hüther
04704c2034
add bismark/methylation_extractor (#274)
* add bismark/methylation_extractor

* add tests for bismark/methylation_extractor

* bismark/methylation_extractor: add genome_preparation to filters

* Apply suggestions from code review

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

* remove params from meta.yml

* pytest: remove md5sum checks for gzipped output

gzip stores timestamps in the file header, so the checksum will be different each time

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-20 23:54:42 +00:00
Patrick Hüther
8a44258548
remove params section from meta.yml (#282) 2021-03-19 13:16:50 +01:00
Edmund Miller
36593aa43e
chore: Remove stray functions file (#279) 2021-03-19 05:49:02 +00:00
Jose Espinosa-Carrasco
72e81d6e90
Add spades module (#277)
* Add spades module

* Reorder gatk4 modules alphabetically

* Update software/spades/main.nf

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-18 13:48:38 +00:00
Jose Espinosa-Carrasco
313241749c
Add kraken2 run module (#266)
* Add kraken2 run module

* Add kraken2 run module

* Add coronavirus kraken2 db

* Adding kraken2 run tests

* Update software/kraken2/run/meta.yml

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

* Fixing files commited by mistake

* Remove params for meta.yml

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-18 13:08:06 +00:00
Michael L Heuer
1845db4043
Update dsh-bio to 2.0.3 (#276) 2021-03-18 13:06:56 +00:00
Kevin Menden
a90332906b
add mergebamalignment (#259)
* add mergebamalignment

* fix test.yml

* update to latest gatk4 version

* Update software/gatk4/mergebamalignment/main.nf

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

* Update tests/data/README.md

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

* Update software/gatk4/mergebamalignment/main.nf

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

* Update software/gatk4/mergebamalignment/meta.yml

* fixed unmapped/unaligned

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-17 15:56:56 +01:00
Kevin Menden
3c4d9466f4
Adding minia for viralrecon (#267)
* initial 'modules create' of minia

* fixed tests

* finished meta.yml

* fixed filters.yml

* resolved issues in pytest_software.yml

* add newline

* Update software/minia/main.nf

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-17 12:54:15 +01:00
Kevin Menden
17dbff52f4
added gatk4 variantfiltration (#265)
* added gatk4 variantfiltration

* replace merge with filter

* Update software/gatk4/variantfiltration/main.nf

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

* updated input

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-17 09:42:35 +01:00
Harshil Patel
3df3d671f2
Fix nf-core modules lint tests (#275)
* Fix Conda definition bug

* Add process label
2021-03-16 17:16:47 +00:00
Jose Espinosa-Carrasco
74ff11b07b
Fix bowtie builds (#273)
* Fix bowtie  build test

* Forgot to delete old bowtie_build

* Fix bowtie2 build tests

* Add initOptions include on hisat2 extractsplicesites
2021-03-15 15:39:42 +01:00
Harshil Patel
9b99b33401
Rename .github/filters.yml -> tests/config/pytest_software.yml (#271)
* Rename pytest filters.yml

* Change filters.yml name

* Update resoures for ivar trim
2021-03-15 12:51:30 +00:00
Harshil Patel
d9396adbdf
Update software version command (#269) 2021-03-15 12:21:21 +00:00
Jose Espinosa-Carrasco
572abb00b3
Remove def from module options definition in main (#270)
* Remove def from module options definition in main

* Fix bismark_deduplicate tests

* Fix bwameth_align tests

* Fixing gatk4 conda tests ("=" instead of ':' in build id)

* Same as previous commit (Fix gatk4 test)

* Fix qualimap bamqc test (no md5 check for pngs)

* Fix seqkit split2 tests. Changed to new test data

* Fix samtools tests. Some were missing initOptions include

* Removing TOOL SUBTOOL template module since now it is included on tools repo
2021-03-15 12:16:43 +00:00
Kevin Menden
0218824b86
add task.cpus to pangolin (#263)
* add task.cpus to pangolin

* bumped pangolin to v2.3.2
2021-03-10 09:02:23 +01:00
Kevin Menden
a552d97849
Exchange VCF data by sarscov2 data (#261)
* added sarscov2 vcf data; adjusted bcftools tests

* updated README.md

* deleted old VCF files; fixed mergevcfs

* fixed tabix
2021-03-09 10:04:08 +01:00
Maxime Garcia
05cbbbaded
Rename gatk/createsequencedictionary -> gatk4/createsequencedictionary (#260)
* fix: update and sort filters

* fix: rename gatk/createsequencedictionary -> gatk4/createsequencedictionary
2021-03-08 14:45:46 +01:00
Maxime Garcia
ea6fde0193
Merge pull request #252 from MaxUlysse/master_tiddit
New module: tiddit
2021-02-25 09:34:33 +01:00
MaxUlysse
f62196a4a6 feat: add tiddit_sv module 2021-02-24 15:59:10 +01:00
JoseEspinosa
e9fc285967 Fix conda version declaration 2021-02-24 15:52:25 +01:00
Harshil Patel
50b98d56a1
Merge pull request #246 from drpatelh/master
Update iVar modules
2021-02-24 13:00:05 +00:00
drpatelh
1094af2206 Add missing docs 2021-02-24 12:54:45 +00:00
Harshil Patel
ca4b4eb78e
Merge pull request #248 from JoseEspinosa/fix_bcftools
Add missing requirements to bcftools modules
2021-02-24 12:51:39 +00:00
FriederikeHanssen
4673c119c7 resolve merge conflicts 2021-02-24 10:03:16 +01:00
JoseEspinosa
ec674bb127 Add label to bcftools processes 2021-02-24 09:47:54 +01:00
JoseEspinosa
823a631afc Fix tools entry on yml 2021-02-24 09:47:36 +01:00
Jose Espinosa-Carrasco
8f4363ccb5
Merge pull request #247 from JoseEspinosa/bcftools-mpileup
Add bcftools mpileup module
2021-02-24 09:24:43 +01:00
JoseEspinosa
af7bc743bf Correct yml file, add fasta to input and correct vcf on output 2021-02-24 09:15:18 +01:00
Harshil Patel
5287fe5f95
Merge pull request #245 from phue/bismark_deduplicate
add bismark/deduplicate + tests
2021-02-23 21:08:24 +00:00
Harshil Patel
4703a60443
Merge pull request #220 from phue/bwameth
add bwameth modules
2021-02-23 21:01:54 +00:00
JoseEspinosa
138be9f918 Adding label to the bcftools-mpileup process 2021-02-23 21:52:15 +01:00
drpatelh
89cd71309c Output log file for MultiQC 2021-02-23 20:36:23 +00:00
drpatelh
9098ba41c8 Update ivar consensus 2021-02-23 20:36:03 +00:00
JoseEspinosa
035443b6e0 Add bcftools-mpileup module 2021-02-23 19:05:26 +01:00
phue
e73bda26f5 add bismark/deduplicate + tests 2021-02-23 18:02:16 +01:00
FriederikeHanssen
bf58948dad remove todos, describe in/output 2021-02-23 15:41:11 +01:00
FriederikeHanssen
4e9d728108 allow fq.gz or gastq.gz as in/output 2021-02-23 15:40:22 +01:00
FriederikeHanssen
12137d6f3e Remove trialing whitespace 2021-02-23 15:00:21 +01:00
FriederikeHanssen
e251a3bed5 Remove todos 2021-02-23 14:58:09 +01:00
FriederikeHanssen
13733b2581 Add beautiful md5sums 2021-02-23 14:57:07 +01:00
FriederikeHanssen
5e365d5eff Make all these tests pass 2021-02-23 14:09:46 +01:00
FriederikeHanssen
25a2a16f2d Try to make a single test pass 2021-02-23 13:34:50 +01:00
kevinmenden
3fee38ee2d added gatk4 revertsam 2021-02-22 15:21:39 +01:00
kevinmenden
efd60d94ee adding revertsam/ fix typo in mergevcfs 2021-02-22 15:10:20 +01:00
kevinmenden
69d7bb4fca reformatted input to tuple 2021-02-22 13:31:54 +01:00
phue
bf0e0d857d bwameth/align: fix fasta name retrieval
apparently bwameth doesn't like './' in front of the filepath? I have no idea. This works however
2021-02-20 13:12:43 +01:00
phue
c67e591caf apply suggestions from review
thanks @drpatelh
2021-02-20 12:51:01 +01:00
kevinmenden
bb5c0ceca5 adding SplitNCigarReads 2021-02-19 14:59:29 +01:00
Kevin Menden
0202162b17
Merge branch 'master' into gatk4-mergevcfs 2021-02-19 14:11:30 +01:00
kevinmenden
02abe106ec added optional reference dictionary as input 2021-02-19 14:09:32 +01:00
kevinmenden
c288e081b4 initial commit adding mergevcfs 2021-02-19 13:29:08 +01:00
Kevin Menden
5c325f2942
Merge branch 'master' into master 2021-02-19 13:08:43 +01:00
kevinmenden
bd8ba42a8d added gatk4 SamToFastq 2021-02-19 12:41:29 +01:00
kevinmenden
6dcaf5ffc8 add gatk4 bedtointervallist 2021-02-19 11:26:31 +01:00
phue
a963c67481 bwameth: pass genome index as directory
instead of single files
2021-02-18 11:51:36 +01:00
phue
0d8f5f0572 add bismark/genome_preparation + tests 2021-02-18 10:56:36 +01:00
Patrick Hüther
dba295155e
Merge pull request #219 from phue/qualimap_bamqc
add qualimap/bamqc + test
2021-02-18 10:09:03 +01:00
phue
0606c06a25 qualimap/bamqc: remove unneeded variable definition
can just use task.cpus directly
2021-02-18 10:00:49 +01:00
Harshil Patel
5695e4ccce
Merge pull request #222 from phue/methyldackel
add methyldackel modules
2021-02-17 22:17:26 +00:00
Harshil Patel
ecd26b388d
Merge pull request #221 from heuermh/seqwish
Add module for seqwish/induce
2021-02-17 22:14:49 +00:00
phue
52b00d4286 add methyldackel/mbias + tests 2021-02-17 19:27:57 +01:00
phue
5ad7c6bc51 add methyldackel/extract + tests + testdata 2021-02-17 19:18:55 +01:00
phue
84a5da0d91 add bwameth/align module + tests 2021-02-17 18:23:11 +01:00
Michael L Heuer
206b605666 Add module for seqwish/induce 2021-02-17 11:19:47 -06:00
phue
180b1cf36b add bwameth/index module + test 2021-02-17 18:03:48 +01:00
phue
b5b259a2d9 add qualimap/bamqc + test 2021-02-17 17:34:51 +01:00
FriederikeHanssen
2654c52ed1 Use list of reads as input, similar to dedup/extract 2021-02-17 17:15:02 +01:00
FriederikeHanssen
bedc2972eb Add seqkit split2 2021-02-17 17:09:24 +01:00
phue
aafc6949d3 faidx: add process label 2021-02-17 16:56:45 +01:00
phue
3b1d126a0e add samtools/faidx + tests 2021-02-17 16:46:34 +01:00
drpatelh
d47f9bb909 @kevinmenden sanity fix 2021-02-16 23:58:52 +00:00
drpatelh
dcc580e4fb Remove Conda build ids for all modules 2021-02-16 23:58:23 +00:00
Harshil Patel
412172cda6
Merge pull request #180 from MaxUlysse/master_tabix_bgzip
Replace bcftools/bgzip by tabix/bgzip
2021-02-16 23:32:23 +00:00
MaxUlysse
596bb18394 fix: rename file to input and gz, plus fix tests 2021-02-17 00:28:32 +01:00
Harshil Patel
a282ecd8c7
Merge pull request #172 from andersgs/ivar-variant
Add ivar variants
2021-02-16 23:20:30 +00:00
Harshil Patel
b07ad23efa
Merge pull request #179 from MaxUlysse/master_htslib_tabix
Replace bcftools/tabix by tabix/tabix
2021-02-16 22:30:45 +00:00
Harshil Patel
d6d34a4b5b
Merge pull request #177 from MaxUlysse/master_gatk_createsequencedictionary
Add gatk/createsequencedictionary
2021-02-16 22:21:38 +00:00
Harshil Patel
a6d6c0b973
Update software/gatk/createsequencedictionary/main.nf 2021-02-16 22:08:11 +00:00
Harshil Patel
7c64e70c9e
Update software/gatk/createsequencedictionary/meta.yml 2021-02-16 22:07:51 +00:00
Harshil Patel
e558d5fb57
Merge pull request #174 from andersgs/ivar_consensus_fix
ivar consensus: Add save mpileup as optional in output directive
2021-02-16 22:04:38 +00:00
MaxUlysse
6a147b8aaa chores: replace bcftools/bgzip by tabix/bgzip cf #179 2021-02-16 19:11:36 +01:00
MaxUlysse
edf5fa3cf6 fix: merge bcftools/tabix and htslib/tabix into tabix/tabix 2021-02-16 18:27:13 +01:00
MaxUlysse
f660324508 chores: move file 2021-02-16 18:20:43 +01:00
MaxUlysse
274897f1fd fix: ECLint: Wrong line endings or new final newline 2021-02-16 17:11:50 +01:00
MaxUlysse
5e71dc94d6 fix: make HTSLIB_TABIX more modular 2021-02-16 17:06:55 +01:00
MaxUlysse
10524e3515 chores: add modules for htslib/tabix 2021-02-16 14:47:53 +01:00
MaxUlysse
28dc9227d7 fix: remove memory requirements and simplify URI 2021-02-16 13:54:40 +01:00
MaxUlysse
30e3f2c5f5 fix: ECLint check: trailing whitespace 2021-02-16 13:42:34 +01:00