2021-03-24 04:57:41 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-03-24 09:53:41 +00:00
|
|
|
include { SHOVILL } from '../../../software/shovill/main.nf' addParams( options: [args: '--gsize 2800000 --kmers 31'] )
|
|
|
|
include { SHOVILL as SHOVILL_SKESA } from '../../../software/shovill/main.nf' addParams( options: [args: '--assembler skesa --gsize 2800000'] )
|
2021-03-24 04:57:41 +00:00
|
|
|
include { SHOVILL as SHOVILL_MEGAHIT } from '../../../software/shovill/main.nf' addParams( options: [args: '--assembler megahit --gsize 2800000'] )
|
2021-03-24 09:53:41 +00:00
|
|
|
include { SHOVILL as SHOVILL_VELVET } from '../../../software/shovill/main.nf' addParams( options: [args: '--assembler velvet --gsize 2800000'] )
|
2021-03-24 04:57:41 +00:00
|
|
|
|
|
|
|
workflow test_shovill {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
[ file("https://github.com/nf-core/test-datasets/raw/bacass/ERR044595_1M_1.fastq.gz", checkIfExists: true),
|
2021-04-13 17:03:09 +00:00
|
|
|
file("https://github.com/nf-core/test-datasets/raw/bacass/ERR044595_1M_2.fastq.gz", checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-03-24 04:57:41 +00:00
|
|
|
|
|
|
|
SHOVILL ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_shovill_megahit {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
2021-04-13 17:03:09 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-03-24 04:57:41 +00:00
|
|
|
|
|
|
|
SHOVILL_MEGAHIT ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_shovill_skesa {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
2021-04-13 17:03:09 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-03-24 04:57:41 +00:00
|
|
|
|
|
|
|
SHOVILL_SKESA ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_shovill_velvet {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
2021-04-13 17:03:09 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-03-24 04:57:41 +00:00
|
|
|
|
|
|
|
SHOVILL_VELVET ( input )
|
|
|
|
}
|