@require(htmlbase, title, object, data, current_pathways)
@title
@title
@if hasattr(object, 'synonym_str') and object.synonyms:
@object.synonym_str()
@end
@def figure():
@end
@figure()
@def thermodynamics():
@if hasattr(object,'gibbs'):
ΔG° | @object.gibbs['deltaG']!s ± @object.gibbs['uncertainty']!s |
Charge | @object.gibbs['charge']!s |
@end
@end
@thermodynamics()
@if hasattr(object, 'pathways') and object.pathways:
@tr('Pathways') (@str(len(object.pathways)))
@for p in object.pathways:
-
@p.name
@if p.id not in current_pathways:
@else:
@end
@end
@end
@if hasattr(object, 'reactions') and object.reactions:
@tr('Reactions') (@str(len(object.reactions)))
@for r in object.reactions:
- @r.name
@end
@end
@if hasattr(object, 'compounds') and object.compounds:
@tr('Compounds') (@str(len(object.compounds)))
@for m in object.compounds:
-
@if data and data.analysis and m.id in data.analysis:
@else:
@end
@m.name
@end
@end
@if hasattr(object, 'secondary_compounds') and object.secondary_compounds:
2° @tr('Compounds') (@str(len(object.secondary_compounds)))
@for m in object.secondary_compounds:
-
@if data and data.analysis and m.id in data.analysis:
@else:
@end
@m.name
@end
@end
@if hasattr(object, 'proteins') and object.proteins:
@tr('Proteins') / @tr('Enzymes') (@str(len(object.proteins)))
@for p in object.proteins:
-
@if data and data.analysis:
@if p.id in data.analysis:
@else:
@endif
@for g in p.genes:
@if g.id in data.analysis:
●
@endif
@endfor
@else:
@endif
@p.name
@end
@end
@if hasattr(object, 'genes') and object.genes:
@tr('Genes') (@str(len(object.genes)))
@for g in object.genes:
-
@if data and data.analysis and g.id in data.analysis:
@else:
@end
@g.name
@end
@end
@if hasattr(object, 'id'):
@tr('Databases')
@end
@def actions():
@end
@actions()