Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Commit 545c6b3

Browse files
committed
Updated download routes.
1 parent c5d5904 commit 545c6b3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

download.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929
<div id="abstract" class="row">
3030
<div class="col col-12">
3131
<p>
32-
Here you can download our databases of oligonucleotide sequences. The software needed to run our probe design tool locally on your machine can be downloaded from its <a href="http://github.com/ggirelli/iFISH-probe-design">github repository</a>. You can find all the instructions on how to install and run our software <a href="https://ggirelli.github.io/iFISH-probe-design/install" target="_new">here</a>. As we are continuously designing new oligo databases, please check this page regularly to see which new databases have been added.<br/>
33-
<small>All files are available in <code>gzip</code> format (<code>.gz</code>), more info <a href="https://fileinfo.com/extension/gz" target="_new">here</a>.</small>
32+
Here you can download our <a href="https://ggirelli.github.io/iFISH-probe-design/database" target="_doc">databases</a> of oligonucleotide sequences. The software needed to run our probe design tool locally on your machine can be downloaded from its <a href="http://github.com/ggirelli/iFISH-probe-design">github repository</a>. You can find all the instructions on how to install and run our software <a href="https://ggirelli.github.io/iFISH-probe-design/install" target="_new">here</a>. As we are continuously designing new oligo databases, please check this page regularly to see which new databases have been added.<br/>
33+
<small>All files are available in <code>gzip</code> format (<code>.gz</code>), more info <a href="https://fileinfo.com/extension/gz" target="_new">here</a>.</small><br/>
34+
<small><b>Note:</b> the files below need to be formatted with <a href="https://ggirelli.github.io/iFISH-probe-design/scripts#ifpd_mkdb" target="_doc"><code>ifpd_mkdb</code></a> before they can be used.</small>
3435
</p>
3536
</div>
3637

new_routes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,27 +123,29 @@ def callback():
123123
return static_file('iFISH.40mer.tsv.gz',
124124
os.path.join(os.path.dirname(args.custom_routes),
125125
'data', 'databases'),
126+
download = "iFISH.40mer.hg19.gz",
126127
mimetype = 'application/gzip')
127128

128129
@root.route('/custom/dbdownload/clean/hg19')
129130
def callback():
130131
return static_file('iFISH.40mer.clean.tsv.gz',
131132
os.path.join(os.path.dirname(args.custom_routes),
132133
'data', 'databases'),
134+
download = "iFISH.40mer.hg19.clean.gz",
133135
mimetype = 'application/gzip')
134136

135137
@root.route('/custom/dbdownload/chrom/<chrom>')
136138
def callback(chrom):
137139
return static_file(f'{chrom}.gz',
138140
os.path.join(os.path.dirname(args.custom_routes),
139141
'data', 'databases', 'iFISH.40mer.singleChr'),
140-
download = f'iFISH.40mer.{chrom}.gz',
142+
download = f'iFISH.40mer.hg19.{chrom}.gz',
141143
mimetype = 'application/gzip')
142144

143145
@root.route('/custom/dbdownload/clean/chrom/<chrom>')
144146
def callback(chrom):
145147
return static_file(f'{chrom}.gz',
146148
os.path.join(os.path.dirname(args.custom_routes),
147149
'data', 'databases', 'iFISH.40mer.clean.singleChr'),
148-
download = f'iFISH.40mer.clean.{chrom}.gz',
150+
download = f'iFISH.40mer.hg19.clean.{chrom}.gz',
149151
mimetype = 'application/gzip')

0 commit comments

Comments
 (0)