-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.nf
24 lines (21 loc) · 1.33 KB
/
main.nf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env nextflow
nextflow.enable.dsl=2
//params.fasta = WorkflowMain.getGenomeAttribute(params, 'fasta')
include { make_bintable } from './modules/local/make_bintable'
include { make_track_db } from './modules/local/make_track_db'
include { eigdecomp } from './modules/local/eigdecomp'
include { plot_spectrum} from './modules/local/plot_spectrum'
// include { make_multivec } from './modules/local/make_multivec'
include { clustering } from './modules/local/clustering'
include { heatmap } from './modules/local/heatmap'
include { scatters } from './modules/local/scatters'
workflow {
make_bintable(params.config, params.genome)
make_track_db(params.config, make_bintable.out.bins, params.meta)
eigdecomp(params.config, make_bintable.out.bins, params.blacklist, params.mcool)
plot_spectrum(params.config, eigdecomp.out.eigvals)
// make_multivec(params.config, eigdecomp.out.eigvals, eigdecomp.out.eigvecs)
clustering(params.config, eigdecomp.out.eigvals, eigdecomp.out.eigvecs, make_bintable.out.bins)
heatmap(params.config, eigdecomp.out.eigvals, eigdecomp.out.eigvecs, make_bintable.out.bins, clustering.out.cluster, make_track_db.out.trackdb, params.meta)
scatters(params.config, eigdecomp.out.eigvals, eigdecomp.out.eigvecs, make_bintable.out.bins, clustering.out.cluster, make_track_db.out.trackdb, params.meta)
}