grnsight 6.0.4 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.yml +4 -4
- package/database/README.md +224 -79
- package/database/constants.py +42 -0
- package/database/expression-database/README.md +2 -2
- package/database/expression-database/schema.sql +14 -14
- package/database/expression-database/scripts/loader.py +6 -6
- package/database/filter_update.py +168 -0
- package/database/grnsettings-database/README.md +52 -0
- package/database/grnsettings-database/schema.sql +4 -0
- package/database/loader.py +30 -0
- package/database/loader_update.py +36 -0
- package/database/network-database/README.md +36 -4
- package/database/network-database/schema.sql +7 -7
- package/database/network-database/scripts/generate_network.py +16 -24
- package/database/network-database/scripts/generate_new_network_version.py +216 -0
- package/database/protein-protein-database/README.md +71 -0
- package/database/protein-protein-database/schema.sql +37 -0
- package/database/protein-protein-database/scripts/generate_protein_network.py +227 -0
- package/database/protein-protein-database/scripts/remove_duplicates.sh +4 -0
- package/database/utils.py +418 -0
- package/package.json +2 -2
- package/server/app.js +2 -0
- package/server/config/config.js +4 -4
- package/server/controllers/additional-sheet-parser.js +2 -1
- package/server/controllers/constants.js +5 -0
- package/server/controllers/custom-workbook-controller.js +8 -6
- package/server/controllers/demo-workbooks.js +1460 -4
- package/server/controllers/export-constants.js +3 -2
- package/server/controllers/exporters/sif.js +6 -1
- package/server/controllers/exporters/xlsx.js +8 -3
- package/server/controllers/expression-sheet-parser.js +0 -6
- package/server/controllers/grnsettings-database-controller.js +17 -0
- package/server/controllers/importers/sif.js +29 -11
- package/server/controllers/network-database-controller.js +2 -2
- package/server/controllers/network-sheet-parser.js +54 -12
- package/server/controllers/protein-database-controller.js +18 -0
- package/server/controllers/sif-constants.js +4 -4
- package/server/controllers/spreadsheet-controller.js +44 -1
- package/server/controllers/workbook-constants.js +21 -4
- package/server/dals/expression-dal.js +8 -7
- package/server/dals/grnsetting-dal.js +49 -0
- package/server/dals/network-dal.js +13 -12
- package/server/dals/protein-dal.js +106 -0
- package/test/export-tests.js +136 -9
- package/test/import-sif-tests.js +54 -13
- package/test/test.js +1 -1
- package/test-files/additional-sheet-test-files/optimization-parameters-default.xlsx +0 -0
- package/test-files/demo-files/18_proteins_81_edges_PPI.xlsx +0 -0
- package/test-files/expression-data-test-sheets/expression_sheet_missing_data_ok_export_exact.xlsx +0 -0
- package/web-client/config/config.js +4 -4
- package/web-client/public/js/api/grnsight-api.js +72 -56
- package/web-client/public/js/constants.js +26 -12
- package/web-client/public/js/generateNetwork.js +173 -67
- package/web-client/public/js/graph.js +420 -150
- package/web-client/public/js/grnsight.js +25 -4
- package/web-client/public/js/grnstate.js +3 -1
- package/web-client/public/js/iframe-coordination.js +3 -3
- package/web-client/public/js/setup-handlers.js +28 -32
- package/web-client/public/js/setup-load-and-import-handlers.js +196 -170
- package/web-client/public/js/update-app.js +84 -17
- package/web-client/public/js/upload.js +193 -157
- package/web-client/public/lib/bootstrap.file-input/bootstrap.file-input.js +0 -1
- package/web-client/public/stylesheets/grnsight.styl +40 -16
- package/web-client/views/components/demo.pug +7 -5
- package/web-client/views/upload.pug +63 -49
- package/.bundle/config +0 -3
- package/GRNsight - Beta.html +0 -194
- package/Gemfile.lock +0 -259
- package/_gh_pages/about.html +0 -807
- package/_gh_pages/assets/css/bootstrap.min.css +0 -10
- package/_gh_pages/assets/css/footer.css +0 -3
- package/_gh_pages/assets/css/main.css +0 -363
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_estimation_output_binary-no-targetless-genes_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_estimation_output_binary_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_graphml_3-edges-and-footer.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_graphml_header-and-3-nodes.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_graphml_output_3-edges-and-footer.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_graphml_output_header-and-3-nodes.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_input_binary-no-targetless-genes_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_input_binary_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_input_concatenated-no-targetless-genes_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_input_concatenated_sif.png +0 -0
- package/_gh_pages/assets/images/Carrillo_Roque_LMU_Symposium_2015.pptx +0 -0
- package/_gh_pages/assets/images/Choe-Shin_CMSI402-poster-session_20180430.jpg +0 -0
- package/_gh_pages/assets/images/Choe_SCCUR_2017.jpg +0 -0
- package/_gh_pages/assets/images/Dahlquist-BMB-2015-Fig1.jpg +0 -0
- package/_gh_pages/assets/images/Dahlquist-BMB-2015-Fig8.jpg +0 -0
- package/_gh_pages/assets/images/Dahlquist-Choe-Shin_CMSI402-poster-session_20180430.jpg +0 -0
- package/_gh_pages/assets/images/Demo-3-auto-layout.jpg +0 -0
- package/_gh_pages/assets/images/Demo-3-paper-layout.jpg +0 -0
- package/_gh_pages/assets/images/Demo-4-auto-layout.jpg +0 -0
- package/_gh_pages/assets/images/Demo-4-paper-layout.jpg +0 -0
- package/_gh_pages/assets/images/Dionisio-Dahlquist_GRNsight-shades_20170506.jpg +0 -0
- package/_gh_pages/assets/images/GRNsight_logo_20140710_main.jpg +0 -0
- package/_gh_pages/assets/images/GRNsight_logo_20140710_main_resized.jpg +0 -0
- package/_gh_pages/assets/images/GRNsight_logo_20140710_rollover.jpg +0 -0
- package/_gh_pages/assets/images/GRNsight_logo_20140710_rollover_resized.jpg +0 -0
- package/_gh_pages/assets/images/Johnson_Williams_LMU_Symposium_2015.pptx +0 -0
- package/_gh_pages/assets/images/Klein_Samdarshi_TriBeta_2018_20180317.jpg +0 -0
- package/_gh_pages/assets/images/LMULogoHQ2.png +0 -0
- package/_gh_pages/assets/images/LMUSymposium_Group_20150321-2.jpg +0 -0
- package/_gh_pages/assets/images/LMUSymposium_Group_20150321-2_resized.jpg +0 -0
- package/_gh_pages/assets/images/Sample_network_optimized_weights_worksheet.jpg +0 -0
- package/_gh_pages/assets/images/Sample_network_worksheet.jpg +0 -0
- package/_gh_pages/assets/images/Shin_SCCUR_2017.jpg +0 -0
- package/_gh_pages/assets/images/demo-3_network-sheet.png +0 -0
- package/_gh_pages/assets/images/demo-4_network-optimized-weights-sheet.png +0 -0
- package/_gh_pages/assets/images/gene-pages-0.png +0 -0
- package/_gh_pages/assets/images/gene-pages-1.png +0 -0
- package/_gh_pages/assets/images/gene-pages-2.png +0 -0
- package/_gh_pages/assets/images/gene-pages-3.png +0 -0
- package/_gh_pages/assets/images/grnsight2020.png +0 -0
- package/_gh_pages/assets/images/lmu logo.gif +0 -0
- package/_gh_pages/assets/images/v3demo2-grid+nodecoloring.png +0 -0
- package/_gh_pages/assets/images/v3demo2-nodecoloring.png +0 -0
- package/_gh_pages/assets/images/v3demo2.png +0 -0
- package/_gh_pages/assets/js/ga-report.js +0 -35
- package/_gh_pages/assets/js/iframeResizer.min.js +0 -9
- package/_gh_pages/assets/js/main.js +0 -132
- package/_gh_pages/beta.html +0 -144
- package/_gh_pages/contact.html +0 -178
- package/_gh_pages/coverage/coverage.json +0 -1
- package/_gh_pages/coverage/coverage.raw.json +0 -1
- package/_gh_pages/coverage/lcov-report/base.css +0 -223
- package/_gh_pages/coverage/lcov-report/block-navigation.js +0 -63
- package/_gh_pages/coverage/lcov-report/controllers/additional-sheet-parser.js.html +0 -330
- package/_gh_pages/coverage/lcov-report/controllers/constants.js.html +0 -243
- package/_gh_pages/coverage/lcov-report/controllers/export-controller.js.html +0 -285
- package/_gh_pages/coverage/lcov-report/controllers/exporters/graphml.js.html +0 -405
- package/_gh_pages/coverage/lcov-report/controllers/exporters/index.html +0 -110
- package/_gh_pages/coverage/lcov-report/controllers/exporters/sif.js.html +0 -150
- package/_gh_pages/coverage/lcov-report/controllers/helpers.js.html +0 -114
- package/_gh_pages/coverage/lcov-report/controllers/import-controller.js.html +0 -233
- package/_gh_pages/coverage/lcov-report/controllers/importers/graphml.js.html +0 -716
- package/_gh_pages/coverage/lcov-report/controllers/importers/index.html +0 -106
- package/_gh_pages/coverage/lcov-report/controllers/importers/sif.js.html +0 -488
- package/_gh_pages/coverage/lcov-report/controllers/index.html +0 -162
- package/_gh_pages/coverage/lcov-report/controllers/semantic-checker.js.html +0 -810
- package/_gh_pages/coverage/lcov-report/controllers/spreadsheet-controller.js.html +0 -1779
- package/_gh_pages/coverage/lcov-report/index.html +0 -136
- package/_gh_pages/coverage/lcov-report/prettify.css +0 -1
- package/_gh_pages/coverage/lcov-report/prettify.js +0 -1
- package/_gh_pages/coverage/lcov-report/server/controllers/additional-sheet-parser.js.html +0 -330
- package/_gh_pages/coverage/lcov-report/server/controllers/constants.js.html +0 -243
- package/_gh_pages/coverage/lcov-report/server/controllers/export-controller.js.html +0 -285
- package/_gh_pages/coverage/lcov-report/server/controllers/exporters/graphml.js.html +0 -405
- package/_gh_pages/coverage/lcov-report/server/controllers/exporters/index.html +0 -110
- package/_gh_pages/coverage/lcov-report/server/controllers/exporters/sif.js.html +0 -150
- package/_gh_pages/coverage/lcov-report/server/controllers/graphml-constants.js.html +0 -585
- package/_gh_pages/coverage/lcov-report/server/controllers/helpers.js.html +0 -114
- package/_gh_pages/coverage/lcov-report/server/controllers/import-controller.js.html +0 -237
- package/_gh_pages/coverage/lcov-report/server/controllers/importers/graphml.js.html +0 -585
- package/_gh_pages/coverage/lcov-report/server/controllers/importers/index.html +0 -110
- package/_gh_pages/coverage/lcov-report/server/controllers/importers/sif.js.html +0 -492
- package/_gh_pages/coverage/lcov-report/server/controllers/index.html +0 -188
- package/_gh_pages/coverage/lcov-report/server/controllers/semantic-checker.js.html +0 -810
- package/_gh_pages/coverage/lcov-report/server/controllers/spreadsheet-controller.js.html +0 -1779
- package/_gh_pages/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/_gh_pages/coverage/lcov-report/sorter.js +0 -158
- package/_gh_pages/coverage/lcov-report/web-client/public/js/grnstate.js.html +0 -225
- package/_gh_pages/coverage/lcov-report/web-client/public/js/index.html +0 -97
- package/_gh_pages/coverage/lcov.info +0 -49
- package/_gh_pages/documentation.html +0 -1132
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.aux +0 -47
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.bbl +0 -73
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.blg +0 -52
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.log +0 -1056
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.out +0 -7
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.synctex.gz +0 -0
- package/_gh_pages/documents/manuscripts/peerj-computerscience-2016/revisions/GRNsight_PeerJ-CS_manuscript_2016_text-only_revised-Dondi.docx +0 -0
- package/_gh_pages/encryption/server.cert +0 -21
- package/_gh_pages/encryption/server.key +0 -28
- package/_gh_pages/favicon.ico +0 -0
- package/_gh_pages/googlea1a858c5bc91c87e.html +0 -1
- package/_gh_pages/index.html +0 -163
- package/_gh_pages/links.html +0 -177
- package/_gh_pages/news.html +0 -367
- package/_gh_pages/onlyfooter.html +0 -78
- package/_gh_pages/onlyheader.html +0 -64
- package/_gh_pages/onlysidebar.html +0 -73
- package/_gh_pages/package-lock.json +0 -14048
- package/_gh_pages/params.json +0 -1
- package/_gh_pages/people.html +0 -260
- package/_gh_pages/privacy.html +0 -147
- package/_gh_pages/publications.html +0 -378
- package/_gh_pages/robots.txt +0 -1
- package/_gh_pages/server/API Project-7d45e9f24a96.p12 +0 -0
- package/_gh_pages/server/grnmap.pem +0 -31
- package/_gh_pages/server/grnsight.pem +0 -19
- package/_gh_pages/sitemap.xml +0 -174
- package/_gh_pages/test-files/import-samples/attributes.graphml +0 -40
- package/_gh_pages/test-files/import-samples/port.graphml +0 -32
- package/_gh_pages/test-files/import-samples/simple.graphml +0 -31
- package/_gh_pages/web-client/public/js/grnsight.min.js +0 -2347
- package/_gh_pages/web-client/public/stylesheets/grnsight.css +0 -443
- package/coverage/coverage.json +0 -1
- package/coverage/coverage.raw.json +0 -1
- package/coverage/lcov-report/base.css +0 -223
- package/coverage/lcov-report/block-navigation.js +0 -63
- package/coverage/lcov-report/controllers/additional-sheet-parser.js.html +0 -330
- package/coverage/lcov-report/controllers/constants.js.html +0 -243
- package/coverage/lcov-report/controllers/export-controller.js.html +0 -285
- package/coverage/lcov-report/controllers/exporters/graphml.js.html +0 -405
- package/coverage/lcov-report/controllers/exporters/index.html +0 -110
- package/coverage/lcov-report/controllers/exporters/sif.js.html +0 -150
- package/coverage/lcov-report/controllers/helpers.js.html +0 -114
- package/coverage/lcov-report/controllers/import-controller.js.html +0 -233
- package/coverage/lcov-report/controllers/importers/graphml.js.html +0 -716
- package/coverage/lcov-report/controllers/importers/index.html +0 -106
- package/coverage/lcov-report/controllers/importers/sif.js.html +0 -488
- package/coverage/lcov-report/controllers/index.html +0 -162
- package/coverage/lcov-report/controllers/semantic-checker.js.html +0 -810
- package/coverage/lcov-report/controllers/spreadsheet-controller.js.html +0 -1779
- package/coverage/lcov-report/index.html +0 -136
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -1
- package/coverage/lcov-report/server/controllers/additional-sheet-parser.js.html +0 -330
- package/coverage/lcov-report/server/controllers/constants.js.html +0 -243
- package/coverage/lcov-report/server/controllers/export-controller.js.html +0 -285
- package/coverage/lcov-report/server/controllers/exporters/graphml.js.html +0 -405
- package/coverage/lcov-report/server/controllers/exporters/index.html +0 -110
- package/coverage/lcov-report/server/controllers/exporters/sif.js.html +0 -150
- package/coverage/lcov-report/server/controllers/graphml-constants.js.html +0 -585
- package/coverage/lcov-report/server/controllers/helpers.js.html +0 -114
- package/coverage/lcov-report/server/controllers/import-controller.js.html +0 -237
- package/coverage/lcov-report/server/controllers/importers/graphml.js.html +0 -585
- package/coverage/lcov-report/server/controllers/importers/index.html +0 -110
- package/coverage/lcov-report/server/controllers/importers/sif.js.html +0 -492
- package/coverage/lcov-report/server/controllers/index.html +0 -188
- package/coverage/lcov-report/server/controllers/semantic-checker.js.html +0 -810
- package/coverage/lcov-report/server/controllers/spreadsheet-controller.js.html +0 -1779
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -158
- package/coverage/lcov-report/web-client/public/js/grnstate.js.html +0 -225
- package/coverage/lcov-report/web-client/public/js/index.html +0 -97
- package/coverage/lcov.info +0 -1952
- package/database/network-database/scripts/filter_genes.py +0 -76
- package/database/network-database/scripts/loader.py +0 -79
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.aux +0 -47
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.bbl +0 -73
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.blg +0 -52
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.log +0 -1056
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.out +0 -7
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.synctex.gz +0 -0
- package/documents/manuscripts/peerj-computerscience-2016/revisions/GRNsight_PeerJ-CS_manuscript_2016_text-only_revised-Dondi.docx +0 -0
- package/encryption/server.cert +0 -21
- package/encryption/server.key +0 -28
- package/gdb/PG_VERSION +0 -1
- package/gdb/base/1/112 +0 -0
- package/gdb/base/1/113 +0 -0
- package/gdb/base/1/1247 +0 -0
- package/gdb/base/1/1247_fsm +0 -0
- package/gdb/base/1/1247_vm +0 -0
- package/gdb/base/1/1249 +0 -0
- package/gdb/base/1/1249_fsm +0 -0
- package/gdb/base/1/1249_vm +0 -0
- package/gdb/base/1/1255 +0 -0
- package/gdb/base/1/1255_fsm +0 -0
- package/gdb/base/1/1255_vm +0 -0
- package/gdb/base/1/1259 +0 -0
- package/gdb/base/1/1259_fsm +0 -0
- package/gdb/base/1/1259_vm +0 -0
- package/gdb/base/1/13852 +0 -0
- package/gdb/base/1/13852_fsm +0 -0
- package/gdb/base/1/13852_vm +0 -0
- package/gdb/base/1/13855 +0 -0
- package/gdb/base/1/13856 +0 -0
- package/gdb/base/1/13857 +0 -0
- package/gdb/base/1/13857_fsm +0 -0
- package/gdb/base/1/13857_vm +0 -0
- package/gdb/base/1/13860 +0 -0
- package/gdb/base/1/13861 +0 -0
- package/gdb/base/1/13862 +0 -0
- package/gdb/base/1/13862_fsm +0 -0
- package/gdb/base/1/13862_vm +0 -0
- package/gdb/base/1/13865 +0 -0
- package/gdb/base/1/13866 +0 -0
- package/gdb/base/1/13867 +0 -0
- package/gdb/base/1/13867_fsm +0 -0
- package/gdb/base/1/13867_vm +0 -0
- package/gdb/base/1/13870 +0 -0
- package/gdb/base/1/13871 +0 -0
- package/gdb/base/1/1417 +0 -0
- package/gdb/base/1/1418 +0 -0
- package/gdb/base/1/174 +0 -0
- package/gdb/base/1/175 +0 -0
- package/gdb/base/1/2187 +0 -0
- package/gdb/base/1/2224 +0 -0
- package/gdb/base/1/2228 +0 -0
- package/gdb/base/1/2328 +0 -0
- package/gdb/base/1/2336 +0 -0
- package/gdb/base/1/2337 +0 -0
- package/gdb/base/1/2579 +0 -0
- package/gdb/base/1/2600 +0 -0
- package/gdb/base/1/2600_fsm +0 -0
- package/gdb/base/1/2600_vm +0 -0
- package/gdb/base/1/2601 +0 -0
- package/gdb/base/1/2601_fsm +0 -0
- package/gdb/base/1/2601_vm +0 -0
- package/gdb/base/1/2602 +0 -0
- package/gdb/base/1/2602_fsm +0 -0
- package/gdb/base/1/2602_vm +0 -0
- package/gdb/base/1/2603 +0 -0
- package/gdb/base/1/2603_fsm +0 -0
- package/gdb/base/1/2603_vm +0 -0
- package/gdb/base/1/2604 +0 -0
- package/gdb/base/1/2605 +0 -0
- package/gdb/base/1/2605_fsm +0 -0
- package/gdb/base/1/2605_vm +0 -0
- package/gdb/base/1/2606 +0 -0
- package/gdb/base/1/2606_fsm +0 -0
- package/gdb/base/1/2606_vm +0 -0
- package/gdb/base/1/2607 +0 -0
- package/gdb/base/1/2607_fsm +0 -0
- package/gdb/base/1/2607_vm +0 -0
- package/gdb/base/1/2608 +0 -0
- package/gdb/base/1/2608_fsm +0 -0
- package/gdb/base/1/2608_vm +0 -0
- package/gdb/base/1/2609 +0 -0
- package/gdb/base/1/2609_fsm +0 -0
- package/gdb/base/1/2609_vm +0 -0
- package/gdb/base/1/2610 +0 -0
- package/gdb/base/1/2610_fsm +0 -0
- package/gdb/base/1/2610_vm +0 -0
- package/gdb/base/1/2611 +0 -0
- package/gdb/base/1/2612 +0 -0
- package/gdb/base/1/2612_fsm +0 -0
- package/gdb/base/1/2612_vm +0 -0
- package/gdb/base/1/2613 +0 -0
- package/gdb/base/1/2615 +0 -0
- package/gdb/base/1/2615_fsm +0 -0
- package/gdb/base/1/2615_vm +0 -0
- package/gdb/base/1/2616 +0 -0
- package/gdb/base/1/2616_fsm +0 -0
- package/gdb/base/1/2616_vm +0 -0
- package/gdb/base/1/2617 +0 -0
- package/gdb/base/1/2617_fsm +0 -0
- package/gdb/base/1/2617_vm +0 -0
- package/gdb/base/1/2618 +0 -0
- package/gdb/base/1/2618_fsm +0 -0
- package/gdb/base/1/2618_vm +0 -0
- package/gdb/base/1/2619 +0 -0
- package/gdb/base/1/2619_fsm +0 -0
- package/gdb/base/1/2619_vm +0 -0
- package/gdb/base/1/2620 +0 -0
- package/gdb/base/1/2650 +0 -0
- package/gdb/base/1/2651 +0 -0
- package/gdb/base/1/2652 +0 -0
- package/gdb/base/1/2653 +0 -0
- package/gdb/base/1/2654 +0 -0
- package/gdb/base/1/2655 +0 -0
- package/gdb/base/1/2656 +0 -0
- package/gdb/base/1/2657 +0 -0
- package/gdb/base/1/2658 +0 -0
- package/gdb/base/1/2659 +0 -0
- package/gdb/base/1/2660 +0 -0
- package/gdb/base/1/2661 +0 -0
- package/gdb/base/1/2662 +0 -0
- package/gdb/base/1/2663 +0 -0
- package/gdb/base/1/2664 +0 -0
- package/gdb/base/1/2665 +0 -0
- package/gdb/base/1/2666 +0 -0
- package/gdb/base/1/2667 +0 -0
- package/gdb/base/1/2668 +0 -0
- package/gdb/base/1/2669 +0 -0
- package/gdb/base/1/2670 +0 -0
- package/gdb/base/1/2673 +0 -0
- package/gdb/base/1/2673_fsm +0 -0
- package/gdb/base/1/2674 +0 -0
- package/gdb/base/1/2674_fsm +0 -0
- package/gdb/base/1/2675 +0 -0
- package/gdb/base/1/2678 +0 -0
- package/gdb/base/1/2679 +0 -0
- package/gdb/base/1/2680 +0 -0
- package/gdb/base/1/2681 +0 -0
- package/gdb/base/1/2682 +0 -0
- package/gdb/base/1/2683 +0 -0
- package/gdb/base/1/2684 +0 -0
- package/gdb/base/1/2685 +0 -0
- package/gdb/base/1/2686 +0 -0
- package/gdb/base/1/2687 +0 -0
- package/gdb/base/1/2688 +0 -0
- package/gdb/base/1/2689 +0 -0
- package/gdb/base/1/2690 +0 -0
- package/gdb/base/1/2691 +0 -0
- package/gdb/base/1/2692 +0 -0
- package/gdb/base/1/2693 +0 -0
- package/gdb/base/1/2696 +0 -0
- package/gdb/base/1/2699 +0 -0
- package/gdb/base/1/2701 +0 -0
- package/gdb/base/1/2702 +0 -0
- package/gdb/base/1/2703 +0 -0
- package/gdb/base/1/2704 +0 -0
- package/gdb/base/1/2753 +0 -0
- package/gdb/base/1/2753_fsm +0 -0
- package/gdb/base/1/2753_vm +0 -0
- package/gdb/base/1/2754 +0 -0
- package/gdb/base/1/2755 +0 -0
- package/gdb/base/1/2756 +0 -0
- package/gdb/base/1/2757 +0 -0
- package/gdb/base/1/2830 +0 -0
- package/gdb/base/1/2831 +0 -0
- package/gdb/base/1/2832 +0 -0
- package/gdb/base/1/2833 +0 -0
- package/gdb/base/1/2834 +0 -0
- package/gdb/base/1/2835 +0 -0
- package/gdb/base/1/2836 +0 -0
- package/gdb/base/1/2836_fsm +0 -0
- package/gdb/base/1/2836_vm +0 -0
- package/gdb/base/1/2837 +0 -0
- package/gdb/base/1/2838 +0 -0
- package/gdb/base/1/2838_fsm +0 -0
- package/gdb/base/1/2838_vm +0 -0
- package/gdb/base/1/2839 +0 -0
- package/gdb/base/1/2840 +0 -0
- package/gdb/base/1/2840_fsm +0 -0
- package/gdb/base/1/2840_vm +0 -0
- package/gdb/base/1/2841 +0 -0
- package/gdb/base/1/2995 +0 -0
- package/gdb/base/1/2996 +0 -0
- package/gdb/base/1/3079 +0 -0
- package/gdb/base/1/3079_fsm +0 -0
- package/gdb/base/1/3079_vm +0 -0
- package/gdb/base/1/3080 +0 -0
- package/gdb/base/1/3081 +0 -0
- package/gdb/base/1/3085 +0 -0
- package/gdb/base/1/3118 +0 -0
- package/gdb/base/1/3119 +0 -0
- package/gdb/base/1/3164 +0 -0
- package/gdb/base/1/3256 +0 -0
- package/gdb/base/1/3257 +0 -0
- package/gdb/base/1/3258 +0 -0
- package/gdb/base/1/3350 +0 -0
- package/gdb/base/1/3351 +0 -0
- package/gdb/base/1/3379 +0 -0
- package/gdb/base/1/3380 +0 -0
- package/gdb/base/1/3381 +0 -0
- package/gdb/base/1/3394 +0 -0
- package/gdb/base/1/3394_fsm +0 -0
- package/gdb/base/1/3394_vm +0 -0
- package/gdb/base/1/3395 +0 -0
- package/gdb/base/1/3429 +0 -0
- package/gdb/base/1/3430 +0 -0
- package/gdb/base/1/3431 +0 -0
- package/gdb/base/1/3433 +0 -0
- package/gdb/base/1/3439 +0 -0
- package/gdb/base/1/3440 +0 -0
- package/gdb/base/1/3455 +0 -0
- package/gdb/base/1/3456 +0 -0
- package/gdb/base/1/3456_fsm +0 -0
- package/gdb/base/1/3456_vm +0 -0
- package/gdb/base/1/3466 +0 -0
- package/gdb/base/1/3467 +0 -0
- package/gdb/base/1/3468 +0 -0
- package/gdb/base/1/3501 +0 -0
- package/gdb/base/1/3502 +0 -0
- package/gdb/base/1/3503 +0 -0
- package/gdb/base/1/3534 +0 -0
- package/gdb/base/1/3541 +0 -0
- package/gdb/base/1/3541_fsm +0 -0
- package/gdb/base/1/3541_vm +0 -0
- package/gdb/base/1/3542 +0 -0
- package/gdb/base/1/3574 +0 -0
- package/gdb/base/1/3575 +0 -0
- package/gdb/base/1/3576 +0 -0
- package/gdb/base/1/3596 +0 -0
- package/gdb/base/1/3597 +0 -0
- package/gdb/base/1/3598 +0 -0
- package/gdb/base/1/3599 +0 -0
- package/gdb/base/1/3600 +0 -0
- package/gdb/base/1/3600_fsm +0 -0
- package/gdb/base/1/3600_vm +0 -0
- package/gdb/base/1/3601 +0 -0
- package/gdb/base/1/3601_fsm +0 -0
- package/gdb/base/1/3601_vm +0 -0
- package/gdb/base/1/3602 +0 -0
- package/gdb/base/1/3602_fsm +0 -0
- package/gdb/base/1/3602_vm +0 -0
- package/gdb/base/1/3603 +0 -0
- package/gdb/base/1/3603_fsm +0 -0
- package/gdb/base/1/3603_vm +0 -0
- package/gdb/base/1/3604 +0 -0
- package/gdb/base/1/3605 +0 -0
- package/gdb/base/1/3606 +0 -0
- package/gdb/base/1/3607 +0 -0
- package/gdb/base/1/3608 +0 -0
- package/gdb/base/1/3609 +0 -0
- package/gdb/base/1/3712 +0 -0
- package/gdb/base/1/3764 +0 -0
- package/gdb/base/1/3764_fsm +0 -0
- package/gdb/base/1/3764_vm +0 -0
- package/gdb/base/1/3766 +0 -0
- package/gdb/base/1/3767 +0 -0
- package/gdb/base/1/3997 +0 -0
- package/gdb/base/1/4143 +0 -0
- package/gdb/base/1/4144 +0 -0
- package/gdb/base/1/4145 +0 -0
- package/gdb/base/1/4146 +0 -0
- package/gdb/base/1/4147 +0 -0
- package/gdb/base/1/4148 +0 -0
- package/gdb/base/1/4149 +0 -0
- package/gdb/base/1/4150 +0 -0
- package/gdb/base/1/4151 +0 -0
- package/gdb/base/1/4152 +0 -0
- package/gdb/base/1/4153 +0 -0
- package/gdb/base/1/4154 +0 -0
- package/gdb/base/1/4155 +0 -0
- package/gdb/base/1/4156 +0 -0
- package/gdb/base/1/4157 +0 -0
- package/gdb/base/1/4158 +0 -0
- package/gdb/base/1/4159 +0 -0
- package/gdb/base/1/4160 +0 -0
- package/gdb/base/1/4163 +0 -0
- package/gdb/base/1/4164 +0 -0
- package/gdb/base/1/4165 +0 -0
- package/gdb/base/1/4166 +0 -0
- package/gdb/base/1/4167 +0 -0
- package/gdb/base/1/4168 +0 -0
- package/gdb/base/1/4169 +0 -0
- package/gdb/base/1/4170 +0 -0
- package/gdb/base/1/4171 +0 -0
- package/gdb/base/1/4172 +0 -0
- package/gdb/base/1/4173 +0 -0
- package/gdb/base/1/4174 +0 -0
- package/gdb/base/1/5002 +0 -0
- package/gdb/base/1/548 +0 -0
- package/gdb/base/1/549 +0 -0
- package/gdb/base/1/6102 +0 -0
- package/gdb/base/1/6104 +0 -0
- package/gdb/base/1/6106 +0 -0
- package/gdb/base/1/6110 +0 -0
- package/gdb/base/1/6111 +0 -0
- package/gdb/base/1/6112 +0 -0
- package/gdb/base/1/6113 +0 -0
- package/gdb/base/1/6117 +0 -0
- package/gdb/base/1/6175 +0 -0
- package/gdb/base/1/6176 +0 -0
- package/gdb/base/1/826 +0 -0
- package/gdb/base/1/827 +0 -0
- package/gdb/base/1/828 +0 -0
- package/gdb/base/1/PG_VERSION +0 -1
- package/gdb/base/1/pg_filenode.map +0 -0
- package/gdb/base/14033/112 +0 -0
- package/gdb/base/14033/113 +0 -0
- package/gdb/base/14033/1247 +0 -0
- package/gdb/base/14033/1247_fsm +0 -0
- package/gdb/base/14033/1247_vm +0 -0
- package/gdb/base/14033/1249 +0 -0
- package/gdb/base/14033/1249_fsm +0 -0
- package/gdb/base/14033/1249_vm +0 -0
- package/gdb/base/14033/1255 +0 -0
- package/gdb/base/14033/1255_fsm +0 -0
- package/gdb/base/14033/1255_vm +0 -0
- package/gdb/base/14033/1259 +0 -0
- package/gdb/base/14033/1259_fsm +0 -0
- package/gdb/base/14033/1259_vm +0 -0
- package/gdb/base/14033/13852 +0 -0
- package/gdb/base/14033/13852_fsm +0 -0
- package/gdb/base/14033/13852_vm +0 -0
- package/gdb/base/14033/13855 +0 -0
- package/gdb/base/14033/13856 +0 -0
- package/gdb/base/14033/13857 +0 -0
- package/gdb/base/14033/13857_fsm +0 -0
- package/gdb/base/14033/13857_vm +0 -0
- package/gdb/base/14033/13860 +0 -0
- package/gdb/base/14033/13861 +0 -0
- package/gdb/base/14033/13862 +0 -0
- package/gdb/base/14033/13862_fsm +0 -0
- package/gdb/base/14033/13862_vm +0 -0
- package/gdb/base/14033/13865 +0 -0
- package/gdb/base/14033/13866 +0 -0
- package/gdb/base/14033/13867 +0 -0
- package/gdb/base/14033/13867_fsm +0 -0
- package/gdb/base/14033/13867_vm +0 -0
- package/gdb/base/14033/13870 +0 -0
- package/gdb/base/14033/13871 +0 -0
- package/gdb/base/14033/1417 +0 -0
- package/gdb/base/14033/1418 +0 -0
- package/gdb/base/14033/174 +0 -0
- package/gdb/base/14033/175 +0 -0
- package/gdb/base/14033/2187 +0 -0
- package/gdb/base/14033/2224 +0 -0
- package/gdb/base/14033/2228 +0 -0
- package/gdb/base/14033/2328 +0 -0
- package/gdb/base/14033/2336 +0 -0
- package/gdb/base/14033/2337 +0 -0
- package/gdb/base/14033/2579 +0 -0
- package/gdb/base/14033/2600 +0 -0
- package/gdb/base/14033/2600_fsm +0 -0
- package/gdb/base/14033/2600_vm +0 -0
- package/gdb/base/14033/2601 +0 -0
- package/gdb/base/14033/2601_fsm +0 -0
- package/gdb/base/14033/2601_vm +0 -0
- package/gdb/base/14033/2602 +0 -0
- package/gdb/base/14033/2602_fsm +0 -0
- package/gdb/base/14033/2602_vm +0 -0
- package/gdb/base/14033/2603 +0 -0
- package/gdb/base/14033/2603_fsm +0 -0
- package/gdb/base/14033/2603_vm +0 -0
- package/gdb/base/14033/2604 +0 -0
- package/gdb/base/14033/2605 +0 -0
- package/gdb/base/14033/2605_fsm +0 -0
- package/gdb/base/14033/2605_vm +0 -0
- package/gdb/base/14033/2606 +0 -0
- package/gdb/base/14033/2606_fsm +0 -0
- package/gdb/base/14033/2606_vm +0 -0
- package/gdb/base/14033/2607 +0 -0
- package/gdb/base/14033/2607_fsm +0 -0
- package/gdb/base/14033/2607_vm +0 -0
- package/gdb/base/14033/2608 +0 -0
- package/gdb/base/14033/2608_fsm +0 -0
- package/gdb/base/14033/2608_vm +0 -0
- package/gdb/base/14033/2609 +0 -0
- package/gdb/base/14033/2609_fsm +0 -0
- package/gdb/base/14033/2609_vm +0 -0
- package/gdb/base/14033/2610 +0 -0
- package/gdb/base/14033/2610_fsm +0 -0
- package/gdb/base/14033/2610_vm +0 -0
- package/gdb/base/14033/2611 +0 -0
- package/gdb/base/14033/2612 +0 -0
- package/gdb/base/14033/2612_fsm +0 -0
- package/gdb/base/14033/2612_vm +0 -0
- package/gdb/base/14033/2613 +0 -0
- package/gdb/base/14033/2615 +0 -0
- package/gdb/base/14033/2615_fsm +0 -0
- package/gdb/base/14033/2615_vm +0 -0
- package/gdb/base/14033/2616 +0 -0
- package/gdb/base/14033/2616_fsm +0 -0
- package/gdb/base/14033/2616_vm +0 -0
- package/gdb/base/14033/2617 +0 -0
- package/gdb/base/14033/2617_fsm +0 -0
- package/gdb/base/14033/2617_vm +0 -0
- package/gdb/base/14033/2618 +0 -0
- package/gdb/base/14033/2618_fsm +0 -0
- package/gdb/base/14033/2618_vm +0 -0
- package/gdb/base/14033/2619 +0 -0
- package/gdb/base/14033/2619_fsm +0 -0
- package/gdb/base/14033/2619_vm +0 -0
- package/gdb/base/14033/2620 +0 -0
- package/gdb/base/14033/2650 +0 -0
- package/gdb/base/14033/2651 +0 -0
- package/gdb/base/14033/2652 +0 -0
- package/gdb/base/14033/2653 +0 -0
- package/gdb/base/14033/2654 +0 -0
- package/gdb/base/14033/2655 +0 -0
- package/gdb/base/14033/2656 +0 -0
- package/gdb/base/14033/2657 +0 -0
- package/gdb/base/14033/2658 +0 -0
- package/gdb/base/14033/2659 +0 -0
- package/gdb/base/14033/2660 +0 -0
- package/gdb/base/14033/2661 +0 -0
- package/gdb/base/14033/2662 +0 -0
- package/gdb/base/14033/2663 +0 -0
- package/gdb/base/14033/2664 +0 -0
- package/gdb/base/14033/2665 +0 -0
- package/gdb/base/14033/2666 +0 -0
- package/gdb/base/14033/2667 +0 -0
- package/gdb/base/14033/2668 +0 -0
- package/gdb/base/14033/2669 +0 -0
- package/gdb/base/14033/2670 +0 -0
- package/gdb/base/14033/2673 +0 -0
- package/gdb/base/14033/2673_fsm +0 -0
- package/gdb/base/14033/2674 +0 -0
- package/gdb/base/14033/2674_fsm +0 -0
- package/gdb/base/14033/2675 +0 -0
- package/gdb/base/14033/2678 +0 -0
- package/gdb/base/14033/2679 +0 -0
- package/gdb/base/14033/2680 +0 -0
- package/gdb/base/14033/2681 +0 -0
- package/gdb/base/14033/2682 +0 -0
- package/gdb/base/14033/2683 +0 -0
- package/gdb/base/14033/2684 +0 -0
- package/gdb/base/14033/2685 +0 -0
- package/gdb/base/14033/2686 +0 -0
- package/gdb/base/14033/2687 +0 -0
- package/gdb/base/14033/2688 +0 -0
- package/gdb/base/14033/2689 +0 -0
- package/gdb/base/14033/2690 +0 -0
- package/gdb/base/14033/2691 +0 -0
- package/gdb/base/14033/2692 +0 -0
- package/gdb/base/14033/2693 +0 -0
- package/gdb/base/14033/2696 +0 -0
- package/gdb/base/14033/2699 +0 -0
- package/gdb/base/14033/2701 +0 -0
- package/gdb/base/14033/2702 +0 -0
- package/gdb/base/14033/2703 +0 -0
- package/gdb/base/14033/2704 +0 -0
- package/gdb/base/14033/2753 +0 -0
- package/gdb/base/14033/2753_fsm +0 -0
- package/gdb/base/14033/2753_vm +0 -0
- package/gdb/base/14033/2754 +0 -0
- package/gdb/base/14033/2755 +0 -0
- package/gdb/base/14033/2756 +0 -0
- package/gdb/base/14033/2757 +0 -0
- package/gdb/base/14033/2830 +0 -0
- package/gdb/base/14033/2831 +0 -0
- package/gdb/base/14033/2832 +0 -0
- package/gdb/base/14033/2833 +0 -0
- package/gdb/base/14033/2834 +0 -0
- package/gdb/base/14033/2835 +0 -0
- package/gdb/base/14033/2836 +0 -0
- package/gdb/base/14033/2836_fsm +0 -0
- package/gdb/base/14033/2836_vm +0 -0
- package/gdb/base/14033/2837 +0 -0
- package/gdb/base/14033/2838 +0 -0
- package/gdb/base/14033/2838_fsm +0 -0
- package/gdb/base/14033/2838_vm +0 -0
- package/gdb/base/14033/2839 +0 -0
- package/gdb/base/14033/2840 +0 -0
- package/gdb/base/14033/2840_fsm +0 -0
- package/gdb/base/14033/2840_vm +0 -0
- package/gdb/base/14033/2841 +0 -0
- package/gdb/base/14033/2995 +0 -0
- package/gdb/base/14033/2996 +0 -0
- package/gdb/base/14033/3079 +0 -0
- package/gdb/base/14033/3079_fsm +0 -0
- package/gdb/base/14033/3079_vm +0 -0
- package/gdb/base/14033/3080 +0 -0
- package/gdb/base/14033/3081 +0 -0
- package/gdb/base/14033/3085 +0 -0
- package/gdb/base/14033/3118 +0 -0
- package/gdb/base/14033/3119 +0 -0
- package/gdb/base/14033/3164 +0 -0
- package/gdb/base/14033/3256 +0 -0
- package/gdb/base/14033/3257 +0 -0
- package/gdb/base/14033/3258 +0 -0
- package/gdb/base/14033/3350 +0 -0
- package/gdb/base/14033/3351 +0 -0
- package/gdb/base/14033/3379 +0 -0
- package/gdb/base/14033/3380 +0 -0
- package/gdb/base/14033/3381 +0 -0
- package/gdb/base/14033/3394 +0 -0
- package/gdb/base/14033/3394_fsm +0 -0
- package/gdb/base/14033/3394_vm +0 -0
- package/gdb/base/14033/3395 +0 -0
- package/gdb/base/14033/3429 +0 -0
- package/gdb/base/14033/3430 +0 -0
- package/gdb/base/14033/3431 +0 -0
- package/gdb/base/14033/3433 +0 -0
- package/gdb/base/14033/3439 +0 -0
- package/gdb/base/14033/3440 +0 -0
- package/gdb/base/14033/3455 +0 -0
- package/gdb/base/14033/3456 +0 -0
- package/gdb/base/14033/3456_fsm +0 -0
- package/gdb/base/14033/3456_vm +0 -0
- package/gdb/base/14033/3466 +0 -0
- package/gdb/base/14033/3467 +0 -0
- package/gdb/base/14033/3468 +0 -0
- package/gdb/base/14033/3501 +0 -0
- package/gdb/base/14033/3502 +0 -0
- package/gdb/base/14033/3503 +0 -0
- package/gdb/base/14033/3534 +0 -0
- package/gdb/base/14033/3541 +0 -0
- package/gdb/base/14033/3541_fsm +0 -0
- package/gdb/base/14033/3541_vm +0 -0
- package/gdb/base/14033/3542 +0 -0
- package/gdb/base/14033/3574 +0 -0
- package/gdb/base/14033/3575 +0 -0
- package/gdb/base/14033/3576 +0 -0
- package/gdb/base/14033/3596 +0 -0
- package/gdb/base/14033/3597 +0 -0
- package/gdb/base/14033/3598 +0 -0
- package/gdb/base/14033/3599 +0 -0
- package/gdb/base/14033/3600 +0 -0
- package/gdb/base/14033/3600_fsm +0 -0
- package/gdb/base/14033/3600_vm +0 -0
- package/gdb/base/14033/3601 +0 -0
- package/gdb/base/14033/3601_fsm +0 -0
- package/gdb/base/14033/3601_vm +0 -0
- package/gdb/base/14033/3602 +0 -0
- package/gdb/base/14033/3602_fsm +0 -0
- package/gdb/base/14033/3602_vm +0 -0
- package/gdb/base/14033/3603 +0 -0
- package/gdb/base/14033/3603_fsm +0 -0
- package/gdb/base/14033/3603_vm +0 -0
- package/gdb/base/14033/3604 +0 -0
- package/gdb/base/14033/3605 +0 -0
- package/gdb/base/14033/3606 +0 -0
- package/gdb/base/14033/3607 +0 -0
- package/gdb/base/14033/3608 +0 -0
- package/gdb/base/14033/3609 +0 -0
- package/gdb/base/14033/3712 +0 -0
- package/gdb/base/14033/3764 +0 -0
- package/gdb/base/14033/3764_fsm +0 -0
- package/gdb/base/14033/3764_vm +0 -0
- package/gdb/base/14033/3766 +0 -0
- package/gdb/base/14033/3767 +0 -0
- package/gdb/base/14033/3997 +0 -0
- package/gdb/base/14033/4143 +0 -0
- package/gdb/base/14033/4144 +0 -0
- package/gdb/base/14033/4145 +0 -0
- package/gdb/base/14033/4146 +0 -0
- package/gdb/base/14033/4147 +0 -0
- package/gdb/base/14033/4148 +0 -0
- package/gdb/base/14033/4149 +0 -0
- package/gdb/base/14033/4150 +0 -0
- package/gdb/base/14033/4151 +0 -0
- package/gdb/base/14033/4152 +0 -0
- package/gdb/base/14033/4153 +0 -0
- package/gdb/base/14033/4154 +0 -0
- package/gdb/base/14033/4155 +0 -0
- package/gdb/base/14033/4156 +0 -0
- package/gdb/base/14033/4157 +0 -0
- package/gdb/base/14033/4158 +0 -0
- package/gdb/base/14033/4159 +0 -0
- package/gdb/base/14033/4160 +0 -0
- package/gdb/base/14033/4163 +0 -0
- package/gdb/base/14033/4164 +0 -0
- package/gdb/base/14033/4165 +0 -0
- package/gdb/base/14033/4166 +0 -0
- package/gdb/base/14033/4167 +0 -0
- package/gdb/base/14033/4168 +0 -0
- package/gdb/base/14033/4169 +0 -0
- package/gdb/base/14033/4170 +0 -0
- package/gdb/base/14033/4171 +0 -0
- package/gdb/base/14033/4172 +0 -0
- package/gdb/base/14033/4173 +0 -0
- package/gdb/base/14033/4174 +0 -0
- package/gdb/base/14033/5002 +0 -0
- package/gdb/base/14033/548 +0 -0
- package/gdb/base/14033/549 +0 -0
- package/gdb/base/14033/6102 +0 -0
- package/gdb/base/14033/6104 +0 -0
- package/gdb/base/14033/6106 +0 -0
- package/gdb/base/14033/6110 +0 -0
- package/gdb/base/14033/6111 +0 -0
- package/gdb/base/14033/6112 +0 -0
- package/gdb/base/14033/6113 +0 -0
- package/gdb/base/14033/6117 +0 -0
- package/gdb/base/14033/6175 +0 -0
- package/gdb/base/14033/6176 +0 -0
- package/gdb/base/14033/826 +0 -0
- package/gdb/base/14033/827 +0 -0
- package/gdb/base/14033/828 +0 -0
- package/gdb/base/14033/PG_VERSION +0 -1
- package/gdb/base/14033/pg_filenode.map +0 -0
- package/gdb/base/14034/112 +0 -0
- package/gdb/base/14034/113 +0 -0
- package/gdb/base/14034/1247 +0 -0
- package/gdb/base/14034/1247_fsm +0 -0
- package/gdb/base/14034/1247_vm +0 -0
- package/gdb/base/14034/1249 +0 -0
- package/gdb/base/14034/1249_fsm +0 -0
- package/gdb/base/14034/1249_vm +0 -0
- package/gdb/base/14034/1255 +0 -0
- package/gdb/base/14034/1255_fsm +0 -0
- package/gdb/base/14034/1255_vm +0 -0
- package/gdb/base/14034/1259 +0 -0
- package/gdb/base/14034/1259_fsm +0 -0
- package/gdb/base/14034/1259_vm +0 -0
- package/gdb/base/14034/13852 +0 -0
- package/gdb/base/14034/13852_fsm +0 -0
- package/gdb/base/14034/13852_vm +0 -0
- package/gdb/base/14034/13855 +0 -0
- package/gdb/base/14034/13856 +0 -0
- package/gdb/base/14034/13857 +0 -0
- package/gdb/base/14034/13857_fsm +0 -0
- package/gdb/base/14034/13857_vm +0 -0
- package/gdb/base/14034/13860 +0 -0
- package/gdb/base/14034/13861 +0 -0
- package/gdb/base/14034/13862 +0 -0
- package/gdb/base/14034/13862_fsm +0 -0
- package/gdb/base/14034/13862_vm +0 -0
- package/gdb/base/14034/13865 +0 -0
- package/gdb/base/14034/13866 +0 -0
- package/gdb/base/14034/13867 +0 -0
- package/gdb/base/14034/13867_fsm +0 -0
- package/gdb/base/14034/13867_vm +0 -0
- package/gdb/base/14034/13870 +0 -0
- package/gdb/base/14034/13871 +0 -0
- package/gdb/base/14034/1417 +0 -0
- package/gdb/base/14034/1418 +0 -0
- package/gdb/base/14034/16386 +0 -0
- package/gdb/base/14034/16389 +0 -0
- package/gdb/base/14034/16390 +0 -0
- package/gdb/base/14034/16391 +0 -0
- package/gdb/base/14034/16393 +0 -0
- package/gdb/base/14034/16396 +0 -0
- package/gdb/base/14034/16397 +0 -0
- package/gdb/base/14034/16398 +0 -0
- package/gdb/base/14034/16400 +0 -0
- package/gdb/base/14034/16403 +0 -0
- package/gdb/base/14034/16404 +0 -0
- package/gdb/base/14034/16420 +0 -0
- package/gdb/base/14034/16423 +0 -0
- package/gdb/base/14034/16424 +0 -0
- package/gdb/base/14034/16425 +0 -0
- package/gdb/base/14034/16427 +0 -0
- package/gdb/base/14034/16430 +0 -0
- package/gdb/base/14034/16431 +0 -0
- package/gdb/base/14034/16432 +0 -0
- package/gdb/base/14034/16434 +0 -0
- package/gdb/base/14034/16437 +0 -0
- package/gdb/base/14034/16438 +0 -0
- package/gdb/base/14034/16439 +0 -0
- package/gdb/base/14034/16446 +0 -0
- package/gdb/base/14034/16449 +0 -0
- package/gdb/base/14034/16450 +0 -0
- package/gdb/base/14034/16451 +0 -0
- package/gdb/base/14034/16458 +0 -0
- package/gdb/base/14034/16461 +0 -0
- package/gdb/base/14034/16462 +0 -0
- package/gdb/base/14034/16463 +0 -0
- package/gdb/base/14034/16475 +0 -0
- package/gdb/base/14034/16478 +0 -0
- package/gdb/base/14034/16479 +0 -0
- package/gdb/base/14034/16480 +0 -0
- package/gdb/base/14034/174 +0 -0
- package/gdb/base/14034/175 +0 -0
- package/gdb/base/14034/2187 +0 -0
- package/gdb/base/14034/2224 +0 -0
- package/gdb/base/14034/2228 +0 -0
- package/gdb/base/14034/2328 +0 -0
- package/gdb/base/14034/2336 +0 -0
- package/gdb/base/14034/2337 +0 -0
- package/gdb/base/14034/2579 +0 -0
- package/gdb/base/14034/2600 +0 -0
- package/gdb/base/14034/2600_fsm +0 -0
- package/gdb/base/14034/2600_vm +0 -0
- package/gdb/base/14034/2601 +0 -0
- package/gdb/base/14034/2601_fsm +0 -0
- package/gdb/base/14034/2601_vm +0 -0
- package/gdb/base/14034/2602 +0 -0
- package/gdb/base/14034/2602_fsm +0 -0
- package/gdb/base/14034/2602_vm +0 -0
- package/gdb/base/14034/2603 +0 -0
- package/gdb/base/14034/2603_fsm +0 -0
- package/gdb/base/14034/2603_vm +0 -0
- package/gdb/base/14034/2604 +0 -0
- package/gdb/base/14034/2605 +0 -0
- package/gdb/base/14034/2605_fsm +0 -0
- package/gdb/base/14034/2605_vm +0 -0
- package/gdb/base/14034/2606 +0 -0
- package/gdb/base/14034/2606_fsm +0 -0
- package/gdb/base/14034/2606_vm +0 -0
- package/gdb/base/14034/2607 +0 -0
- package/gdb/base/14034/2607_fsm +0 -0
- package/gdb/base/14034/2607_vm +0 -0
- package/gdb/base/14034/2608 +0 -0
- package/gdb/base/14034/2608_fsm +0 -0
- package/gdb/base/14034/2608_vm +0 -0
- package/gdb/base/14034/2609 +0 -0
- package/gdb/base/14034/2609_fsm +0 -0
- package/gdb/base/14034/2609_vm +0 -0
- package/gdb/base/14034/2610 +0 -0
- package/gdb/base/14034/2610_fsm +0 -0
- package/gdb/base/14034/2610_vm +0 -0
- package/gdb/base/14034/2611 +0 -0
- package/gdb/base/14034/2612 +0 -0
- package/gdb/base/14034/2612_fsm +0 -0
- package/gdb/base/14034/2612_vm +0 -0
- package/gdb/base/14034/2613 +0 -0
- package/gdb/base/14034/2615 +0 -0
- package/gdb/base/14034/2615_fsm +0 -0
- package/gdb/base/14034/2615_vm +0 -0
- package/gdb/base/14034/2616 +0 -0
- package/gdb/base/14034/2616_fsm +0 -0
- package/gdb/base/14034/2616_vm +0 -0
- package/gdb/base/14034/2617 +0 -0
- package/gdb/base/14034/2617_fsm +0 -0
- package/gdb/base/14034/2617_vm +0 -0
- package/gdb/base/14034/2618 +0 -0
- package/gdb/base/14034/2618_fsm +0 -0
- package/gdb/base/14034/2618_vm +0 -0
- package/gdb/base/14034/2619 +0 -0
- package/gdb/base/14034/2619_fsm +0 -0
- package/gdb/base/14034/2619_vm +0 -0
- package/gdb/base/14034/2620 +0 -0
- package/gdb/base/14034/2650 +0 -0
- package/gdb/base/14034/2651 +0 -0
- package/gdb/base/14034/2652 +0 -0
- package/gdb/base/14034/2653 +0 -0
- package/gdb/base/14034/2654 +0 -0
- package/gdb/base/14034/2655 +0 -0
- package/gdb/base/14034/2656 +0 -0
- package/gdb/base/14034/2657 +0 -0
- package/gdb/base/14034/2658 +0 -0
- package/gdb/base/14034/2659 +0 -0
- package/gdb/base/14034/2660 +0 -0
- package/gdb/base/14034/2661 +0 -0
- package/gdb/base/14034/2662 +0 -0
- package/gdb/base/14034/2663 +0 -0
- package/gdb/base/14034/2664 +0 -0
- package/gdb/base/14034/2665 +0 -0
- package/gdb/base/14034/2666 +0 -0
- package/gdb/base/14034/2667 +0 -0
- package/gdb/base/14034/2668 +0 -0
- package/gdb/base/14034/2669 +0 -0
- package/gdb/base/14034/2670 +0 -0
- package/gdb/base/14034/2673 +0 -0
- package/gdb/base/14034/2673_fsm +0 -0
- package/gdb/base/14034/2674 +0 -0
- package/gdb/base/14034/2674_fsm +0 -0
- package/gdb/base/14034/2675 +0 -0
- package/gdb/base/14034/2678 +0 -0
- package/gdb/base/14034/2679 +0 -0
- package/gdb/base/14034/2680 +0 -0
- package/gdb/base/14034/2681 +0 -0
- package/gdb/base/14034/2682 +0 -0
- package/gdb/base/14034/2683 +0 -0
- package/gdb/base/14034/2684 +0 -0
- package/gdb/base/14034/2685 +0 -0
- package/gdb/base/14034/2686 +0 -0
- package/gdb/base/14034/2687 +0 -0
- package/gdb/base/14034/2688 +0 -0
- package/gdb/base/14034/2689 +0 -0
- package/gdb/base/14034/2690 +0 -0
- package/gdb/base/14034/2691 +0 -0
- package/gdb/base/14034/2692 +0 -0
- package/gdb/base/14034/2693 +0 -0
- package/gdb/base/14034/2696 +0 -0
- package/gdb/base/14034/2699 +0 -0
- package/gdb/base/14034/2701 +0 -0
- package/gdb/base/14034/2702 +0 -0
- package/gdb/base/14034/2703 +0 -0
- package/gdb/base/14034/2704 +0 -0
- package/gdb/base/14034/2753 +0 -0
- package/gdb/base/14034/2753_fsm +0 -0
- package/gdb/base/14034/2753_vm +0 -0
- package/gdb/base/14034/2754 +0 -0
- package/gdb/base/14034/2755 +0 -0
- package/gdb/base/14034/2756 +0 -0
- package/gdb/base/14034/2757 +0 -0
- package/gdb/base/14034/2830 +0 -0
- package/gdb/base/14034/2831 +0 -0
- package/gdb/base/14034/2832 +0 -0
- package/gdb/base/14034/2833 +0 -0
- package/gdb/base/14034/2834 +0 -0
- package/gdb/base/14034/2835 +0 -0
- package/gdb/base/14034/2836 +0 -0
- package/gdb/base/14034/2836_fsm +0 -0
- package/gdb/base/14034/2836_vm +0 -0
- package/gdb/base/14034/2837 +0 -0
- package/gdb/base/14034/2838 +0 -0
- package/gdb/base/14034/2838_fsm +0 -0
- package/gdb/base/14034/2838_vm +0 -0
- package/gdb/base/14034/2839 +0 -0
- package/gdb/base/14034/2840 +0 -0
- package/gdb/base/14034/2840_fsm +0 -0
- package/gdb/base/14034/2840_vm +0 -0
- package/gdb/base/14034/2841 +0 -0
- package/gdb/base/14034/2995 +0 -0
- package/gdb/base/14034/2996 +0 -0
- package/gdb/base/14034/3079 +0 -0
- package/gdb/base/14034/3079_fsm +0 -0
- package/gdb/base/14034/3079_vm +0 -0
- package/gdb/base/14034/3080 +0 -0
- package/gdb/base/14034/3081 +0 -0
- package/gdb/base/14034/3085 +0 -0
- package/gdb/base/14034/3118 +0 -0
- package/gdb/base/14034/3119 +0 -0
- package/gdb/base/14034/3164 +0 -0
- package/gdb/base/14034/3256 +0 -0
- package/gdb/base/14034/3257 +0 -0
- package/gdb/base/14034/3258 +0 -0
- package/gdb/base/14034/3350 +0 -0
- package/gdb/base/14034/3351 +0 -0
- package/gdb/base/14034/3379 +0 -0
- package/gdb/base/14034/3380 +0 -0
- package/gdb/base/14034/3381 +0 -0
- package/gdb/base/14034/3394 +0 -0
- package/gdb/base/14034/3394_fsm +0 -0
- package/gdb/base/14034/3394_vm +0 -0
- package/gdb/base/14034/3395 +0 -0
- package/gdb/base/14034/3429 +0 -0
- package/gdb/base/14034/3430 +0 -0
- package/gdb/base/14034/3431 +0 -0
- package/gdb/base/14034/3433 +0 -0
- package/gdb/base/14034/3439 +0 -0
- package/gdb/base/14034/3440 +0 -0
- package/gdb/base/14034/3455 +0 -0
- package/gdb/base/14034/3456 +0 -0
- package/gdb/base/14034/3456_fsm +0 -0
- package/gdb/base/14034/3456_vm +0 -0
- package/gdb/base/14034/3466 +0 -0
- package/gdb/base/14034/3467 +0 -0
- package/gdb/base/14034/3468 +0 -0
- package/gdb/base/14034/3501 +0 -0
- package/gdb/base/14034/3502 +0 -0
- package/gdb/base/14034/3503 +0 -0
- package/gdb/base/14034/3534 +0 -0
- package/gdb/base/14034/3541 +0 -0
- package/gdb/base/14034/3541_fsm +0 -0
- package/gdb/base/14034/3541_vm +0 -0
- package/gdb/base/14034/3542 +0 -0
- package/gdb/base/14034/3574 +0 -0
- package/gdb/base/14034/3575 +0 -0
- package/gdb/base/14034/3576 +0 -0
- package/gdb/base/14034/3596 +0 -0
- package/gdb/base/14034/3597 +0 -0
- package/gdb/base/14034/3598 +0 -0
- package/gdb/base/14034/3599 +0 -0
- package/gdb/base/14034/3600 +0 -0
- package/gdb/base/14034/3600_fsm +0 -0
- package/gdb/base/14034/3600_vm +0 -0
- package/gdb/base/14034/3601 +0 -0
- package/gdb/base/14034/3601_fsm +0 -0
- package/gdb/base/14034/3601_vm +0 -0
- package/gdb/base/14034/3602 +0 -0
- package/gdb/base/14034/3602_fsm +0 -0
- package/gdb/base/14034/3602_vm +0 -0
- package/gdb/base/14034/3603 +0 -0
- package/gdb/base/14034/3603_fsm +0 -0
- package/gdb/base/14034/3603_vm +0 -0
- package/gdb/base/14034/3604 +0 -0
- package/gdb/base/14034/3605 +0 -0
- package/gdb/base/14034/3606 +0 -0
- package/gdb/base/14034/3607 +0 -0
- package/gdb/base/14034/3608 +0 -0
- package/gdb/base/14034/3609 +0 -0
- package/gdb/base/14034/3712 +0 -0
- package/gdb/base/14034/3764 +0 -0
- package/gdb/base/14034/3764_fsm +0 -0
- package/gdb/base/14034/3764_vm +0 -0
- package/gdb/base/14034/3766 +0 -0
- package/gdb/base/14034/3767 +0 -0
- package/gdb/base/14034/3997 +0 -0
- package/gdb/base/14034/4143 +0 -0
- package/gdb/base/14034/4144 +0 -0
- package/gdb/base/14034/4145 +0 -0
- package/gdb/base/14034/4146 +0 -0
- package/gdb/base/14034/4147 +0 -0
- package/gdb/base/14034/4148 +0 -0
- package/gdb/base/14034/4149 +0 -0
- package/gdb/base/14034/4150 +0 -0
- package/gdb/base/14034/4151 +0 -0
- package/gdb/base/14034/4152 +0 -0
- package/gdb/base/14034/4153 +0 -0
- package/gdb/base/14034/4154 +0 -0
- package/gdb/base/14034/4155 +0 -0
- package/gdb/base/14034/4156 +0 -0
- package/gdb/base/14034/4157 +0 -0
- package/gdb/base/14034/4158 +0 -0
- package/gdb/base/14034/4159 +0 -0
- package/gdb/base/14034/4160 +0 -0
- package/gdb/base/14034/4163 +0 -0
- package/gdb/base/14034/4164 +0 -0
- package/gdb/base/14034/4165 +0 -0
- package/gdb/base/14034/4166 +0 -0
- package/gdb/base/14034/4167 +0 -0
- package/gdb/base/14034/4168 +0 -0
- package/gdb/base/14034/4169 +0 -0
- package/gdb/base/14034/4170 +0 -0
- package/gdb/base/14034/4171 +0 -0
- package/gdb/base/14034/4172 +0 -0
- package/gdb/base/14034/4173 +0 -0
- package/gdb/base/14034/4174 +0 -0
- package/gdb/base/14034/5002 +0 -0
- package/gdb/base/14034/548 +0 -0
- package/gdb/base/14034/549 +0 -0
- package/gdb/base/14034/6102 +0 -0
- package/gdb/base/14034/6104 +0 -0
- package/gdb/base/14034/6106 +0 -0
- package/gdb/base/14034/6110 +0 -0
- package/gdb/base/14034/6111 +0 -0
- package/gdb/base/14034/6112 +0 -0
- package/gdb/base/14034/6113 +0 -0
- package/gdb/base/14034/6117 +0 -0
- package/gdb/base/14034/6175 +0 -0
- package/gdb/base/14034/6176 +0 -0
- package/gdb/base/14034/826 +0 -0
- package/gdb/base/14034/827 +0 -0
- package/gdb/base/14034/828 +0 -0
- package/gdb/base/14034/PG_VERSION +0 -1
- package/gdb/base/14034/pg_filenode.map +0 -0
- package/gdb/base/14034/pg_internal.init +0 -0
- package/gdb/global/1213 +0 -0
- package/gdb/global/1213_fsm +0 -0
- package/gdb/global/1213_vm +0 -0
- package/gdb/global/1214 +0 -0
- package/gdb/global/1214_fsm +0 -0
- package/gdb/global/1214_vm +0 -0
- package/gdb/global/1232 +0 -0
- package/gdb/global/1233 +0 -0
- package/gdb/global/1260 +0 -0
- package/gdb/global/1260_fsm +0 -0
- package/gdb/global/1260_vm +0 -0
- package/gdb/global/1261 +0 -0
- package/gdb/global/1261_fsm +0 -0
- package/gdb/global/1261_vm +0 -0
- package/gdb/global/1262 +0 -0
- package/gdb/global/1262_fsm +0 -0
- package/gdb/global/1262_vm +0 -0
- package/gdb/global/2396 +0 -0
- package/gdb/global/2396_fsm +0 -0
- package/gdb/global/2396_vm +0 -0
- package/gdb/global/2397 +0 -0
- package/gdb/global/2671 +0 -0
- package/gdb/global/2672 +0 -0
- package/gdb/global/2676 +0 -0
- package/gdb/global/2677 +0 -0
- package/gdb/global/2694 +0 -0
- package/gdb/global/2695 +0 -0
- package/gdb/global/2697 +0 -0
- package/gdb/global/2698 +0 -0
- package/gdb/global/2846 +0 -0
- package/gdb/global/2847 +0 -0
- package/gdb/global/2964 +0 -0
- package/gdb/global/2965 +0 -0
- package/gdb/global/2966 +0 -0
- package/gdb/global/2967 +0 -0
- package/gdb/global/3592 +0 -0
- package/gdb/global/3593 +0 -0
- package/gdb/global/4060 +0 -0
- package/gdb/global/4061 +0 -0
- package/gdb/global/4175 +0 -0
- package/gdb/global/4176 +0 -0
- package/gdb/global/4177 +0 -0
- package/gdb/global/4178 +0 -0
- package/gdb/global/4181 +0 -0
- package/gdb/global/4182 +0 -0
- package/gdb/global/4183 +0 -0
- package/gdb/global/4184 +0 -0
- package/gdb/global/4185 +0 -0
- package/gdb/global/4186 +0 -0
- package/gdb/global/6000 +0 -0
- package/gdb/global/6001 +0 -0
- package/gdb/global/6002 +0 -0
- package/gdb/global/6100 +0 -0
- package/gdb/global/6114 +0 -0
- package/gdb/global/6115 +0 -0
- package/gdb/global/pg_control +0 -0
- package/gdb/global/pg_filenode.map +0 -0
- package/gdb/global/pg_internal.init +0 -0
- package/gdb/pg_hba.conf +0 -98
- package/gdb/pg_ident.conf +0 -42
- package/gdb/pg_logical/replorigin_checkpoint +0 -0
- package/gdb/pg_multixact/members/0000 +0 -0
- package/gdb/pg_multixact/offsets/0000 +0 -0
- package/gdb/pg_stat/db_0.stat +0 -0
- package/gdb/pg_stat/db_14034.stat +0 -0
- package/gdb/pg_stat/global.stat +0 -0
- package/gdb/pg_subtrans/0000 +0 -0
- package/gdb/pg_wal/000000010000000000000001 +0 -0
- package/gdb/pg_xact/0000 +0 -0
- package/gdb/postgresql.auto.conf +0 -2
- package/gdb/postgresql.conf +0 -796
- package/gdb/postmaster.opts +0 -1
- package/server/API Project-7d45e9f24a96.p12 +0 -0
- package/server/grnmap.pem +0 -31
- package/server/grnsight.pem +0 -19
- package/test-files/import-samples/attributes.graphml +0 -40
- package/test-files/import-samples/port.graphml +0 -32
- package/test-files/import-samples/simple.graphml +0 -31
- package/web-client/public/js/grnsight.min.js +0 -2371
|
@@ -1,88 +1,104 @@
|
|
|
1
1
|
import { responseCustomWorkbookData } from "../setup-load-and-import-handlers";
|
|
2
2
|
// General DB Access Functions
|
|
3
|
-
const buildQueryURL = function(path, parameters) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
const buildQueryURL = function (path, parameters) {
|
|
4
|
+
const searchParams = new URLSearchParams("");
|
|
5
|
+
for (let p in parameters) {
|
|
6
|
+
searchParams.append(p, parameters[p]);
|
|
7
|
+
}
|
|
8
|
+
return `${path}?${searchParams}`;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
const responseData = (database, formData, queryURL) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
12
|
+
return new Promise(function (resolve) {
|
|
13
|
+
const uploadRoute = queryURL;
|
|
14
|
+
const fullUrl = [$(".service-root").val(), uploadRoute].join("/");
|
|
15
|
+
(formData
|
|
16
|
+
? $.ajax({
|
|
17
|
+
url: fullUrl,
|
|
18
|
+
data: formData,
|
|
19
|
+
processData: false,
|
|
20
|
+
contentType: false,
|
|
21
|
+
type: "GET",
|
|
22
|
+
crossDomain: true,
|
|
23
|
+
})
|
|
24
|
+
: $.getJSON(fullUrl)
|
|
25
|
+
)
|
|
26
|
+
.done((data) => {
|
|
27
|
+
resolve(data);
|
|
28
|
+
})
|
|
29
|
+
.error(() => {
|
|
30
|
+
console.log(
|
|
31
|
+
`Error in accessing ${database} database. Result may just be loading.`
|
|
32
|
+
);
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
// Expression DB Access Functions
|
|
38
38
|
|
|
39
39
|
const queryExpressionDatabase = (query) => {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
const queryURL = buildQueryURL("expressiondb", query);
|
|
41
|
+
return responseData("expression", "", queryURL);
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
// Network DB Access Functions
|
|
45
45
|
|
|
46
46
|
const queryNetworkDatabase = (query) => {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
const queryURL = buildQueryURL("networkdb", query);
|
|
48
|
+
return responseData("network", "", queryURL);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// GRNsettings DB Access Functions
|
|
52
|
+
|
|
53
|
+
const queryDefaultDataset = (query) => {
|
|
54
|
+
const queryURL = buildQueryURL("grnsettingsdb", query);
|
|
55
|
+
return responseData("grnsettings", "", queryURL);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
// Protein-Protein DB Access Functions
|
|
59
|
+
|
|
60
|
+
const queryProteinProteinDatabase = (query) => {
|
|
61
|
+
const queryURL = buildQueryURL("proteindb", query);
|
|
62
|
+
return responseData("network", "", queryURL);
|
|
49
63
|
};
|
|
50
64
|
|
|
51
65
|
// Upload Custom Workbook Functions
|
|
52
66
|
|
|
53
67
|
const uploadCustomWorkbook = (workbook, grnState) => {
|
|
54
|
-
|
|
55
|
-
|
|
68
|
+
const queryURL = buildQueryURL("upload-custom-workbook", workbook);
|
|
69
|
+
return responseCustomWorkbookData(grnState, queryURL, workbook.name);
|
|
56
70
|
};
|
|
57
71
|
|
|
58
72
|
const constructFullUrl = (queryURL) =>
|
|
59
|
-
|
|
73
|
+
[$(".service-root").val(), queryURL].join("/");
|
|
60
74
|
|
|
61
75
|
const getWorkbookFromForm = (formData, queryURL) => {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
const fullUrl = constructFullUrl(queryURL);
|
|
77
|
+
|
|
78
|
+
// The presence of formData is taken to indicate a POST.
|
|
79
|
+
return formData
|
|
80
|
+
? $.ajax({
|
|
81
|
+
url: fullUrl,
|
|
82
|
+
data: formData,
|
|
83
|
+
processData: false,
|
|
84
|
+
contentType: false,
|
|
85
|
+
type: "POST",
|
|
86
|
+
crossDomain: true,
|
|
87
|
+
})
|
|
88
|
+
: $.getJSON(fullUrl);
|
|
75
89
|
};
|
|
76
90
|
|
|
77
91
|
const getWorkbookFromUrl = (queryURL) => {
|
|
78
|
-
|
|
79
|
-
|
|
92
|
+
const fullUrl = constructFullUrl(queryURL);
|
|
93
|
+
return $.getJSON(fullUrl);
|
|
80
94
|
};
|
|
81
95
|
|
|
82
96
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
97
|
+
queryExpressionDatabase,
|
|
98
|
+
queryNetworkDatabase,
|
|
99
|
+
uploadCustomWorkbook,
|
|
100
|
+
getWorkbookFromForm,
|
|
101
|
+
getWorkbookFromUrl,
|
|
102
|
+
queryDefaultDataset,
|
|
103
|
+
queryProteinProteinDatabase
|
|
88
104
|
};
|
|
@@ -21,22 +21,34 @@ export const SCHADE_OUTPUT_ID = ".schadeOutput";
|
|
|
21
21
|
export const SCHADE_OUTPUT_PATH = "demo/schadeOutput";
|
|
22
22
|
export const SCHADE_OUTPUT_NAME = "Demo #4: Weighted GRN (21 genes, 31 edges, Schade et al. 2004 data)";
|
|
23
23
|
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
24
|
+
export const PPI_DEMO_ID = ".ppi";
|
|
25
|
+
export const PPI_DEMO_PATH = "demo/ppi";
|
|
26
|
+
export const PPI_DEMO_NAME = "Demo #5: PPI (18 proteins, 81 edges)";
|
|
27
|
+
|
|
28
|
+
export const EXPORT_TO_EXCEL = "#exportAsExcelWkbk";
|
|
29
|
+
export const EXPORT_TO_UNWEIGHTED_SIF = "#exportAsUnweightedSif";
|
|
30
|
+
export const EXPORT_TO_WEIGHTED_SIF = "#exportAsWeightedSif";
|
|
31
|
+
export const EXPORT_TO_UNWEIGHTED_GML = "#exportAsUnweightedGraphMl";
|
|
32
|
+
export const EXPORT_TO_UNWEIGHTED_GML_MENU = "#unweightedGraphmlContainer";
|
|
33
|
+
export const EXPORT_TO_WEIGHTED_GML = "#exportAsWeightedGraphMl";
|
|
34
|
+
export const EXPORT_TO_PNG = "#exportAsPng";
|
|
35
|
+
export const EXPORT_TO_SVG = "#exportAsSvg";
|
|
36
|
+
export const EXPORT_TO_PDF = "#exportAsPdf";
|
|
37
|
+
export const EXPORT_WEIGHTED_CLASS = ".weighted.export";
|
|
38
|
+
export const EXPRESSION_SOURCE = "#expressionSource";
|
|
39
|
+
|
|
40
|
+
export const NETWORK_MODE_GRN = "#network-mode-grn-menu";
|
|
41
|
+
export const NETWORK_MODE_PROTEIN_PHYS = "#network-mode-protein-protein-physical-interaction-menu";
|
|
42
|
+
export const NETWORK_MODE_DROPDOWN = "#networkModeDropdown";
|
|
43
|
+
export const NETWORK_MODE_CLASS = ".network-mode";
|
|
44
|
+
|
|
34
45
|
|
|
35
46
|
export const DEMO_INFORMATION = [
|
|
36
47
|
[ WEIGHTED_DEMO_ID, WEIGHTED_DEMO_PATH, WEIGHTED_DEMO_NAME ],
|
|
37
48
|
[ UNWEIGHTED_DEMO_ID, UNWEIGHTED_DEMO_PATH, UNWEIGHTED_DEMO_NAME ],
|
|
38
49
|
[ SCHADE_INPUT_ID, SCHADE_INPUT_PATH, SCHADE_INPUT_NAME ],
|
|
39
|
-
[ SCHADE_OUTPUT_ID, SCHADE_OUTPUT_PATH, SCHADE_OUTPUT_NAME ]
|
|
50
|
+
[ SCHADE_OUTPUT_ID, SCHADE_OUTPUT_PATH, SCHADE_OUTPUT_NAME ],
|
|
51
|
+
[ PPI_DEMO_ID, PPI_DEMO_PATH, PPI_DEMO_NAME ]
|
|
40
52
|
];
|
|
41
53
|
|
|
42
54
|
export const MIN_EDGE_WEIGHT_NORMALIZATION = 0.0001;
|
|
@@ -119,6 +131,7 @@ export const EXPRESSION_DB_LOADER_TEXT = ".expression-db-loader
|
|
|
119
131
|
export const DATA_SET_SELECT = "#data-set-select";
|
|
120
132
|
export const NODE_COLORING_MENU = ".node-coloring";
|
|
121
133
|
export const NODE_COLORING_MENU_CLASS = ".node-coloring-menu";
|
|
134
|
+
export const NODE_COLORING_NAVBAR_OPTIONS = "#node-coloring-navbar-options";
|
|
122
135
|
export const NODE_COLORING_SIDEBAR_PANEL = "#nodeColoringSidebarPanel";
|
|
123
136
|
export const NODE_COLORING_SIDEBAR_HEADER_LINK = "#nodeColoringHeaderLink";
|
|
124
137
|
export const NODE_COLORING_SIDEBAR_BODY = ".nodeColoringSidebarBody";
|
|
@@ -181,5 +194,6 @@ export const VIEWPORT_SIZE_FIT_SIDEBAR = "#boundBoxFit";
|
|
|
181
194
|
export const VIEWPORT_OPTION_CLASS = ".viewportOption";
|
|
182
195
|
export const VIEWPORT_OPTION_CLASS_SIDEBAR = ".boundBoxSize";
|
|
183
196
|
|
|
184
|
-
|
|
197
|
+
export const NETWORK_PPI_MODE = "protein-protein-physical-interaction";
|
|
198
|
+
export const NETWORK_GRN_MODE = "grn";
|
|
185
199
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable max-len */
|
|
2
|
-
import {CREATE_NETWORK_CLASS, CREATE_NETWORK_MODAL} from "./constants";
|
|
3
|
-
import { queryNetworkDatabase, uploadCustomWorkbook } from "./api/grnsight-api";
|
|
2
|
+
import { CREATE_NETWORK_CLASS, CREATE_NETWORK_MODAL, NETWORK_PPI_MODE, NETWORK_GRN_MODE} from "./constants";
|
|
3
|
+
import { queryNetworkDatabase, queryProteinProteinDatabase, uploadCustomWorkbook } from "./api/grnsight-api";
|
|
4
4
|
import { grnState } from "./grnstate";
|
|
5
5
|
|
|
6
6
|
export const generateNetwork = function () {
|
|
@@ -12,19 +12,28 @@ export const generateNetwork = function () {
|
|
|
12
12
|
"MF(ALPHA)1" : "YPL187W",
|
|
13
13
|
"MF(ALPHA)2" : "YGL089C"
|
|
14
14
|
};
|
|
15
|
-
const createHTMLforForm = (sources) => {
|
|
15
|
+
const createHTMLforForm = (sources, source, networkType) => {
|
|
16
|
+
const geneProtein = networkType === NETWORK_PPI_MODE ? "protein" : "gene";
|
|
16
17
|
let result = `
|
|
17
18
|
<div id=\'generateNetworkFormContainer\' '>
|
|
18
19
|
<h2 id=\'generateNetwork\'>Generate Network</h2>
|
|
19
|
-
<
|
|
20
|
+
<p>Warning: changing network type or source will clear the list of selected genes or proteins below.</p>
|
|
21
|
+
<div class=\'form-group\' id=\'getNetworkTypeForm\'>
|
|
22
|
+
<label for=\'network-type\' id=\'network-type-label\'>Network Type</label>
|
|
23
|
+
<select class=\'network-dropdown btn btn-default\' id=\'network-type\'>
|
|
24
|
+
<option value=\'grn\' ${geneProtein === "gene" ? "selected=\'true\'" : "" }>Gene Regulatory</option>
|
|
25
|
+
<option value=\'protein-protein-physical-interaction\' ${geneProtein === "protein" ? "selected=\'true\'" : "" }>Protein-Protein Physical Interactions</option>
|
|
26
|
+
</select>
|
|
27
|
+
</div>
|
|
28
|
+
<div class=\'form-group\' id=\'getNetworkSourceForm\'>
|
|
20
29
|
<label for=\'network-source\' id=\'network-source-label\'>Network Source</label>
|
|
21
30
|
<select class=\'network-dropdown btn btn-default\' id=\'network-source\'>
|
|
22
31
|
`;
|
|
23
32
|
if (sources.length !== 1) {
|
|
24
|
-
result += "<option value=\'none\' selected=\'true\' disabled>Select Network Source</option>";
|
|
25
33
|
for (let source in sources) {
|
|
26
34
|
result += `
|
|
27
|
-
<option value=\'${sources[source]}\'
|
|
35
|
+
<option value=\'${sources[source]}\' ${source === sources[source] ?
|
|
36
|
+
"\'selected=\'true" : "" }\'>${sources[source]}</option>
|
|
28
37
|
`;
|
|
29
38
|
}
|
|
30
39
|
} else {
|
|
@@ -33,11 +42,10 @@ export const generateNetwork = function () {
|
|
|
33
42
|
`;
|
|
34
43
|
}
|
|
35
44
|
result += `</select>
|
|
36
|
-
<p>Warning: changing network source will clear the list of genes below.</p>
|
|
37
45
|
</div>
|
|
38
46
|
<div class=\'form-group\' id=\'getNetworkGenesForm\'>
|
|
39
47
|
<form id=\'getNetworkGenesForm\' class=\'NetworkGenesForm\' >
|
|
40
|
-
<label for=\'network-search-bar\' id=\'network-source-label\'>Select
|
|
48
|
+
<label for=\'network-search-bar\' id=\'network-source-label\'>Select ${geneProtein}</label>
|
|
41
49
|
<input type=\'text\' id=\'network-search-bar\' name=\'network-search-bar\'></input>
|
|
42
50
|
<button id=\'enter-search\' type=\'submit\' class=\'search-button btn btn-default\'>
|
|
43
51
|
<span class=\'glyphicon glyphicon-search\'></span>
|
|
@@ -45,25 +53,27 @@ export const generateNetwork = function () {
|
|
|
45
53
|
</form>
|
|
46
54
|
</div>
|
|
47
55
|
<div id=\'selected-genes-container\'>
|
|
56
|
+
<p>Added ${geneProtein}s go below! Click on a ${geneProtein} to remove it.</p>
|
|
48
57
|
<div id=\'selected-genes\'>
|
|
49
|
-
<p>Added genes go here! Click on a gene to remove it.</p>
|
|
50
58
|
</div>
|
|
51
59
|
`;
|
|
52
60
|
return result;
|
|
53
61
|
};
|
|
54
62
|
const createGeneButtons = function () {
|
|
55
63
|
let result = `<div id=\'selected-genes\'>
|
|
56
|
-
<p>Added genes go below! Click on a gene to remove it.</p>
|
|
57
64
|
<div id=\'custom-network-genes-container\'>
|
|
58
65
|
`;
|
|
59
66
|
for (let gene in grnState.customWorkbook.genes) {
|
|
67
|
+
const primaryName = grnState.customWorkbook.type === NETWORK_GRN_MODE ? grnState.customWorkbook.genes[gene] : gene;
|
|
68
|
+
const secondaryName = grnState.customWorkbook.type === NETWORK_GRN_MODE ? gene :
|
|
69
|
+
`${grnState.customWorkbook.genes[gene].displayGeneID} | ${grnState.customWorkbook.genes[gene].geneID}`;
|
|
60
70
|
result += `
|
|
61
71
|
<div class=\'custom-network-gene\' id=${gene}>
|
|
62
72
|
<p class=\'custom-network-gene-display-id\'>
|
|
63
|
-
${
|
|
73
|
+
${primaryName}
|
|
64
74
|
</p>
|
|
65
75
|
<p class=\'custom-network-gene-id\'>
|
|
66
|
-
(${
|
|
76
|
+
(${secondaryName})
|
|
67
77
|
</p>
|
|
68
78
|
</div>
|
|
69
79
|
`;
|
|
@@ -94,34 +104,58 @@ export const generateNetwork = function () {
|
|
|
94
104
|
return "";
|
|
95
105
|
};
|
|
96
106
|
const addGene = function () {
|
|
97
|
-
const
|
|
107
|
+
const userGeneProtein = grnState.customWorkbook.type === NETWORK_GRN_MODE ? "Gene" : "Protein";
|
|
108
|
+
const searchGeneProtein = `${$("#network-search-bar").val()}`;
|
|
98
109
|
$("#network-search-bar").val("");
|
|
99
|
-
const
|
|
100
|
-
if (
|
|
101
|
-
alert(
|
|
110
|
+
const geneProtein = validGene(searchGeneProtein.toUpperCase());
|
|
111
|
+
if (geneProtein === "") {
|
|
112
|
+
alert(`${userGeneProtein}: "${searchGeneProtein}" is not to GRNsight specifications. ${userGeneProtein}s must be 12 characters or less,
|
|
102
113
|
containing "-", "_", and alpha-numeric characters only`);
|
|
103
114
|
} else {
|
|
104
115
|
let source = grnState.customWorkbook.source;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
if (grnState.customWorkbook.type === NETWORK_GRN_MODE) {
|
|
117
|
+
let headers = {
|
|
118
|
+
type:"NetworkGeneFromSource",
|
|
119
|
+
gene: geneProtein,
|
|
120
|
+
source:grnState.customWorkbook.sources.geneRegulation[source].source,
|
|
121
|
+
timestamp:grnState.customWorkbook.sources.geneRegulation[source].timestamp
|
|
122
|
+
};
|
|
123
|
+
queryNetworkDatabase(headers).then(function (response) {
|
|
124
|
+
if (response.geneId && response.displayGeneId ) {
|
|
125
|
+
grnState.customWorkbook.genes[response.geneId] = response.displayGeneId;
|
|
126
|
+
displayCurrentGenes();
|
|
127
|
+
} else {
|
|
128
|
+
alert(
|
|
129
|
+
`${userGeneProtein}: "${searchGeneProtein}" was not found in this database. Please check for any typos and try again.`
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
}).catch(function (error) {
|
|
133
|
+
console.log(error.stack);
|
|
134
|
+
console.log(error.name);
|
|
135
|
+
console.log(error.message);
|
|
136
|
+
});
|
|
137
|
+
} else if (grnState.customWorkbook.type === NETWORK_PPI_MODE) {
|
|
138
|
+
let headers = {
|
|
139
|
+
type:"NetworkFromGeneProtein",
|
|
140
|
+
geneProtein: geneProtein,
|
|
141
|
+
source:grnState.customWorkbook.sources.proteinProteinInteractions[source].source,
|
|
142
|
+
timestamp:grnState.customWorkbook.sources.proteinProteinInteractions[source].timestamp
|
|
143
|
+
};
|
|
144
|
+
queryProteinProteinDatabase(headers).then(function (response) {
|
|
145
|
+
if (response.standardName && response.displayGeneId && response.geneId) {
|
|
146
|
+
grnState.customWorkbook.genes[response.standardName] = {displayGeneID: response.displayGeneId, geneID: response.geneId};
|
|
147
|
+
displayCurrentGenes();
|
|
148
|
+
} else {
|
|
149
|
+
alert(
|
|
150
|
+
`${userGeneProtein}: "${searchGeneProtein}" was not found in this database. Please check for any typos and try again.`
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
}).catch(function (error) {
|
|
154
|
+
console.log(error.stack);
|
|
155
|
+
console.log(error.name);
|
|
156
|
+
console.log(error.message);
|
|
157
|
+
});
|
|
158
|
+
}
|
|
125
159
|
|
|
126
160
|
}
|
|
127
161
|
};
|
|
@@ -143,15 +177,26 @@ containing "-", "_", and alpha-numeric characters only`);
|
|
|
143
177
|
$("#generateNetworkFooter-container").append(createHTMLforModalButtons());
|
|
144
178
|
grnState.customWorkbook = {
|
|
145
179
|
genes : {},
|
|
180
|
+
type: NETWORK_GRN_MODE,
|
|
146
181
|
source : null,
|
|
147
|
-
sources :
|
|
182
|
+
sources : {
|
|
183
|
+
proteinProteinInteractions : null,
|
|
184
|
+
geneRegulation: null
|
|
185
|
+
}
|
|
148
186
|
};
|
|
149
187
|
// get sources from database
|
|
188
|
+
queryProteinProteinDatabase({type:"NetworkSource"}).then(function (response) {
|
|
189
|
+
grnState.customWorkbook.sources.proteinProteinInteractions = response.sources;
|
|
190
|
+
}).catch(function (error) {
|
|
191
|
+
console.log(error.stack);
|
|
192
|
+
console.log(error.name);
|
|
193
|
+
console.log(error.message);
|
|
194
|
+
});
|
|
150
195
|
queryNetworkDatabase({type:"NetworkSource"}).then(function (response) {
|
|
151
|
-
|
|
152
|
-
grnState.customWorkbook.sources = response.sources;
|
|
196
|
+
grnState.customWorkbook.sources.geneRegulation = response.sources;
|
|
153
197
|
grnState.customWorkbook.source = Object.keys(response.sources).length >= 1 ?
|
|
154
198
|
Object.keys(response.sources)[0] : null;
|
|
199
|
+
$("#generateNetworkQuestions-container").append(createHTMLforForm(Object.keys(response.sources), grnState.customWorkbook.source, grnState.customWorkbook.type));
|
|
155
200
|
}).catch(function (error) {
|
|
156
201
|
console.log(error.stack);
|
|
157
202
|
console.log(error.name);
|
|
@@ -165,7 +210,23 @@ containing "-", "_", and alpha-numeric characters only`);
|
|
|
165
210
|
event.stopPropagation();
|
|
166
211
|
displayGenerateNetworkModal();
|
|
167
212
|
});
|
|
168
|
-
|
|
213
|
+
$("body").on("change", "#network-type", function (event) {
|
|
214
|
+
grnState.customWorkbook.type = $("#network-type").val();
|
|
215
|
+
grnState.customWorkbook.genes = {};
|
|
216
|
+
if (grnState.customWorkbook.type === NETWORK_PPI_MODE) {
|
|
217
|
+
grnState.customWorkbook.source = Object.keys(grnState.customWorkbook.sources.proteinProteinInteractions).length >= 1 ?
|
|
218
|
+
Object.keys(grnState.customWorkbook.sources.proteinProteinInteractions)[0] : null;
|
|
219
|
+
$("#generateNetworkFormContainer").remove();
|
|
220
|
+
$("#generateNetworkQuestions-container").append(createHTMLforForm(Object.keys(grnState.customWorkbook.sources.proteinProteinInteractions), grnState.customWorkbook.source, grnState.customWorkbook.type));
|
|
221
|
+
} else if (grnState.customWorkbook.type === NETWORK_GRN_MODE) {
|
|
222
|
+
grnState.customWorkbook.source = Object.keys(grnState.customWorkbook.sources.proteinProteinInteractions).length >= 1 ?
|
|
223
|
+
Object.keys(grnState.customWorkbook.sources.geneRegulation)[0] : null;
|
|
224
|
+
$("#generateNetworkFormContainer").remove();
|
|
225
|
+
$("#generateNetworkQuestions-container").append(createHTMLforForm(Object.keys(grnState.customWorkbook.sources.geneRegulation), grnState.customWorkbook.source, grnState.customWorkbook.type));
|
|
226
|
+
}
|
|
227
|
+
event.stopPropagation();
|
|
228
|
+
displayCurrentGenes();
|
|
229
|
+
});
|
|
169
230
|
$("body").on("change", "#network-source", function (event) {
|
|
170
231
|
grnState.customWorkbook.source = $("#network-source").val();
|
|
171
232
|
grnState.customWorkbook.genes = {};
|
|
@@ -180,33 +241,78 @@ containing "-", "_", and alpha-numeric characters only`);
|
|
|
180
241
|
alert(`GRNsight is only capable of handling 75 genes at most. Your proposed network contains
|
|
181
242
|
${genesAmount} genes. Please remove some genes from your proposed network.`);
|
|
182
243
|
} else {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
244
|
+
if (grnState.customWorkbook.type === NETWORK_GRN_MODE) {
|
|
245
|
+
const genes = Object.keys(grnState.customWorkbook.genes);
|
|
246
|
+
const displayGenes = Object.keys(grnState.customWorkbook.genes).map(g => grnState.customWorkbook.genes[g]);
|
|
247
|
+
const source = grnState.customWorkbook.source;
|
|
248
|
+
const headers = {
|
|
249
|
+
type:"GenerateNetwork",
|
|
250
|
+
genes: genes.join(","),
|
|
251
|
+
source:grnState.customWorkbook.sources.geneRegulation[source].source,
|
|
252
|
+
timestamp:grnState.customWorkbook.sources.geneRegulation[source].timestamp
|
|
253
|
+
};
|
|
254
|
+
queryNetworkDatabase(headers).then(function (response) {
|
|
255
|
+
grnState.customWorkbook.links = response.links;
|
|
256
|
+
const links = Object.entries(grnState.customWorkbook.links);
|
|
257
|
+
const genesAmount = genes.length;
|
|
258
|
+
const edgesAmount = links.flatMap( (entry) => entry[1].map((target) => [entry[0], target])).length;
|
|
259
|
+
if (edgesAmount > 100) {
|
|
260
|
+
alert(`GRNsight is only capable of handling 100 edges at most. Your proposed network contains
|
|
261
|
+
${edgesAmount} regulatory connections. Please remove some genes from your proposed network.`);
|
|
262
|
+
} else {
|
|
263
|
+
const name = `GRN (${grnState.customWorkbook.source}; ${genesAmount} genes, ${edgesAmount} edges)`;
|
|
264
|
+
const l = [];
|
|
265
|
+
for (let link of links) {
|
|
266
|
+
const r = link[0];
|
|
267
|
+
for (let t of link[1]) {
|
|
268
|
+
l.push(`${grnState.customWorkbook.genes[r]}->${grnState.customWorkbook.genes[t]}`);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
const workbook = {name, genes: displayGenes, links : l.join(","), networkType: grnState.customWorkbook.type};
|
|
272
|
+
uploadCustomWorkbook(workbook, grnState);
|
|
273
|
+
$(CREATE_NETWORK_MODAL).modal("hide");
|
|
274
|
+
}
|
|
275
|
+
}).catch(function (error) {
|
|
276
|
+
console.log(error.stack);
|
|
277
|
+
console.log(error.name);
|
|
278
|
+
console.log(error.message);
|
|
279
|
+
});
|
|
280
|
+
} else if (grnState.customWorkbook.type === NETWORK_PPI_MODE) {
|
|
281
|
+
const proteins = Object.keys(grnState.customWorkbook.genes);
|
|
282
|
+
const source = grnState.customWorkbook.source;
|
|
283
|
+
const headers = {
|
|
284
|
+
type:"GenerateProteinNetwork",
|
|
285
|
+
proteins: proteins.join(","),
|
|
286
|
+
source:grnState.customWorkbook.sources.proteinProteinInteractions[source].source,
|
|
287
|
+
timestamp:grnState.customWorkbook.sources.proteinProteinInteractions[source].timestamp
|
|
288
|
+
};
|
|
289
|
+
queryProteinProteinDatabase(headers).then(function (response) {
|
|
290
|
+
grnState.customWorkbook.links = response.links;
|
|
291
|
+
const links = Object.entries(grnState.customWorkbook.links);
|
|
292
|
+
const proteinsAmount = proteins.length;
|
|
293
|
+
const edgesAmount = links.flatMap( (entry) => entry[1].map((target) => [entry[0], target])).length;
|
|
294
|
+
if (edgesAmount > 100) {
|
|
295
|
+
alert(`GRNsight is only capable of handling 100 edges at most. Your proposed network contains
|
|
296
|
+
${edgesAmount} physical interactions. Please remove some proteins from your proposed network.`);
|
|
297
|
+
} else {
|
|
298
|
+
const name = `Protein-Protein-Physical Interaction Network (${grnState.customWorkbook.source}; ${proteinsAmount} proteins, ${edgesAmount} edges)`;
|
|
299
|
+
const l = [];
|
|
300
|
+
for (let link of links) {
|
|
301
|
+
const p1 = link[0];
|
|
302
|
+
for (let p2 of link[1]) {
|
|
303
|
+
l.push(`${p1}->${p2}`);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
const workbook = {name, genes: proteins, links : l.join(","), networkType: grnState.customWorkbook.type};
|
|
307
|
+
uploadCustomWorkbook(workbook, grnState);
|
|
308
|
+
$(CREATE_NETWORK_MODAL).modal("hide");
|
|
309
|
+
}
|
|
310
|
+
}).catch(function (error) {
|
|
311
|
+
console.log(error.stack);
|
|
312
|
+
console.log(error.name);
|
|
313
|
+
console.log(error.message);
|
|
314
|
+
});
|
|
315
|
+
}
|
|
210
316
|
}
|
|
211
317
|
});
|
|
212
318
|
|