Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CoNekT/planet/templates/admin/controls.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
60 lines (50 sloc)
2.35 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'admin/master.html' %} | |
{% block brand %} | |
<a class="navbar-brand" href="{{ url_for('main.screen') }}"><img src="{{ url_for('static', filename='img/icon-48x48.png') }}" style="max-width:100px;margin-left:-7px;margin-top: -13px;float:left;margin-right:5px;" width="48px"/></a> | |
{% endblock %} | |
{% block body %} | |
<h1>Controls</h1> | |
<p>Using the buttons below data in the database can be re-calculated.</p> | |
<h3>Update</h3> | |
<div class="btn-group"> | |
<a class="btn btn-default" href="{{ url_for('admin_controls.update_counts') }}">Counts</a> | |
<a class="btn btn-default" href="{{ url_for('admin_controls.update_clades') }}">Clades</a> | |
</div> | |
<h3>Co-expression clusters</h3> | |
<p><strong>Note:</strong> Calculating the GO enrichment will remove previous calculations from the database !</p> | |
<a class="btn btn-default" href="{{ url_for('admin_controls.calculate_enrichment') }}">GO enrichment</a> <a class="btn btn-default" href="{{ url_for('admin_controls.delete_enrichment') }}">Delete enrichment</a> | |
<br /> | |
<h4>Cluster Similarities</h4> | |
<div class="btn-group"> | |
{% for gfm in gene_family_methods %} | |
<a class="btn btn-default" href="{{ url_for('admin_controls.calculate_cluster_similarity', gf_method_id=gfm.id) }}">{{ gfm.method }} </a> | |
{% else%} | |
<p>No gene families defined. Unable to calculate similarites between co-expression clusters</p> | |
{% endfor %} | |
</div> | |
<h3>ECC</h3> | |
<div class="btn-group"> | |
{% for gfm in gene_family_methods %} | |
<a class="btn btn-default" href="{{ url_for('admin_controls.calculate_ecc', gf_method_id=gfm.id) }}">{{ gfm.method }} </a> | |
{% else%} | |
<p>No gene families defined. Unable to ECC values</p> | |
{% endfor %} | |
</div> | |
<h3>Cache</h3> | |
<p>If caching is enabled, clearing the cache is recommended after uploading data or making changes</p> | |
<div class="btn-group"> | |
<a class="btn btn-default" href="{{ url_for('admin_controls.clear_cache') }}">Clear</a> | |
</div> | |
{% if g.blast_enabled %} | |
<h3>Blast</h3> | |
<p>This will build the Blast DB</p> | |
<div class="btn-group"> | |
<a class="btn btn-default" href="{{ url_for('admin_controls.build_blast_db') }}">Build Blast DB</a> | |
</div> | |
{% endif %} | |
<h3>Export</h3> | |
<p>This will export the data to the FTP folder sepcified in the configuration.</p> | |
<div class="btn-group"> | |
<a class="btn btn-default" href="{{ url_for('admin_controls.export_ftp') }}">FTP</a> | |
</div> | |
{% endblock %} |