mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
07e2868920
* When the `-i` option of bgzip is given, an index is created and needs to be considered an output * It is not necessary to use a subfolder * Updated meta.yml too * Also check that an index name hasn't been requested Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
30 lines
892 B
Text
30 lines
892 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { TABIX_BGZIP } from '../../../../modules/tabix/bgzip/main.nf'
|
|
include { TABIX_BGZIP as TABIX_BGZIP_WITH_GZI } from '../../../../modules/tabix/bgzip/main.nf'
|
|
|
|
workflow test_tabix_bgzip_compress {
|
|
input = [ [ id:'test' ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true) ]
|
|
]
|
|
|
|
TABIX_BGZIP ( input )
|
|
}
|
|
|
|
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 )
|
|
}
|
|
|
|
workflow test_tabix_bgzip_decompress {
|
|
input = [ [ id:'test' ], // meta map
|
|
[ file(params.test_data['sarscov2']['genome']['test_bed_gz'], checkIfExists: true) ]
|
|
]
|
|
|
|
TABIX_BGZIP ( input )
|
|
}
|