Spaces:
Paused
Paused
update documentation for EC term displays
Browse filesFiles changed (2)
- pages/User_Guide.py+3-2
- ui.py+18-10
51 unmodified lines525354555556575859596061626351 unmodified linesst.markdown("""Each selected prediction type gets its own tab.- **GO terms** – a sortable table with links to UniProt and QuickGO. Filter by protein, aspect, GO ID / term text and minimum score, then download the filtered table as CSV. GO ID / term text and minimum score. Hover the table and use its toolbar (top-right) to search it, download it as CSV, or open it full-screen.- **EC numbers** – EC predictions as a consistent top-down chain (L1 class → L4 full number), with the enzyme class/name and links to the ExPASy ENZYME database. A protein can stop at an intermediate level when no deeper level passes the threshold, and non-enzymes return no EC number. Filter by protein, level, EC text and minimum score, then download as CSV. level, EC text and minimum score; the table toolbar downloads, searches and expands it as above.- **Knowledge graph** – for runs of up to 10 proteins, view the subgraph around a protein (with optional second-degree edges) and download the shown edges as JSON.
20 unmodified lines212223242524252627282930303132333435363233373839404136373842434445464748495051524546535455565720 unmodified linespredictions, known annotations, then other node types); second-degree neighbours sit on an outer ringnext to the neighbour they connect to. Choose the protein, then click **Show graph**.
- **Top predictions shown** – how many of the highest-scoring GO predictions are shown for each predicted GO category (EC predictions always show the full predicted chain).- **Predictions to show on the graph** – when you ran both GO and EC, toggle whether the graph overlays GO terms, EC numbers, or both. With only one type run, that type is shown.- **Neighbours per edge type** – how many knowledge-graph neighbours are shown for each relationship type (domains, interactions, pathways, …), including known GO annotations outside the top predictions.- **Second-degree neighbours** – set above 0 to also expand the neighbours' own connections, excluding edges back to the query protein, up to that many per edge type. Keep it low: the graph quickly becomes cluttered. Second-degree edges always come from the knowledge graph, never from predictions. becomes cluttered. Second-degree edges always come from the knowledge graph, never from predictions; the EC hierarchy is always drawn in full regardless of this setting.- **Top terms shown per category** (GO) – how many of the highest-scoring GO predictions are shown for each predicted GO category.- **Best prediction per level only** (EC) – show just the single highest-scoring EC at each hierarchy level (one clean L1→L4 chain) instead of every EC scoring above the threshold.
Node colours mark the entity type (see the legend at the top of the graph). Predictions are drawn for theselected protein only; select another protein in **Protein** to see its predictions.Node colours mark the entity type, including the four EC levels (see the legend at the top of the graph).Predictions are drawn for the selected protein only; select another protein in **Protein** to see itspredictions.
Edge colours mark the kind of link:- **Purple** – predicted GO term that is also annotated in the knowledge graph. Known annotations that the model predicted are purple even when they rank below the top terms set by **Top predictions shown**.- **Red** – novel prediction (one of the top predicted terms) not annotated in the knowledge graph.- **Purple** – predicted GO term or EC number that is also recorded in the knowledge graph. Known annotations the model predicted are purple even when they rank below the top terms set by **Top terms shown per category**.- **Red** – novel prediction not recorded in the knowledge graph.- **Blue** – GO annotation in the knowledge graph that the model did not predict in this run.- **Pink** – EC hierarchy link, connecting a predicted EC number to its parent class up to L1.- **Grey** – other relationships, such as protein–protein interactions, domains, drug targets, pathways, domain–GO mappings and GO hierarchy links.
Interacting with the graph:- **Hover** a node to highlight its connections and show their relationship names, with a card giving the node's name, type and a link to the source database (UniProt, QuickGO, InterPro, …). Hover an edge to see the relationship and, for GO terms, the score. node's name, type and a link to the source database (UniProt, QuickGO, InterPro, ExPASy …). Hover an edge to see the relationship and, for predictions, the score.- **Drag** nodes to rearrange them; **scroll** to zoom and drag the background to pan.- **Click a legend item** to hide that node type or edge kind; nodes left without visible edges are hidden too. Click it again to bring it back.pages/User_Guide.py+3-2
ui.py+18-10