Skip to content

Commit c0995f1

Browse files
committed
publishing JSON for web viewer
1 parent 5768fc6 commit c0995f1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

workflows/Nextflow/modules/runAnnotation/runAnnotation.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,13 @@ process keggPlots {
172172
output:
173173
path "kegg_map/*"
174174
path "kegg_map.log"
175+
path "opaver_web_path.json"
175176

176177
script:
177178
"""
178179
check_server_up.pl --url "http://rest.kegg.jp" && \
179180
opaver_anno.pl -g $gff -o ./kegg_map -p ${settings["projName"]} > kegg_map.log 2>&1
181+
echo '{ "opaver_web_path":"opaver_web/pathway_anno.html?data=${settings["dataCode"]}" }' > opaver_web_path.json
180182
"""
181183
}
182184

workflows/Nextflow/nextflow.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ params {
119119
gcode = null
120120
keggView = false
121121
keggViewerDir = "${projectDir}/../../../database/opaver_web/data/kegg_map"
122+
dataCode = ""
122123
}
123124

124125
binning {

0 commit comments

Comments
 (0)