-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmain.nf
58 lines (48 loc) · 1.37 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
* This Source Code Form is subject to the terms of the GNU GENERAL PUBLIC LICENCE
* License, v. 3.0.
*/
/*
* 'PhIP-Flow' - A Nextflow pipeline for running common phip-seq analysis workflows
*
* Fred Hutchinson Cancer Research Center, Seattle WA.
*
* Jared Galloway
* Kevin Sung
* Sam Minot
* Erick Matsen
*/
/*
* Enable DSL 2 syntax
*/
nextflow.enable.dsl = 2
/*
* Define the default parameters - example data get's run by default
*/
params.sample_table = "$baseDir/data/pan-cov-example/sample_table_with_beads_and_lib.csv"
if (params.sample_table != "$baseDir/data/pan-cov-example/sample_table_with_beads_and_lib.csv")
params.reads_prefix = "$launchDir"
else
params.reads_prefix = "$baseDir"
params.peptide_table = "$baseDir/data/pan-cov-example/peptide_table.csv"
params.results = "$PWD/results/"
log.info """\
P H I P - F L O W!
Matsen, Overbaugh, and Minot Labs
Fred Hutchinson CRC, Seattle WA
================================
sample_table : $params.sample_table
peptide_table : $params.peptide_table
results : $params.results
"""
/*
* Import modules
*/
nextflow.enable.dsl=2
include { ALIGN } from './workflows/alignment.nf'
include { STATS } from './workflows/statistics.nf'
include { DSOUT } from './workflows/output.nf'
include { AGG } from './workflows/aggregate.nf'
workflow {
ALIGN | STATS | DSOUT | AGG
}