nf-core_modules/tests/modules/bbmap/clumpify/main.nf
tamuanand 57b43ed3de
New module - BBMap clumpify (#1978)
* Update meta.yml by fixing html pattern expected 

Fixed html pattern typo:

Before: pattern: "*.thml"

After fix: pattern: "*.html"

* main.nf for bbmap_clumpify

* meta.yml for bbmap_clumpify

* bbmap/clumpify via Gitpod and @mahesh-panchal guide

* small changes to tests

* explicit mention of output file pattern - *.clumped.fastq.gz

* Update modules/bbmap/clumpify/main.nf

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

* Update modules/bbmap/clumpify/main.nf

Accepted @mahesh-panchal suggestions

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

Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
2022-09-05 08:23:08 +02:00

24 lines
741 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { BBMAP_CLUMPIFY } from '../../../../modules/bbmap/clumpify/main.nf'
workflow test_bbmap_clumpify_single_end {
input = [ [ id:'test', single_end:true ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true) ]
]
BBMAP_CLUMPIFY ( input )
}
workflow test_bbmap_clumpify_paired_end {
input = [ [ id:'test', single_end:false ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
]
BBMAP_CLUMPIFY ( input )
}