nf-core_modules/tests/modules/merqury/main.nf
Mahesh Binzer-Panchal 1de4bd46b7
Add Merqury (#1647)
* Add merqury files

* Remove md5sum for completeness stats file

* update container and test output

* Update modules/merqury/meta.yml

Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>

* Explicitly set thread usage for meryl

* Remove empty file md5sum

Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
2022-07-14 10:38:50 +02:00

26 lines
913 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { MERYL_COUNT } from '../../../modules/meryl/count/main.nf'
include { MERYL_UNIONSUM } from '../../../modules/meryl/unionsum/main.nf'
include { MERQURY } from '../../../modules/merqury/main.nf'
workflow test_merqury {
input = [
[ id:'test', single_end:false ], // meta map
[
file(params.test_data['homo_sapiens']['illumina']['test_1_fastq_gz'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test_2_fastq_gz'], checkIfExists: true)
]
]
assembly = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
]
MERYL_COUNT ( input )
MERYL_UNIONSUM ( MERYL_COUNT.out.meryl_db )
MERQURY ( MERYL_UNIONSUM.out.meryl_db.join( Channel.value( assembly ) ) )
}