Commit 934bc01b authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

fix gene dispaly when it's a draft genome (no begin end properties for the genes)

in this case the genes are symbolized as retangle intead of arrow ( the sens D/C is unknown )
the position are deduced from the protein lenght with an arbitrary space between 2 genes
we assume the genes are in th right order 
parent 01ae947b
<!DOCTYPE html>
<html>
<head>
<title>secretion system {{code}}</title>
<script src="/_utils/script/jquery.js"></script>
<script src="../../script/raphael-min.js"></script>
<script type="text/javscript">
</script>
<link rel="stylesheet" href="../../style/main.css" type="text/css">
<link rel="stylesheet" href="../../style/color.css" type="text/css">
</head>
<body>
<h1>Secretion system {{code}}</h1>
<ul>
<li>code: {{code}}</li>
<li>T3SS family:{{T3SS_familly}}</li>
</ul>
<h2>Replicon</h2>
<ul>
{{#replicon}}
<li>name: {{name}}</li>
<li>taxid: {{taxid}}</li>
<li>strain: {{strain}}</li>
<li>taxonomy: {{taxonomy}}</li>
<li>type: {{type}}</li>
{{/replicon}}
</ul>
<div id="genes-schema">
</div>
<h3>Genes</h3>
<table>
<thead>
<tr>
<th>Gene-code</th><th>Gene-Id</th><th>Protein-length</th><th>Strand</th><th>Begin</th><th>End</th>
<th>Match</th><th>Full-score</th><th>E-value</th>
<th>Best-domain-score</th><th>Best-domain-evalue</th><th>C-value</th><th>Coverage-profile</th>
<th>Match-begin</th><th>Match-end</th>
</tr>
</thead>
<tbody>
{{#genes}}
<tr>
<td id="{{code}}" {{#match}} class="gene_{{match}}" {{/match}}>{{code}}</td><td>{{id}}</td><td>{{protein_length}}</td><td>{{strand}}</td><td>{{begin}}</td><td>{{end}}</td>
<td>{{match}}</td><td>{{full_score}}</td><td>{{e_value}}</td>
<td>{{best_domain_score}}</td><td>{{best_domain_evalue}}</td><td>{{c_value}}</td><td>{{coverage_profile}}</td>
<td>{{match_begin}}</td><td>{{match_end}}</td>
</tr>
{{/genes}}
</tbody>
</table>
</body>
</html>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment