mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-27 15:53:16 -05:00
54 lines
1.4 KiB
Text
54 lines
1.4 KiB
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { SCRAMBLE_CLUSTERANALYSIS } from '../../../../modules/scramble/clusteranalysis/main.nf'
|
||
|
include { SCRAMBLE_CLUSTERIDENTIFIER } from '../../../../modules/scramble/clusteridentifier/main.nf'
|
||
|
|
||
|
workflow test_scramble_clusteranalysis {
|
||
|
|
||
|
input = [
|
||
|
[ id:'test', single_end:false ], // meta map
|
||
|
file(params.test_data['homo_sapiens']['scramble']['bam'], checkIfExists: true),
|
||
|
file(params.test_data['homo_sapiens']['scramble']['bam_bai'], checkIfExists: true),
|
||
|
[]
|
||
|
]
|
||
|
|
||
|
fasta = []
|
||
|
mei_ref = []
|
||
|
|
||
|
SCRAMBLE_CLUSTERIDENTIFIER(
|
||
|
input,
|
||
|
fasta
|
||
|
)
|
||
|
|
||
|
SCRAMBLE_CLUSTERANALYSIS (
|
||
|
SCRAMBLE_CLUSTERIDENTIFIER.out.clusters,
|
||
|
fasta,
|
||
|
mei_ref
|
||
|
)
|
||
|
}
|
||
|
|
||
|
workflow test_scramble_clusteranalysis_fasta {
|
||
|
|
||
|
input = [
|
||
|
[ id:'test', single_end:false ], // meta map
|
||
|
file(params.test_data['homo_sapiens']['scramble']['cram'], checkIfExists: true),
|
||
|
file(params.test_data['homo_sapiens']['scramble']['cram_crai'], checkIfExists: true),
|
||
|
[]
|
||
|
]
|
||
|
|
||
|
fasta = file(params.test_data['homo_sapiens']['scramble']['fasta'], checkIfExists: true)
|
||
|
mei_ref = []
|
||
|
|
||
|
SCRAMBLE_CLUSTERIDENTIFIER(
|
||
|
input,
|
||
|
fasta
|
||
|
)
|
||
|
|
||
|
SCRAMBLE_CLUSTERANALYSIS (
|
||
|
SCRAMBLE_CLUSTERIDENTIFIER.out.clusters,
|
||
|
fasta,
|
||
|
mei_ref
|
||
|
)
|
||
|
}
|