-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from i-VRESSE/build-offline
Offline
- Loading branch information
Showing
10 changed files
with
617 additions
and
174 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Haddock3 ui components - ClusterTable example</title> | ||
<link | ||
href="./dist/index.css" | ||
rel="stylesheet" | ||
/> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script id="datatable2" type="application/json"> | ||
{ | ||
"clusters": [ | ||
{ | ||
"rank": 1, | ||
"id": 1, | ||
"size": 5, | ||
"score": { "mean": -5.86, "std": 1.54 }, | ||
"irmsd": { "mean": 1.81, "std": 0.53 }, | ||
"fnat": { "mean": 0.57, "std": 0.24 }, | ||
"lrmsd": { "mean": 5.07, "std": 2.25 }, | ||
"dockq": { "mean": 0.58, "std": 0.18 }, | ||
"air": { "mean": 847.55, "std": 208.47 }, | ||
"desolv": { "mean": 11.67, "std": 3.46 }, | ||
"elec": { "mean": -9.69, "std": 3.32 }, | ||
"vdw": { "mean": -2.98, "std": 9.17 }, | ||
"ilrmsd": { "mean": -2.98, "std": 9.17 }, | ||
"bsa": { "mean": -2.98, "std": 9.17 }, | ||
"best1": "stories/assets/2oob.pdb", | ||
"best2": "stories/assets/4o8j.pdb", | ||
"best3": "stories/assets/target.pdb", | ||
"best4": "stories/assets/2oob.pdb" | ||
}, | ||
{ | ||
"rank": 2, | ||
"id": 2, | ||
"size": 10, | ||
"score": { "mean": -6.12, "std": 1.23 }, | ||
"irmsd": { "mean": 1.23, "std": 0.57 }, | ||
"fnat": { "mean": 0.46, "std": 0.79 }, | ||
"lrmsd": { "mean": 4.32, "std": 2.35 }, | ||
"dockq": { "mean": 0.99, "std": 0.65 }, | ||
"air": { "mean": 765.43, "std": 321.1 }, | ||
"desolv": { "mean": 9.88, "std": 5.43 }, | ||
"elec": { "mean": -8.77, "std": 4.32 }, | ||
"vdw": { "mean": -1.23, "std": 8.77 }, | ||
"ilrmsd": { "mean": -1.34, "std": 0 }, | ||
"bsa": { "mean": -2.978, "std": 0 }, | ||
"best1": "stories/assets/2oob.pdb", | ||
"best2": "stories/assets/4o8j.pdb", | ||
"best3": "stories/assets/target.pdb", | ||
"best4": "" | ||
} | ||
], | ||
"headers": [ | ||
{ "key": "id", "label": "ID" }, | ||
{ "key": "rank", "label": "Rank", "sorted": "asc" }, | ||
{ "key": "size", "label": "Size" }, | ||
{ "key": "score", "label": "HADDOCK score [a.u.]", "type": "stats" }, | ||
{ "key": "vdw", "label": "Van der Waals Energy", "type": "stats" }, | ||
{ "key": "elec", "label": "Electrostatic Energy", "type": "stats" }, | ||
{ "key": "air", "label": "Restraints Energy", "type": "stats" }, | ||
{ "key": "desolv", "label": "Desolvation Energy", "type": "stats" }, | ||
{ "key": "irmsd", "label": "interface RMSD [A]", "type": "stats" }, | ||
{ "key": "lrmsd", "label": "ligand RMSD [A]", "type": "stats" }, | ||
{ "key": "ilrmsd", "label": "interface-ligand RMSD [A]", "type": "stats" }, | ||
{ "key": "fnat", "label": "Fraction of Common Contacts", "type": "stats" }, | ||
{ "key": "dockq", "label": "DOCKQ", "type": "stats" }, | ||
{ "key": "bsa", "label": "Buried Surface Area [A^2]", "type": "stats" }, | ||
{ | ||
"key": "best1", | ||
"label": "Nr 01 best structure", | ||
"type": "structure", | ||
"sortable": false | ||
}, | ||
{ | ||
"key": "best2", | ||
"label": "Nr 02 best structure", | ||
"type": "structure", | ||
"sortable": false | ||
}, | ||
{ | ||
"key": "best3", | ||
"label": "Nr 03 best structure", | ||
"type": "structure", | ||
"sortable": false | ||
}, | ||
{ | ||
"key": "best4", | ||
"label": "Nr 04 best structure", | ||
"type": "structure", | ||
"sortable": false | ||
} | ||
] | ||
} | ||
</script> | ||
<script type="module"> | ||
import{ renderClusterTable } from "./dist/report.bundle.js"; | ||
const props = JSON.parse(document.getElementById("datatable2").text) | ||
renderClusterTable(document.getElementById("root"), props.headers, props.clusters); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.