mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
f2264c1052
* added scramble/clusteridentifier * linting * added cluster_analysis * added a comment to the mei ref * added reference comments * linting
54 lines
No EOL
1.4 KiB
Text
54 lines
No EOL
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
|
|
)
|
|
} |