mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
d1c6082a66
* Update HISAT2 build module * Bump preseq version * Fix tests * Add meta.yml for preseq to fix linting * Auto-detect --genomeSAindexNbases for smaller genomes * Add placeholder to use human data for the tests * Add CSI output option to samtools/index * Fix samtools/index tests
22 lines
828 B
Text
22 lines
828 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { SAMTOOLS_INDEX as SAMTOOLS_INDEX_BAI } from '../../../../software/samtools/index/main.nf' addParams( options: [:] )
|
|
include { SAMTOOLS_INDEX as SAMTOOLS_INDEX_CSI } from '../../../../software/samtools/index/main.nf' addParams( options: [args:'-c'] )
|
|
|
|
workflow test_samtools_index_bai {
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
|
]
|
|
|
|
SAMTOOLS_INDEX_BAI ( input )
|
|
}
|
|
|
|
workflow test_samtools_index_csi {
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
|
]
|
|
|
|
SAMTOOLS_INDEX_CSI ( input )
|
|
}
|