-
Notifications
You must be signed in to change notification settings - Fork 8
/
DGEnf.nf
executable file
·50 lines (39 loc) · 1.06 KB
/
DGEnf.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
/*
* pipeline input parameters
*/
counts=file('./bin/htseq_count.txt')
Samples=file('./bin/sample_phenotype.txt')
//params.counts = "$baseDir/htseq_counts.txt"
//params.outdir = "DGE_results"
//params.sample = "$baseDir/sample_phenotype.txt"
//println """\
// R N A S E Q - N F P I P E L I N E
// ===================================
// Counts: ${params.counts}
// phenotype : ${params.sample}
// outdir : ${params.outdir}
// """
// .stripIndent()
/*
* create a transcriptome file object given then transcriptome string parameter
*/
// counts_file = file(params.counts)
//sample=file(params.sample)
/*
* define the `index` process that create a binary index
* given the transcriptome file
*/
process DGE {
tag "DGE"
input:
val 'input1' from Samples
val 'input2' from counts
output:
file("DGE_logs") into DGE_test
script:
"""
mkdir DGE_logs
DESeq.sh $input1 $input2
"""
}
result.subscribe { println it }