nf-core_modules/tests/software/bedtools/bamtobed/main.nf
Yuk Kei Wan 3f804ee667
add bedtools bamtobed module (from nanoseq modules) (#466)
* add bedtools bamtobed module

* fix erros

* fix linting problem
2021-04-30 13:20:31 +01:00

15 lines
587 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { BEDTOOLS_BAMTOBED } from '../../../../software/bedtools/bamtobed/main.nf' addParams( options: [:] )
workflow test_bedtools_bamtobed {
input = [ [ id:'test'], //meta map
file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true),
file(params.test_data['sarscov2']['nanopore']['test_sorted_bam'], checkIfExists: true),
file(params.test_data['sarscov2']['nanopore']['test_sorted_bam_bai'], checkIfExists: true)
]
BEDTOOLS_BAMTOBED ( input )
}