2021-02-08 14:16:51 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
include { TABIX_BGZIP } from '../../../../modules/tabix/bgzip/main.nf'
|
2022-09-26 19:47:41 +00:00
|
|
|
include { TABIX_BGZIP as TABIX_BGZIP_WITH_GZI } from '../../../../modules/tabix/bgzip/main.nf'
|
2021-02-08 14:16:51 +00:00
|
|
|
|
2022-04-20 14:26:56 +00:00
|
|
|
workflow test_tabix_bgzip_compress {
|
2021-02-08 14:16:51 +00:00
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-04-01 19:22:06 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-02-08 14:16:51 +00:00
|
|
|
|
2021-02-16 22:30:06 +00:00
|
|
|
TABIX_BGZIP ( input )
|
2021-02-08 14:16:51 +00:00
|
|
|
}
|
2022-04-20 14:26:56 +00:00
|
|
|
|
2022-09-26 19:47:41 +00:00
|
|
|
workflow test_tabix_bgzip_compress_gzi {
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true) ]
|
|
|
|
]
|
|
|
|
|
|
|
|
TABIX_BGZIP_WITH_GZI ( input )
|
|
|
|
}
|
|
|
|
|
2022-04-20 14:26:56 +00:00
|
|
|
workflow test_tabix_bgzip_decompress {
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
[ file(params.test_data['sarscov2']['genome']['test_bed_gz'], checkIfExists: true) ]
|
|
|
|
]
|
|
|
|
|
|
|
|
TABIX_BGZIP ( input )
|
|
|
|
}
|