Commit graph

1477 commits

Author SHA1 Message Date
Harshil Patel
f34892c1af
Test PR for nf-core modules lint (#414)
* Update functions.nf for publish_by_id

* Pass a list of publish_by_id instead of a string

* Remove NF version

* Rename code linting file

* Run separate workflow for nf-core modules lint

* Adjust nf-core update comment

* Comment out linting from pytest-workflow.yml

* Remove commented out linting code from pytest-workflow.yml

* Adjust spacing

* Adjust spacing again

* Move NF version to job level for linting

* Add CAPSULE_LOG none env when installing NF

* Remove NXF_ANSI_LOG env for linting

* Revert changes
2021-04-09 07:58:43 +01:00
Anthony Underwood
63b3975292
Update gubbins module to use new files (#417)
* new gubbins module

* new gubbins module

* new gubbins module

* Update software/gubbins/main.nf

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

* Update software/gubbins/main.nf

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

* Update software/gubbins/main.nf

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

* Update software/gubbins/meta.yml

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

* new gubbins module

* new gubbins module

* new gubbins module

* new gubbins module

* new gubbins module

* new gubbins module

* new gubbins module

* Update tests/config/test_data.config

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

* Update tests/software/gubbins/main.nf

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

* new gubbins module

* new gubbins module

* new snpsites module

* new snpsites module

* new snpsites module

* new snpsites module

* adding fasttree module

* correct trailing whitespace

* using sarscov2 as a test dir

* use sars-cov-2 alignment

* remove old test alignment

* new snpsites module

* new snpsites module

* new snpsites module

* updated test file names

* new snpsites module

* remove snpsites from gubbins branch

* remove redundant test_fas alignment

* update md5 sums

Co-authored-by: avantonder <avt@sanger.ac.uk>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
Co-authored-by: avantonder <ajv37@cam.ac.uk>
2021-04-09 07:54:11 +01:00
Jose Espinosa-Carrasco
f90dde0d88
Add plasmidid module (#410)
* Adding plasmidid module

* Adding test for plasmidid module

* Update plasmidid version to 1.6.4

* Adding contigs.fasta file

* Update tests

* Adding output files on test.yml
2021-04-08 22:44:30 +01:00
Anthony Underwood
be390a25e5
adding fasttree module (#412)
* adding fasttree module

* correct trailing whitespace

* using sarscov2 as a test dir

* remove TODO

* update test data naming

* further test data naming updates

* remove options in favour of $options.args

* ensure non standard exit codes don't cause an issue

* update md5sum
2021-04-08 18:15:23 +01:00
Edmund Miller
a3684d9594
Lint modules ci (#389)
* ci: Add modules lint step

Moved it ahead of the nextflow install so ideally it'll fail before we
bother doing any more setup

* ci: _ => /

* Update tests/config/pytest_software.yml

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-04-08 09:10:52 +01:00
avantonder
710ab76b90
new module: gubbins (#377)
* new gubbins module

* new gubbins module

* new gubbins module

* Update software/gubbins/main.nf

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

* Update software/gubbins/main.nf

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

* Update software/gubbins/main.nf

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

* Update software/gubbins/meta.yml

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

* new gubbins module

* new gubbins module

* new gubbins module

* new gubbins module

* new gubbins module

* new gubbins module

* new gubbins module

* Update tests/config/test_data.config

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

* Update tests/software/gubbins/main.nf

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

* new gubbins module

* new gubbins module

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-04-07 16:31:24 +01:00
Harshil Patel
7c2f10f591
Fix tabix/bgzip version command (#407) 2021-04-07 08:39:53 +01:00
Harshil Patel
242fdb2f73
Version bumps and minor module updates (#406)
* Version bumps and minor module updates

* Fix Pangolin tests

* Fix SPAdes tests

* stageAs @phue
2021-04-06 13:38:41 +01:00
Patrick Hüther
3b1dcc9cc0
MethylDackel: fix version scraping (#401)
* methyldackel: fix version scraping

* fix output file path
2021-04-06 10:59:33 +01:00
Patrick Hüther
6c70d65ae6
bismark/report: allow missing input data (#400)
* bismark/report: allow missing data

* bismark/summary: improve matching of process output
2021-04-06 10:59:00 +01:00
Patrick Hüther
4a1571317d
update bwameth container build to match conda version (#402) 2021-04-06 10:45:14 +01:00
Jose Espinosa-Carrasco
f8e428d690
Restructuring spades tests whith new test data sets + fixing spades tests (#396)
* Restructuring with new test data sets + fixing tests

* Remove checkings for warning files

* Remove md5 check for test.gene_clusters.fa

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-04-01 20:31:23 +01:00
Robert A. Petit III
c9256616b9
update tests for new config (#384)
* update tests for new config

* fix quast, update more

* more updates!

* more tests updated

* fix tests, added tabix gff3.gz

* Delete main.nf

Removing SPAdes from PR to avoid merge conflicts with https://github.com/nf-core/modules/pull/396

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-04-01 20:22:06 +01:00
Nicholas Toda
f126d980d7
Add tests for subread #106 (#393)
* inital commit

* added meta.yaml info

* add initial logic for featurecounts test

* add args and change SE/PE to strandedness for featurecounts test

* added tests to pytest

* added test.yml

* removed GTF flag in options

* corrected test meta params

* meta yaml corrected tool info

* update test.yml

* fix lint errors meta.yml

Co-authored-by: Nicholas TODA <nicholas.toda@mnhn.fr>
2021-04-01 20:02:36 +01:00
Ravneet Bhuller
c5c59d44a1
PR for sequenzautils/bam2seqz (#395)
* added files

* edited files

* removed file

* README.md edited

Co-authored-by: kaurravneet4123 <kaurravneet4123@yahoo.com@users.noreply.github.com>
2021-04-01 07:08:27 +02:00
sruthipsuresh
983ba000c1
New modules: Fgbio callmolecularconsensusreads and sortbam (#352)
* Added fgbio callmolecularconsensusreads and sortbam modules

* Fixed naming issue in meta.yml

* fix: test.yml and config lint

* Revert "fix: test.yml and config lint"

This reverts commit 0453bc3a8dc3dab6997442a4349ee2241adcc380, which caused the sortbam tests to fail.

* style: Fix test names

* style: Remove trailing whitespace

* fixed test.yml

* fix: test data in sortbam

* fix: data format

* fix: test data for callmolecularconsensusreads

* Corrected with updated test data

* Apply suggestions from code review

Applied changes from code review, mainly syntactical changes

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

Co-authored-by: Sruthi Suresh <sps180004@ganymede.utdallas.edu>
Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-28 20:38:50 +01:00
JJ
e50a525715
gatk4 markduplicates (#356)
* new module gatk4/markduplicates

* add tests

* add gatk4_markduplicates entry in pytest_software.yml

* Update software/gatk4/markduplicates/main.nf

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

* Update software/gatk4/markduplicates/main.nf

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

* Update software/gatk4/markduplicates/main.nf

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

* Update software/gatk4/markduplicates/main.nf

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

* Update tests/software/gatk4/markduplicates/main.nf

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

* Update tests/software/gatk4/markduplicates/main.nf

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

* Apply suggestions from code review

* Fix EC lint

* Update md5sum

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-26 23:25:40 +00:00
suzannejin
989fb7d5b7
modify test path - module gatk4 + added new module gatk4/haplotypecaller (#382)
* 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

* fix README.md

* modify test path gatk4

* fix config

* Add new module gatk4/haplotypecaller

* solve check issues

* fix test.yml file

* fix test.yml gz.tbi

* Update software/gatk4/haplotypecaller/main.nf

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

* Update software/gatk4/haplotypecaller/main.nf

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

* Update software/gatk4/haplotypecaller/main.nf

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

* Update software/gatk4/haplotypecaller/meta.yml

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

* Update software/gatk4/haplotypecaller/meta.yml

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

* Update tests/software/gatk4/haplotypecaller/main.nf

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

* Apply suggestions from code review

Co-authored-by: suzannejin <suzanne.jin@crg.eu>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-26 12:46:46 +01:00
Nicholas Toda
e526eae472
Add tests for hisat2 (#366)
* initial commit hisat2/build

* initial commit hisat2/build

* changed names for hisat2

* fixed directory structure and args

* added splice site test data

* added splice site inputs

* replaced list with individual args

* fixed removed commas

* added test yml file

* updated hisat2 conda version

* added meta.yml

* added meta.yml description

* added meta.yml inputs

* added meta.yml outputs

* update conda version for hisat2

* removed trailing whitespace meta.yml

* fixed version number for containers

* added test data to test config

* updated for new test logic

* fix pytest issue?

* fix pytest issue

* fixed wrong tool in meta.yaml

* updated tets.yaml name

* handle build bug for testing

* handle build bug for testing in yaml

* moved test folder to fix build bug

* use old hisat2 version to avoid conda giving inconsistent md5sum

* initial commit

* removed temp file

* added meta yaml

* add to pytest

* added tests

* added test yml

* add align meta yaml

* add hisat2 align to pytest

* remove need for splice data by calling process

* add hisat2 align se test

* add hisat2 align pe test

* update names hisat2 align

* update software pytest for using mutiple modules

* remove splice site test data since using module instead

* remove splice site from config since using module instead

* fixed extra brace

* added hisat2 align test.yml

* removed md5sum for bam files

* updated build md5sums

* Apply suggestions from code review

Co-authored-by: Nicholas TODA <nicholas.toda@mnhn.fr>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-25 21:08:46 +00:00
kevbrick
fead37d57a
Add module: nf-core hackathon #207 : new module: msisensor/msi (#343)
* Add module: nf-core hackathon #207 : new module: msisensor/msi

* Add module: nf-core hackathon #207 : new module: msisensor/msi

* Fix 4-spacing issues (caught in PR linting)

* Code review fixes & update configs

* Code review: remove stray echo

* Code review: Add msisensor modules

* Slashes to underscores to get tests to run on github

* Update software/msisensor/scan/main.nf

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

* Update software/msisensor/scan/main.nf

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

* Update software/msisensor/msi/main.nf

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

* Update software/msisensor/msi/main.nf

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

* Add all outputs to meta.ymls

* Fixes from code review

* Fixes from code review

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-25 16:46:00 -04:00
Batool
f90b8ecb24
Fix the test path salmon/index and quant after switching to config data (#385)
* fix the test path in main.nf for salmon/index and quant

* fix typo

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Mannnn, hopefully I finally got it right :)

* replaced /salmon/salmon/ with /index/salmon/

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-25 17:03:25 +00:00
Edmund Miller
6e4b23a1ca
ci: Upload work directory on failure (#388)
Closes #374
2021-03-25 09:34:19 +00:00
FriederikeHanssen
555f1710e0
Update test paths in bwa mappers (#387)
* Update test paths in bwa mappers

* Fix indentation

* indices pass lcoally now

* no idea how they could ever pass before, Tests pass locally no

* Update samtools and bwamem2 versions

* Correct mulled containers + md5
2021-03-25 09:24:21 +00:00
Kevin Menden
6973df628f
Fixing vcftools and bismark tests (#383)
* fixed vcftools

* fixed genomepreparation, methylationextractor

* fixed deduplicate
2021-03-25 09:12:08 +00:00
Jose Espinosa-Carrasco
13bd67ed8a
Fix some module test after adapting test config approach (#379)
* Fix paths for bowtie2/build_test

* Fix paths for bowtie2/align

* Fix paths for bwameth/index

* Fix paths for bwameth/align

* Fix paths for multiqc tests
2021-03-24 18:29:41 +00:00
Gregor Sturm
2dba72dd14
Fix a bunch of failing tests after switching to test config (#378)
* Update test for trimgalore

* Fix picard markduplicate test

* Fix tests for picard mergesamfiles

* Fix checksum for markduplicates

* Fix multiplemetrics and wgsmetrics

* Fix checksum for mergesamfiles
2021-03-24 18:28:54 +00:00
Jose Espinosa-Carrasco
17fbdf96cb
Fix some module tests after switching to config data (#386)
* Adding tar.gz kraken2 db to test data

* Update test path files for untar module

* Update test path files for kraken2/run module

* Update test path files for cat/fastq module
2021-03-24 18:28:07 +00:00
pericsson
1e4fa57139
Update restructured paths (#380)
* dsh filterbed path updated

* dsh splitbed path updated

* adapterremoval path updated
2021-03-24 18:26:54 +00:00
Anthony Underwood
62775ea203
multi-tool instructions (#376)
* multi-tool instructions

Add instructions on how to build a bespoke multi-tool Docker container and Singularity image

* fix linting issues

* Change bash to console

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Ramon Rivera <ramon.rivera10@upr.edu>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-24 18:18:38 +00:00
Anthony Fullam
c5a5e25129
Update test data paths. (#375)
* Updata test data paths.

* Remove quote

* Revert quast

* Fix broken test

* Update md5
2021-03-24 18:18:01 +00:00
arontommi
d162f21ab3
Update samtools modules with config logic (#381)
* fixing paths for test

* fixing paths for test

* fixing pats to tests

* fixing paths to tests

* fixing paths to tests

* fixing paths for tests

* fixing paths for tests

* fixing paths for tests

* fixing paths fro tests

* fixing paths for tests

* indentation fixes

* typo

* renaming test results according to new file name

* replacing the md5sums

* fixing brackets

* replacing md5sums

* fixing md5sums

* fixing md5sums'

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

Co-authored-by: Ramon Rivera <ramon.rivera10@upr.edu>
Co-authored-by: Ramon Rivera <riveravicens@gmail.com>
2021-03-24 18:15:30 +00:00
Mark-S-Hill
889465cb2b
update test data paths (#373)
* update test data paths

* Update test md5sums

* gatk test fixes & update variantfiltration main

* few extra fixes after review

* fix suspected format error

* Update software/gatk4/variantfiltration/main.nf

* Update software/gatk4/variantfiltration/main.nf

* Apply suggestions from code review

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-24 18:14:11 +00:00
Kevin Menden
04c3684db7
Fixing a bunch of module tests (#370)
* 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

* fixing a bunch of module tests

* remove vscode

* fixed minia

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-24 17:36:29 +00:00
Alexander Peltzer
0337916f8a
Add YARA module (#353)
* Initial work on yara module

* Adding in index basics

* Updated the index stuff

* Adding in proper tests

* Fix editorconfig

* Odd paths

* that should do it

* Fix tests

* Fix tests

* FFS

* Once more

* Mapping is not deterministic
2021-03-24 17:14:52 +01:00
Maxime Borry
cfc94b96dd
modify fastp tests (#367)
Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
2021-03-24 17:08:59 +01:00
FriederikeHanssen
86df111707
Seqkit/split2 test path update (#372)
* Update test path

* Fix bracket

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-24 17:05:43 +01:00
Harshil Patel
c7155d023e
Update bedtools modules with config logic (#369) 2021-03-24 14:14:19 +00:00
Harshil Patel
83a500e6b0
Use a config containing all test data for module tests (#365)
* Re-organise all test data

* Fix ECLint

* Fix ECLint agaaainn

* Now is not the time EClint

* Initial commit for test data config

* Rename test data

* Include test config

* Update indents

* Update test for FastQC via config

* Remove quotes of bottom-level variables

* Use underscores in key names

* Get tests working for fastp

* Remove whitespace at beginning of file
2021-03-24 13:07:37 +00:00
Gisela Gabernet
22eaefe583
Add module kallisto/index (#357)
* add kallisto index module

* update kallisto module

* add kallisto module tests

* update kallisto index test.yml

* update test data paths

* fix version

* fix kallisto index test yml

* remove TODOs

* Update software/kallisto/index/main.nf

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

* Update software/kallisto/index/main.nf

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

* output folder instead

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-24 12:25:39 +00:00
Harshil Patel
acb1a12a56
Re-organise all test data (#354)
* Re-organise all test data

* Fix ECLint

* Fix ECLint agaaainn

* Now is not the time EClint
2021-03-24 09:53:41 +00:00
Yuk Kei Wan
323856a9da
add nanopore 100-read test subset (fast5, fastq, and bam/bai) (#344) 2021-03-24 05:13:34 +00:00
arontommi
86bb832fae
Strelka germline (#340)
* nf-core template created

* boilerplate and sarek_dsl2 code merged

* adding an option to give it args

* bai got away

* seperating vcf files and vcf index files into seperate streams

* some minor spacefixes

* adding standard information about the module

* removing typos

* some basic tests based on tiddit tests

* removed the bed parameter, should be provided via options.args instead

* removing typos

* adding indexed bam file instead

* Adding changing out fasta with reference to deal with empty fasta input

* adding the correct fasta

* removing the empty test

* adding the correct data to the testoutput and removing the md5sum since
it constantly changes

* adding  target_bed to input

* adding info on target bed

* adding target bed to test

* adding more files to the test

* adding meta for target bed test

* adding a test for target_bed

* typo

* fixing pytest with master
2021-03-24 05:07:29 +00:00
Erkison Ewomazino Odih
67b3e00f58
add flash module (#341)
* add flash module

* remove todo

* run tests

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-24 05:05:45 +00:00
Robert A. Petit III
6d14819859
Fix link describing process labels (#349) 2021-03-24 05:03:57 +00:00
Ravneet Bhuller
a70abc236b
PR for sequenzautils/gcwiggle (#345)
* added files

* edited files

* edited files

* edited file

* test(sequenzautils): Remove md5sum

Co-authored-by: kaurravneet4123 <kaurravneet4123@yahoo.com@users.noreply.github.com>
Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com>
2021-03-24 05:03:03 +00:00
Robert A. Petit III
3f14b1fabe
Update shovill module (#337)
* add shovill module

* removed deprecated shovill module

* fix line ending in functions.nf

* fix yaml indentation

* reduce spades memory usage

* update md5sums

* remove non reproducible md5sum

* Update test.yml

Remove last non-reproducible md5sum.

* purely cosmetic order change

* proper process label, improve output readability

Co-authored-by: Florian Wuennemann <flowuenne@gmail.com>
2021-03-24 04:57:41 +00:00
Yuk Kei Wan
af3bc225c0
ucsc_bed12tobigbed (previous pull request had conflicts) (#302)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update pytest_software.yml

* Update main.nf

* fix linting error

* Delete test.yml

* Create functions.nf

* Update main.nf

* change test data

* revert to !>=20.11.0-edge
2021-03-24 04:55:49 +00:00
Robert A. Petit III
a13d859c87
Add process label to prokka (#350) 2021-03-24 04:54:52 +00:00
Mark-S-Hill
399b58043d
add vcftools module (#334)
* add vcftools module

* fix padding issue

* fix linting errors
2021-03-24 04:54:23 +00:00
Kevin Menden
fe8a783cef
Homer (#330)
* started with homer

* added tests for homer annotatepeaks

* fix md5

* remove md5 sum
2021-03-23 11:24:54 -07:00