Fork of the SHRINE sources to integrate MedCo.
Diffusion SHRINE MedCo Fork (fork/1.22.8-medco_dev)
Recent Commits
Recent Commits
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
c117a3447bbb | sacchi | add README.md to src/main/tools/ | Jul 6 2018 | ||||
9373ce1e7042 | sacchi | refactor and add README | Jul 5 2018 | ||||
34b26d494414 | sacchi | add comment | Jul 5 2018 | ||||
167e5c1d584e | sacchi | fix bug | Jul 5 2018 | ||||
1e4a13cb18b0 | sacchi | fix bug | Jul 5 2018 | ||||
d9d2dd136cc5 | sacchi | add mock popup for authentication | Jul 5 2018 | ||||
312e268e7a46 | sacchi | add mock popup for authentication | Jul 5 2018 | ||||
d5d2bfb2a7c4 | sacchi | add mock popup for authentication | Jul 5 2018 | ||||
b7119706e406 | sacchi | add mock popup for authentication | Jul 5 2018 | ||||
b515d00cf495 | sacchi | add mock popup for authentication | Jul 5 2018 | ||||
f8e9e9bc2551 | sacchi | add mock popup for authentication | Jul 5 2018 | ||||
e27374bc8783 | sacchi | increase result space | Jul 5 2018 | ||||
1d99ae44beff | sacchi | compute aggregate key | Jul 5 2018 | ||||
1107f00f8320 | sacchi | compute aggregate key | Jul 5 2018 | ||||
ffddacb4c247 | sacchi | compute aggregate key | Jul 5 2018 |
README.md
README.md
Shrine Webclient
The MedCo plugin of the Shrine weblient can be found at shrine-webclient/src/main/html/js-i2b2/cells/plugins/MedCo/. It is structured as follows:
- assets/: folder containing (most of) the html of the plugin and the css files.
- php/: folder containing the php requests to the database to fetch genes, protein positions and variant names/ids.
- cell_config_data.js: configuration file of the plugin.
- cryptolib.js, cryptolib.map.js: contain some of the unlynx functions that were transpiled from go to javascript by using gopherjs. These functions are used for example to encrypt and decrypt. Information about the generation of these files can be found in /shrine-webclient/src/main/tools/README.md.
- auto-complete.min.js: library used to obtain interactive autocompletion in the popups (i.e. by gene. by protein position and by variant name).
- d3.min.js, d3pie.min.js: d3 library which is used to show the patient counts with a pie.
- MedCo_ctrl.js: contains the two functions to initialize and unload the plugin and also the (hardcoded) private key of the user.
- MedCo_Dates.js: code to manage the date constraints when building the query.
- MedCo_Popups.js: contains the code of all the popups needed by the MedCo plugin.
- MedCo_QryTool.js: contains all the functions used to manage the query, e.g. creation/deletion of panels, drop/deletion of concepts, run query, show response.
- MedCo_Tests.js: code to manage the Test tab of the plugin. That tab is used to run predefined query for easy testing.
- MedCo_Background.js: code to run encryption and decryption in background (with Workers).
- group.toml: contains the description of the cothority servers. It is used to compute the aggregate key which will be used to encrypt the sensitive parameter of the query. If any of the keys of the server get changed you should update this file.
c4science · Help