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

Commit

Permalink
Updated download routes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggirelli committed Feb 4, 2019
1 parent c5d5904 commit 545c6b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions download.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
<div id="abstract" class="row">
<div class="col col-12">
<p>
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/>
<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>
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/>
<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/>
<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>
</p>
</div>

Expand Down
6 changes: 4 additions & 2 deletions new_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,27 +123,29 @@ def callback():
return static_file('iFISH.40mer.tsv.gz',
os.path.join(os.path.dirname(args.custom_routes),
'data', 'databases'),
download = "iFISH.40mer.hg19.gz",
mimetype = 'application/gzip')

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

@root.route('/custom/dbdownload/chrom/<chrom>')
def callback(chrom):
return static_file(f'{chrom}.gz',
os.path.join(os.path.dirname(args.custom_routes),
'data', 'databases', 'iFISH.40mer.singleChr'),
download = f'iFISH.40mer.{chrom}.gz',
download = f'iFISH.40mer.hg19.{chrom}.gz',
mimetype = 'application/gzip')

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

0 comments on commit 545c6b3

Please sign in to comment.