mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
572abb00b3
* Remove def from module options definition in main * Fix bismark_deduplicate tests * Fix bwameth_align tests * Fixing gatk4 conda tests ("=" instead of ':' in build id) * Same as previous commit (Fix gatk4 test) * Fix qualimap bamqc test (no md5 check for pngs) * Fix seqkit split2 tests. Changed to new test data * Fix samtools tests. Some were missing initOptions include * Removing TOOL SUBTOOL template module since now it is included on tools repo
55 lines
2.1 KiB
Text
55 lines
2.1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { SEQKIT_SPLIT2 as SEQKIT_SPLIT2_LENGTH } from '../../../../software/seqkit/split2/main.nf' addParams( options: ['args': '--by-length 8K'] )
|
|
include { SEQKIT_SPLIT2 as SEQKIT_SPLIT2_SIZE } from '../../../../software/seqkit/split2/main.nf' addParams( options: ['args': '--by-size 50' ] )
|
|
include { SEQKIT_SPLIT2 as SEQKIT_SPLIT2_PART } from '../../../../software/seqkit/split2/main.nf' addParams( options: ['args': '--by-part 3'] )
|
|
|
|
workflow test_seqkit_split2_single_end_length {
|
|
def input = []
|
|
input = [ [ id:'test', single_end:true ], // meta map
|
|
file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true) ]
|
|
|
|
SEQKIT_SPLIT2_LENGTH ( input )
|
|
}
|
|
|
|
workflow test_seqkit_split2_single_end_size {
|
|
def input = []
|
|
input = [ [ id:'test', single_end:true ], // meta map
|
|
file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true) ]
|
|
|
|
SEQKIT_SPLIT2_SIZE ( input )
|
|
}
|
|
|
|
workflow test_seqkit_split2_single_end_part {
|
|
def input = []
|
|
input = [ [ id:'test', single_end:true ], // meta map
|
|
file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true) ]
|
|
|
|
SEQKIT_SPLIT2_PART ( input )
|
|
}
|
|
|
|
workflow test_seqkit_split2_paired_end_length {
|
|
def input = []
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_[1-2].fastq.gz", checkIfExists: true) ]
|
|
|
|
SEQKIT_SPLIT2_LENGTH ( input )
|
|
}
|
|
|
|
workflow test_seqkit_split2_paired_end_size {
|
|
def input = []
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file("${launchDir}//tests/data/genomics/sarscov2/fastq/test_[1-2].fastq.gz", checkIfExists: true) ]
|
|
|
|
SEQKIT_SPLIT2_SIZE ( input )
|
|
}
|
|
|
|
workflow test_seqkit_split2_paired_end_part {
|
|
def input = []
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file("${launchDir}//tests/data/genomics/sarscov2/fastq/test_[1-2].fastq.gz", checkIfExists: true) ]
|
|
|
|
SEQKIT_SPLIT2_PART ( input )
|
|
}
|