mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
1de4bd46b7
* 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>
26 lines
913 B
Text
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 ) ) )
|
|
}
|