Skip to content
Snippets Groups Projects
Commit 2afca77c authored by Anthony Bretaudeau's avatar Anthony Bretaudeau
Browse files

begin with assemblies, before annotations

parent 33e0fc73
No related branches found
No related tags found
No related merge requests found
......@@ -321,6 +321,29 @@
<?php else: ?>
<div class="no_sub_analysis">
<?php endif; ?>
<?php foreach ($ans as $an_num => $an): ?>
<?php if ($an->human_kind == 'assembly'): ?>
<div class="tripal_analysis_blast-teaser tripal-teaser">
<div class="tripal-analysis-blast-teaser-title tripal-teaser-title">
<?php
print "Genome assembly: <span class='data_highlight'>".$an->name;
?></span>
</div>
<div class="tripal-analysis-blast-teaser-text tripal-teaser-text"><?php
print substr($an->description, 0, 650);
if (strlen($an->description) > 650) {
print "... " . l("[more]", "node/$an_num");
}
print "<p class=\"sub_analysis\"><b>" .$an->feature_count . "</b> features";
print ", performed on <b>".explode(' ', $an->timeexecuted)[0]."</b></p>";
?>
</div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach ($ans as $an_num => $an): ?>
<div class="tripal_analysis_blast-teaser tripal-teaser">
<div class="tripal-analysis-blast-teaser-title tripal-teaser-title">
......@@ -331,9 +354,6 @@
else if ($an->human_kind == 'structural') {
print "Structural annotation: <span class='data_highlight'>".$an->name;
}
else if ($an->human_kind == 'assembly') {
print "Genome assembly: <span class='data_highlight'>".$an->name;
}
else if ($an->human_kind == 'transcriptome') {
print "Transcriptome: <span class='data_highlight'>".$an->name;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment