-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring and finishing touches (#59)
* Unify the inference session title in UI. * Unify naming of the inference session on the backend. * Add propagating var id change into properties. * Add note regarding web-based docs. * Refactoring + documenting main TypeScript components. * Fix issue in network sampling. * Add new version of the example sketch. * Update installation instruction. * Update older todos. * Add initial version of the manual. * Instructions, refactoring, selenium tests. * Update manual. * Reorganize data folder, add additional data files. * Add instructions for tauri on linux. * Add tutorial video. * Update project structure description.
- Loading branch information
Showing
89 changed files
with
1,212 additions
and
437 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
This folder contains various models, benchmarks, and datasets. The structure is following: | ||
|
||
- `benchmarks` | Multiple sketches used for performance evaluation. Also contains expected output and metadata. Check `benchmarks/readme.md` for more details. | ||
- `real_cases` | Sketches and datasets relevant to cases studies on biological models and real datasets. Check `real_cases/readme.md` for more details. | ||
- `small_example` | An example sketch used to introduce the framework. Sketch is available in AEON and JSON format. We also provide results of the inference and the resulting sampled BN candidate. | ||
- `test_data` | Sketches and datasets for testing purposes. Used to test importing and inference. | ||
- `load-results-aeon-py.py` | Python script illustrating how to load a results archive exported by Sketchbook and load it into `aeon-py` library. You need to install python and biodivine_aeon library first (`https://pypi.org/project/biodivine-aeon/`). Script is just for illustration, so the path is fixed. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
A real case studies collected and adapted to BN sketches framework: | ||
A real case studies collected and adapted to BN sketches framework. The Arabidopsis is discussed in the Sketchbook thesis, while TLGL in our original theoretical paper. | ||
|
||
1) Apoptosis case study: | ||
1) Arabidopsis sketch: | ||
- background: This model and expected attractor data is taken from [this paper](https://doi.org/10.3389/fgene.2018.00039) about the BN inference tool Griffin. Originally, the model was developed by La Rota et al. in [this paper](https://doi.org/10.1105/tpc.111.092619). | ||
- model: We use the fully unspecified model directly as is. | ||
- properties: We use two fixed-point properties adapted from the Griffin paper. | ||
- candidates after static: 4761711360 | ||
- candidates after all: 439296 | ||
|
||
2) TLGL case study: | ||
2) TLGL sketch: | ||
- background: The original model was developed by Saadatpour et al. in [this paper](https://doi.org/10.1371/journal.pcbi.1002267). It is a reduced version of the model developed by Zhang et al. in [this article](https://doi.org/10.1073/pnas.0806447105). The experimental attractor data comes [this work](https://doi.org/10.1371/journal.pcbi.1002267) as well. | ||
- model: We use a partially specified version of the reduced model, only assuming that Apoptosis must inactivate all variables. | ||
- properties: We use a fixed-point property for a "healthy attractor" (cell death) and a complex attractor property for a "diseased attractor", based on provided data regarding the T-LGL state. | ||
- candidates after static: 1296 | ||
- candidates after all: 486 | ||
- candidates after all: 486 | ||
|
||
For both cases, we present the constructed sketch (in AEON and JSON format) and inference results produced by Sketchbook as a zip archive. There can be also additional datasets or other relevant model files. |
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
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,8 @@ | ||
v_3 -| v_1 | ||
v_1 -?? v_2 | ||
v_2 -? v_3 | ||
v_1 -> v_3 | ||
v_3 -?? v_3 | ||
$v_1: !v_3 | ||
$v_2: v_1 | ||
$v_3: ((v_1 & (!v_2 | v_3)) | (!v_1 & v_3)) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
v_3 -| v_1 | ||
v_1 -?? v_2 | ||
v_2 -? v_3 | ||
v_1 -> v_3 | ||
v_3 -?? v_3 | ||
$v_1: !v_3 | ||
$v_2: v_1 | ||
$v_3: ((v_1 & (!v_2 | v_3)) | (!v_1 & v_3)) | ||
#position:C:196.222646417978,222.1758650941348 | ||
$C:(B & C) | (!A & B) | ||
B -> C | ||
A -| C | ||
C ->? C | ||
#position:A:24.815603034996407,225.86087672588792 | ||
$A:C | ||
C -?? A | ||
#position:B:102.24128185543081,79.45256430306468 | ||
$B:A | ||
A -> B |
Binary file not shown.
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,26 @@ | ||
C -?? A | ||
B -> C | ||
A -| C | ||
C ->? C | ||
A -> B | ||
$A: g(C) | ||
$B: A | ||
$C: B & h(A, C) | ||
#position:B:102.24128,79.45257 | ||
#position:C:196.22264,222.17586 | ||
#position:A:24.815603,225.86087 | ||
#!dataset:d1:#`{"name":"dataset 1","id":"d1","annotation":"Example steady-state dataset with two attractor observations.","observations":[{"id":"o1","name":"observation 1","annotation":"","dataset":"d1","values":"111"},{"id":"o2","name":"observation 2","annotation":"","dataset":"d1","values":"000"}],"variables":["A","B","C"]}`# | ||
#!dynamic_property:dynamic_1:#`{"id":"dynamic_1","name":"Exists state reaching two attractors","annotation":"","variant":"GenericDynProp","formula":"\\exists {a}: \\exists {b}: \\exists {c}: ( \\jump{c}: ( EF {a} & EF {b} & ( \\jump {a}: AG EF {a} ) & ( \\jump {b}: ( AG EF {b} & ~EF {a} ) ) ) ) "}`# | ||
#!dynamic_property:dynamic_2:#`{"id":"dynamic_2","name":"Observations of dataset d1 are in attractors","annotation":"","variant":"HasAttractor","dataset":"d1","observation":null}`# | ||
#!function:g:#`{"id":"g","name":"g","annotation":"","arguments":[["Unknown","Unknown"]],"expression":""}`# | ||
#!function:h:#`{"id":"h","name":"h","annotation":"","arguments":[["Unknown","Unknown"],["Unknown","Unknown"]],"expression":""}`# | ||
#!static_property:essentiality_A_B:#`{"id":"essentiality_A_B","name":"Regulation essentiality property","annotation":"","variant":"RegulationEssential","input":"A","target":"B","value":"True","context":null}`# | ||
#!static_property:essentiality_A_C:#`{"id":"essentiality_A_C","name":"Regulation essentiality property","annotation":"","variant":"RegulationEssential","input":"A","target":"C","value":"True","context":null}`# | ||
#!static_property:essentiality_B_C:#`{"id":"essentiality_B_C","name":"Regulation essentiality property","annotation":"","variant":"RegulationEssential","input":"B","target":"C","value":"True","context":null}`# | ||
#!static_property:monotonicity_A_B:#`{"id":"monotonicity_A_B","name":"Regulation monotonicity property","annotation":"","variant":"RegulationMonotonic","input":"A","target":"B","value":"Activation","context":null}`# | ||
#!static_property:monotonicity_A_C:#`{"id":"monotonicity_A_C","name":"Regulation monotonicity property","annotation":"","variant":"RegulationMonotonic","input":"A","target":"C","value":"Inhibition","context":null}`# | ||
#!static_property:monotonicity_B_C:#`{"id":"monotonicity_B_C","name":"Regulation monotonicity property","annotation":"","variant":"RegulationMonotonic","input":"B","target":"C","value":"Activation","context":null}`# | ||
#!static_property:monotonicity_C_C:#`{"id":"monotonicity_C_C","name":"Regulation monotonicity property","annotation":"","variant":"RegulationMonotonic","input":"C","target":"C","value":"Activation","context":null}`# | ||
#!variable:A:#`{"id":"A","name":"A","annotation":"","update_fn":"g(C)"}`# | ||
#!variable:B:#`{"id":"B","name":"B","annotation":"","update_fn":"A"}`# | ||
#!variable:C:#`{"id":"C","name":"C","annotation":"","update_fn":"B & h(A, C)"}`# |
Oops, something went wrong.