-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathfunctional_annotation_modules.config
52 lines (51 loc) · 1.4 KB
/
functional_annotation_modules.config
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
publish_subdir = 'functional_annotation'
process {
withName: 'GFF2PROTEIN' {
ext.args = [
'-p',
'-cfs',
'-cis',
"-ct $params.codon_table"
].join(' ').trim()
}
withName: 'BLAST_MAKEBLASTDB' {
ext.args = '-dbtype prot'
}
withName: 'BLAST_BLASTP' {
ext.args = '-evalue 1e-6 -outfmt 6'
}
withName: 'INTERPROSCAN' {
cpus = 8
ext.args = [
'--iprlookup',
'--goterms',
'-pa',
'-t p',
'-dra'
].join(' ').trim()
}
withName: 'MERGE_FUNCTIONAL_ANNOTATION' {
ext.args = [
"-id $params.merge_annotation_identifier",
'-pe 5',
params.use_pcds ? "--pcds" : ""
].join(' ').trim()
publishDir = [
[
path: "${params.outdir}/${publish_subdir}/blast_tsv",
mode: params.publishDir_mode,
pattern: "blast_merged.tsv"
],
[
path: "${params.outdir}/${publish_subdir}/interproscan_tsv",
mode: params.publishDir_mode,
pattern: "interproscan_merged.tsv"
],
[
path: "${params.outdir}/${publish_subdir}/final_annotation",
mode: params.publishDir_mode,
pattern: "*.gff"
]
]
}
}