Commit graph

2730 commits

Author SHA1 Message Date
suzannejin
d6850f8312
modified the samtools/fastq module (#339)
* new module: samtools/fastq

* solve conflict: pytest_software.yml

* solve linting conflicts

* solved EditorConfig linting problem

* Module samtools/fastq:
	* output compressed fastq.gz file(s)
	* add if conditionals for single/paired reads

* samtools/fastq: modified test.yml

* samtools/fastq: modified main.nf to avoid duplicated part of the script section

Co-authored-by: suzannejin <suzanne.jin@crg.eu>
2021-03-23 17:43:52 +00:00
yocra3
5e3c9dfbf0
Add gatk4/baserecalibrator (#327)
* Add gatk4 BaseRecalibrator

* Solve format in main.nf

* Correct functions

* Add pytest
2021-03-23 18:32:37 +01:00
Alexander Peltzer
d13e22dcbe
Add in OptiType (configbuilder, type) module(s) (#301)
* Adding in optitype prototype (To be worked on these days)

* I've tried my best 😆

* No idea

* Add in YML stuff

* Fix paths

* Ok, lets try this

* Adding proper options

* Replacec configbuilder thing

* Fix seq_type

* Adding human bam - sarscov doesnt work

* Fix a bunch of things

* -def

* Make this test run

* Fancy as fuck

* Update tests/software/optitype/test.yml

* Add proper tag

* Remove md5sums

Co-authored-by: Kevin Menden <kevin.menden@t-online.de>
2021-03-23 16:48:05 +01:00
Harshil Patel
246011f59b
Add docs for running tests locally with pytest (#338)
* Add docs for running tests locally with pytest

* Add docs for tag
2021-03-23 15:29:52 +00:00
Anthony Fullam
3d720a24fd
Add alleleCounter module (#313)
* Add allelecount module

* Add bed file input

* Added bai file

* Changed conda version

* Update main.nf

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Add allelecount module

* Add bed file input

* Added bai file

* Changed conda version

* Update main.nf

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Update pytest_software.yml

* Remove newline

* Fix pytest_software.yml

* Update pytest_software.yml

Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
2021-03-23 14:37:53 +01:00
yocra3
614d61dc13
Add gatk4/applybqsr (#331)
* Add applybqsr module

* Solve problem in functions.nf

* Add to pytest
2021-03-23 14:15:26 +01:00
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
yocra3
569ff03af9
Add readgroup to bam files (#324)
* Add readgroup to bam files
Add recalibration table

* Solve README.md issue
2021-03-23 11:59:49 +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
Edmund Miller
1fc4aa260d
ci: Add 21.03.0 version to matrix (#317) 2021-03-22 22:57:59 +00: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 Garcia
0a4fa5050a
Update main.nf (#314) 2021-03-22 17:16:43 +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
Gregor Sturm
bed31cd9b4
Add link to issue in pull request template (#312)
* Add link to issue in pull request template

* Update PULL_REQUEST_TEMPLATE.md
2021-03-22 10:04:20 -07: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
Maxime Garcia
e61f400167
feature: add new issue template for creating new module (#283)
* feature: add new issue template for creating new module

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Kevin Menden <kevin.menden@live.com>

Co-authored-by: Kevin Menden <kevin.menden@live.com>
2021-03-19 15:39:22 +01:00
Patrick Hüther
8a44258548
remove params section from meta.yml (#282) 2021-03-19 13:16:50 +01:00
Harshil Patel
b85f331f82
Update docs in light of functionality being ported to nf-core modules subcommands (#281)
* Add docs for existing modules

* Add new module checklist

* Update adding modules section

* Add links and spacing

* Adjust spacing

* Update pytest section

* Add create-test-yml docs

* Final updates

* Add minimum NF version

* Add some docs for Nextflow edge releases

* Indent bulleted section
2021-03-19 12:06:54 +00: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
Harshil Patel
d1cb9a845f
Check for minimum NF version (#278) 2021-03-18 12:00:32 +01: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
Sviatoslav Sidorov
5a270c5ba7 Removed spaced on an empty line 2021-03-16 15:55:59 +00:00
Sviatoslav Sidorov
b58233794b Add hifiasm version printing 2021-03-16 13:14:43 +00:00
Sviatoslav Sidorov
390c835f9f meta.yml init; test.yml and main.nf for printing version 2021-03-16 11:54:42 +00:00
Sviatoslav Sidorov
2f675fbe7c hifiasm tests init from fastqc 2021-03-16 11:37:06 +00:00
Sviatoslav Sidorov
38b450d0be hifiasm copied from fastqc 2021-03-16 09:54:29 +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
Maxime Garcia
66fd57a8bc
fix: update tiddit_sv tests (#272) 2021-03-15 14:02:20 +00: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
Kevin Menden
4566525da2
Converge test data usage (#249)
* initial data restructuing

* fixed bedtools_complement

* fixed bedtools_genomecov

* fixed bedtools_getfasta

* fixed bedtools_intersect

* fixed bedtools maskfasta

* fixed bedtools_merge

* fixed bedtools_slop

* fixed bedtools_sort

* fixed bismark_genome_preparation

* fixed blast

* fixed bowtie data

* fixed bowtie2 data

* fixed bwa data

* fixed bwamem2 data usage

* fixed cat_fastq data

* fixed cutadapt data

* fixed dsh data

* fixed fastp data

* fixed fastqc; fixed bug with wrong fastq format

* fixed gatk

* fixed data for gffread, gunzip

* fixed ivar paths

* fixed data paths for minimap2

* fixed mosdepth

* fixed multiqc, pangolin

* fixed picard data paths

* fixed data paths for qualimap, quast

* fixed salmon data paths

* fixed samtools paths

* fixed seqwish, stringtie paths

* fixed tabix, trimgalore paths

* cleaned up data

* added first description to README

* changed test data naming again; everything up to bwa fixed

* everything up to gatk4

* fixed everything up to ivar

* fixed everything up to picard

* everything up to quast

* everything fixed up to stringtie

* switched everyting to 'test' naming scheme

* fixed samtools and ivar tests

* cleaned up README a bit

* add (simulated) methylation test data

based on SARS-CoV-2 genome; simulated with Sherman --non_dir --genome sarscov2/fasta/ --paired -n 10000 -l 100 --CG 20 --CH 90

* bwameth/align: update data paths and checksums

also, build index on the go

* bwameth/index: update data paths and checksums

* methyldackel/extract: update data paths and checksums

* methyldackel/mbias: update data paths and checksums

* bismark/deduplicate: update data paths and checksums

* remove obsolete testdata

* remove empty 'dummy_file.txt'

* update data/README.md

* methyldackel: fix test

* Revert "methyldackel: fix test"

This reverts commit f175a32d144b1b0bfa0c6885da80c51e3cfe038a.

* methyldackel: fix test

for real

* move test.genome.sizes

* changed test names

* switched genomic to genome and transcriptome

* fix bedtools, blast

* fix gtf, tabix, .paf

* fix bowtie,bwa,bwameth

* fixed: bwa, bwamem, gatk, gffread, quast

* fixed bismark and blast

* fixed remaining tests

* delete bam file

Co-authored-by: phue <patrick.huether@gmail.com>
2021-03-04 10:10:57 +00:00
Maxime Garcia
e1f935a586
Merge pull request #256 from JoseEspinosa/fix_tiddit_sv_tests
Fix tiddit sv tests
2021-02-26 10:39:23 +01:00