mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
7be60774b6
* add module for tbprofiler * Update test.yml * Update meta.yml Co-authored-by: Abhinav Sharma <abhi18av@users.noreply.github.com> Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
24 lines
1,005 B
Text
24 lines
1,005 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { TBPROFILER_PROFILE as TBPROFILER_PROFILE_ILLUMINA } from '../../../../modules/tbprofiler/profile/main.nf' addParams( options: [args: '--platform illumina'] )
|
|
include { TBPROFILER_PROFILE as TBPROFILER_PROFILE_NANOPORE} from '../../../../modules/tbprofiler/profile/main.nf' addParams( options: [args: '--platform nanopore'] )
|
|
|
|
workflow test_tbprofiler_profile_illumina {
|
|
|
|
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) ] ]
|
|
|
|
TBPROFILER_PROFILE_ILLUMINA ( input )
|
|
}
|
|
|
|
|
|
workflow test_tbprofiler_profile_nanopore {
|
|
|
|
input = [ [ id:'test', single_end:true ], // meta map
|
|
file(params.test_data['sarscov2']['nanopore']['test_fastq_gz'], checkIfExists: true) ]
|
|
|
|
TBPROFILER_PROFILE_NANOPORE ( input )
|
|
}
|