#!/usr/bin/env nextflow

nextflow.enable.dsl = 2

include { DEEPTOOLS_COMPUTEMATRIX } from '../../../../modules/deeptools/computematrix/main.nf' addParams( options: ['args' : 'scale-regions -b 1000'] )

workflow test_deeptools_computematrix {

    input = [ [ id:'test' ], // meta map
              file(params.test_data['sarscov2']['illumina']['test_bigwig'], checkIfExists: true)
            ]

    bed = file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)

    DEEPTOOLS_COMPUTEMATRIX ( input, bed )
}