mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
add extra test
This commit is contained in:
parent
413980e93a
commit
d617a50371
1 changed files with 12 additions and 2 deletions
|
@ -4,11 +4,21 @@ nextflow.enable.dsl = 2
|
||||||
|
|
||||||
include { BAMTOOLS_SPLIT } from '../../../../modules/bamtools/split/main.nf'
|
include { BAMTOOLS_SPLIT } from '../../../../modules/bamtools/split/main.nf'
|
||||||
|
|
||||||
workflow test_bamtools_split {
|
workflow test_bamtools_split_single_input {
|
||||||
|
|
||||||
input = [
|
input = [
|
||||||
[ id:'test', single_end:false ], // meta map
|
[ id:'test', single_end:false ], // meta map
|
||||||
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
|
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
|
||||||
|
|
||||||
BAMTOOLS_SPLIT ( input, [] )
|
BAMTOOLS_SPLIT ( input )
|
||||||
|
}
|
||||||
|
|
||||||
|
workflow test_bamtools_split_multiple_input {
|
||||||
|
|
||||||
|
input = [
|
||||||
|
[ id:'test', single_end:false ], // meta map
|
||||||
|
[file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true), file(params.test_data['homo_sapiens']['illumina']['test2_paired_end_sorted_bam'], checkIfExists: true)]
|
||||||
|
[
|
||||||
|
|
||||||
|
BAMTOOLS_SPLIT ( input )
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue