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
|
@@ -37,8 +37,9 @@ module.exports = {
|
|
|
37
37
|
warningCode: "INCORRECT_NETWORK_SHEET_EXPORT_WARNING",
|
|
38
38
|
errorDescription: "GRNsight has detected that the 'network' sheet or the 'network_optimized_weights'" +
|
|
39
39
|
" sheet is improperly formattedPlease look over your exported workbook and ensure that network" +
|
|
40
|
-
" sheets have cell A1 as 'cols regulators/rows targets'
|
|
41
|
-
" conventions listed at:
|
|
40
|
+
" sheets have cell A1 as 'cols regulators/rows targets' or 'cols protein1/ rows protein2' exactly" +
|
|
41
|
+
" and all gene are using the naming conventions listed at:" +
|
|
42
|
+
" \nhttps://dondi.github.io/GRNsight/documentation.html."
|
|
42
43
|
},
|
|
43
44
|
// Missing Source Genes
|
|
44
45
|
MISSING_SOURCE_GENES_EXPORT_WARNING: {
|
|
@@ -7,7 +7,12 @@ var exportEdges = function (workbook, gene, geneIndex) {
|
|
|
7
7
|
if (link.source === geneIndex) {
|
|
8
8
|
result += [
|
|
9
9
|
gene.name,
|
|
10
|
-
workbook.sheetType === constants.
|
|
10
|
+
workbook.sheetType === constants.WEIGHTED ?
|
|
11
|
+
link.value : (workbook.meta) ?
|
|
12
|
+
(workbook.meta.data.workbookType === constants.NETWORK_PPI_MODE ?
|
|
13
|
+
"pp" : "pd") :
|
|
14
|
+
workbook.workbookType === constants.NETWORK_PPI_MODE ?
|
|
15
|
+
"pp" : "pd",
|
|
11
16
|
workbook.genes[link.target].name
|
|
12
17
|
].join("\t") + "\n";
|
|
13
18
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// const { meta } = require("eslint/lib/rules/*");
|
|
2
2
|
const xlsx = require("node-xlsx");
|
|
3
|
+
const { CELL_A1_GRN, CELL_A1_PPI, NETWORK_GRN_MODE } = require("../constants");
|
|
3
4
|
|
|
4
5
|
const buildGeneNameArray = function (genes) {
|
|
5
6
|
const geneNameArray = genes.map(gene => gene["name"]);
|
|
@@ -10,7 +11,7 @@ const createArrayWithZeroes = function (length) {
|
|
|
10
11
|
return Array.apply(null, Array(length)).map(() => 0);
|
|
11
12
|
};
|
|
12
13
|
|
|
13
|
-
const buildNetworkSheet = function (genes, links) {
|
|
14
|
+
const buildNetworkSheet = function (genes, links, workbookType) {
|
|
14
15
|
const geneNameArray = buildGeneNameArray(genes);
|
|
15
16
|
// The +1 to length is because we ALSO add the gene name to each of the network sheet arrays.
|
|
16
17
|
const networkSheet = genes.map(() => createArrayWithZeroes(genes.length + 1));
|
|
@@ -18,7 +19,11 @@ const buildNetworkSheet = function (genes, links) {
|
|
|
18
19
|
// Place the gene name in the beginning of the network sheet array.
|
|
19
20
|
// EX: ["CIN5", 0, 0, 1]
|
|
20
21
|
Object.keys(geneNameArray).forEach(index => networkSheet[index][0] = geneNameArray[index]);
|
|
21
|
-
|
|
22
|
+
if (workbookType === NETWORK_GRN_MODE) {
|
|
23
|
+
geneNameArray.unshift(CELL_A1_GRN);
|
|
24
|
+
} else {
|
|
25
|
+
geneNameArray.unshift(CELL_A1_PPI);
|
|
26
|
+
}
|
|
22
27
|
|
|
23
28
|
links.forEach((link) => {
|
|
24
29
|
networkSheet[link.target][link.source + 1] = link.value;
|
|
@@ -115,7 +120,7 @@ const buildXlsxSheet = function (workbook) {
|
|
|
115
120
|
{
|
|
116
121
|
"name": network,
|
|
117
122
|
"data": buildNetworkSheet(workbook.exportSheets.networks[network].genes,
|
|
118
|
-
workbook.exportSheets.networks[network].links)
|
|
123
|
+
workbook.exportSheets.networks[network].links, workbook.meta.data.workbookType)
|
|
119
124
|
}
|
|
120
125
|
);
|
|
121
126
|
}
|
|
@@ -154,17 +154,11 @@ module.exports = function (workbook) {
|
|
|
154
154
|
warnings: [],
|
|
155
155
|
errors: []
|
|
156
156
|
};
|
|
157
|
-
var expCount = 0;
|
|
158
157
|
|
|
159
158
|
workbook.forEach(function (sheet) {
|
|
160
159
|
if (isExpressionSheet(sheet.name)) {
|
|
161
160
|
output["expression"][sheet.name] = parseExpressionSheet(sheet);
|
|
162
|
-
expCount++;
|
|
163
161
|
}
|
|
164
162
|
});
|
|
165
|
-
|
|
166
|
-
if (expCount <= 0) {
|
|
167
|
-
addExpWarning(output, constants.warnings.missingExpressionWarning());
|
|
168
|
-
}
|
|
169
163
|
return output;
|
|
170
164
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
var grnsettingDal = require(__dirname + "/../dals/grnsetting-dal");
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
module.exports = function (app) {
|
|
6
|
+
|
|
7
|
+
app.get("/grnsettingsdb", function (req, res) {
|
|
8
|
+
try {
|
|
9
|
+
return grnsettingDal.queryDefaultDataset(req, res);
|
|
10
|
+
} catch (e) {
|
|
11
|
+
res.json({error: e.stack});
|
|
12
|
+
res.json({error: e.name});
|
|
13
|
+
res.json({error: e.message});
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
};
|
|
@@ -44,7 +44,7 @@ module.exports = function (sif) {
|
|
|
44
44
|
sifEntries.forEach(function (entry) {
|
|
45
45
|
if (entry.length > TARGET) {
|
|
46
46
|
if (!isNumber(entry[RELATIONSHIP])) {
|
|
47
|
-
if (entry[RELATIONSHIP] !== "pd") {
|
|
47
|
+
if (entry[RELATIONSHIP] !== "pd" && entry[RELATIONSHIP] !== "pp") {
|
|
48
48
|
unweightedRelationshipTypeErrorDetected = true;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -54,6 +54,24 @@ module.exports = function (sif) {
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
+
let hasNumbers = relationships.some(isNumber);
|
|
58
|
+
let allNumbers = relationships.every(isNumber);
|
|
59
|
+
|
|
60
|
+
let workbookType;
|
|
61
|
+
if (allNumbers) {
|
|
62
|
+
workbookType = constants.NETWORK_GRN_MODE;
|
|
63
|
+
} else {
|
|
64
|
+
for (const relationship of relationships) {
|
|
65
|
+
if (relationship === "pp") {
|
|
66
|
+
workbookType = constants.NETWORK_PPI_MODE;
|
|
67
|
+
break;
|
|
68
|
+
} else if (relationship === "pd") {
|
|
69
|
+
workbookType = constants.NETWORK_GRN_MODE;
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
57
75
|
if (unweightedRelationshipTypeErrorDetected) {
|
|
58
76
|
errors.push(sifConstants.errors.SIF_UNWEIGHTED_RELATIONSHIP_TYPE_ERROR);
|
|
59
77
|
}
|
|
@@ -62,9 +80,8 @@ module.exports = function (sif) {
|
|
|
62
80
|
errors.push(sifConstants.errors.SIF_MISSING_DATA_ERROR);
|
|
63
81
|
}
|
|
64
82
|
|
|
65
|
-
var hasNumbers = relationships.some(isNumber);
|
|
66
|
-
var allNumbers = relationships.every(isNumber);
|
|
67
83
|
return {
|
|
84
|
+
workbookType: workbookType,
|
|
68
85
|
sheetType: allNumbers ? constants.WEIGHTED : constants.UNWEIGHTED,
|
|
69
86
|
warnings: hasNumbers && !allNumbers ? constants.warnings.EDGES_WITHOUT_WEIGHTS : null,
|
|
70
87
|
errors: errors
|
|
@@ -77,7 +94,7 @@ module.exports = function (sif) {
|
|
|
77
94
|
|
|
78
95
|
var genes = [];
|
|
79
96
|
var links = [];
|
|
80
|
-
var
|
|
97
|
+
var workbookMeta = "unweighted";
|
|
81
98
|
|
|
82
99
|
var nullEntries = entries.filter(function (entry) {
|
|
83
100
|
return entry === null;
|
|
@@ -92,13 +109,13 @@ module.exports = function (sif) {
|
|
|
92
109
|
}
|
|
93
110
|
});
|
|
94
111
|
|
|
95
|
-
|
|
96
|
-
if (
|
|
97
|
-
warnings.push(
|
|
112
|
+
workbookMeta = sifWorkbookType(entries);
|
|
113
|
+
if (workbookMeta.warnings) {
|
|
114
|
+
warnings.push(workbookMeta.warnings);
|
|
98
115
|
}
|
|
99
116
|
|
|
100
|
-
if (
|
|
101
|
-
|
|
117
|
+
if (workbookMeta.errors) {
|
|
118
|
+
workbookMeta.errors.forEach(function (error) {
|
|
102
119
|
errors.push(error);
|
|
103
120
|
});
|
|
104
121
|
}
|
|
@@ -117,7 +134,7 @@ module.exports = function (sif) {
|
|
|
117
134
|
source: sourceIndex,
|
|
118
135
|
target: targetIndex
|
|
119
136
|
};
|
|
120
|
-
if (
|
|
137
|
+
if (workbookMeta.sheetType === constants.WEIGHTED) {
|
|
121
138
|
link.value = +entry[RELATIONSHIP];
|
|
122
139
|
}
|
|
123
140
|
links.push(link);
|
|
@@ -133,7 +150,8 @@ module.exports = function (sif) {
|
|
|
133
150
|
links: links,
|
|
134
151
|
errors: errors,
|
|
135
152
|
warnings: warnings,
|
|
136
|
-
sheetType:
|
|
153
|
+
sheetType: workbookMeta.sheetType,
|
|
154
|
+
workbookType: workbookMeta.workbookType,
|
|
137
155
|
positiveWeights: [],
|
|
138
156
|
negativeWeights: [],
|
|
139
157
|
meta: {},
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
var
|
|
2
|
+
var networkDal = require(__dirname + "/../dals/network-dal");
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
module.exports = function (app) {
|
|
6
6
|
|
|
7
7
|
app.get("/networkdb", function (req, res) {
|
|
8
8
|
try {
|
|
9
|
-
return
|
|
9
|
+
return networkDal.queryNetworkDatabase(req, res);
|
|
10
10
|
} catch (e) {
|
|
11
11
|
res.json({error: e.stack});
|
|
12
12
|
res.json({error: e.name});
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// var path = require("path");
|
|
3
3
|
// var demoWorkbooks = require(__dirname + "/demo-workbooks");
|
|
4
4
|
|
|
5
|
+
const { NETWORK_PPI_MODE, NETWORK_GRN_MODE, CELL_A1_GRN, CELL_A1_PPI } = require("./constants");
|
|
5
6
|
const { initWorkbook } = require("./helpers");
|
|
6
7
|
|
|
7
8
|
var semanticChecker = require(__dirname + "/semantic-checker");
|
|
8
9
|
|
|
9
10
|
var constants = require(__dirname + "/workbook-constants");
|
|
10
11
|
|
|
11
|
-
|
|
12
12
|
// const NETWORK_SHEET_NAMES = ["network", "network_optimized_weights"];
|
|
13
13
|
|
|
14
14
|
// const isNetworkSheet = (sheetName) => {
|
|
@@ -94,9 +94,26 @@ var parseNetworkSheet = function (sheet, network) {
|
|
|
94
94
|
var rowData = [];
|
|
95
95
|
|
|
96
96
|
// check for “cols regulators/rows targets” in cell A1
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
let cellA1 = "";
|
|
98
|
+
try {
|
|
99
|
+
cellA1 = sheet.data[0][0];
|
|
100
|
+
} catch (err) {
|
|
101
|
+
const row = 0;
|
|
102
|
+
const column = 0;
|
|
103
|
+
addError(network, constants.errors.missingValueError(row, column));
|
|
104
|
+
return network;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// TODO There are now 2 valid values for cellA1. One indicates GRN, the other is PPI.
|
|
108
|
+
// If neither, then we continue with the warning.
|
|
109
|
+
|
|
110
|
+
// Depending on the value of cellA1, we want to make a new property `networkType` which
|
|
111
|
+
// will indicate the network type. THe web app then reads this to decide what to do next.
|
|
112
|
+
if (cellA1 !== CELL_A1_GRN && cellA1 !== CELL_A1_PPI) {
|
|
113
|
+
addWarning(
|
|
114
|
+
network,
|
|
115
|
+
constants.warnings.incorrectCellA1WorkbookWarning(sheet.name)
|
|
116
|
+
);
|
|
100
117
|
}
|
|
101
118
|
|
|
102
119
|
// Get Source Genes
|
|
@@ -275,27 +292,52 @@ var parseNetworkSheet = function (sheet, network) {
|
|
|
275
292
|
return semanticChecker(network);
|
|
276
293
|
};
|
|
277
294
|
|
|
295
|
+
/*
|
|
296
|
+
* This method detect the network type of the workbook file either grn or protein-protein-physical-interactions
|
|
297
|
+
* If cellA1 = "cols regulators/ row targets" -> workbookType = grn
|
|
298
|
+
* If cellA1 = "cols protein1/ rows protein2" -> workbookType = "protein-protein-physical-interaction"
|
|
299
|
+
* else undefined
|
|
300
|
+
*/
|
|
301
|
+
|
|
302
|
+
exports.workbookType = function (workbookFile) {
|
|
303
|
+
let workbookType;
|
|
304
|
+
for (const sheet of workbookFile) {
|
|
305
|
+
if (sheet.name.toLowerCase() === "network") {
|
|
306
|
+
const cellA1 = sheet.data[0][0];
|
|
307
|
+
|
|
308
|
+
if (cellA1 === CELL_A1_GRN) {
|
|
309
|
+
workbookType = NETWORK_GRN_MODE;
|
|
310
|
+
} else if (cellA1 === CELL_A1_PPI) {
|
|
311
|
+
workbookType = NETWORK_PPI_MODE;
|
|
312
|
+
} else {
|
|
313
|
+
workbookType = undefined;
|
|
314
|
+
}
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
return workbookType;
|
|
319
|
+
};
|
|
278
320
|
|
|
279
|
-
|
|
321
|
+
exports.networks = function (workbookFile) {
|
|
280
322
|
const networks = {
|
|
281
323
|
network: {},
|
|
282
324
|
networkOptimizedWeights: {},
|
|
283
325
|
networkWeights: {},
|
|
284
326
|
};
|
|
285
327
|
|
|
286
|
-
for (
|
|
328
|
+
for (const element of workbookFile) {
|
|
287
329
|
// === 'network' for backwards compatibility of test files
|
|
288
|
-
if (
|
|
330
|
+
if (element.name.toLowerCase() === "network") {
|
|
289
331
|
// Here we have found a network sheet containing simple data. We keep looking
|
|
290
332
|
// in case there is also a network sheet with optimized weights
|
|
291
|
-
networks.network = parseNetworkSheet(
|
|
292
|
-
} else if (
|
|
333
|
+
networks.network = parseNetworkSheet(element, initWorkbook({ sheetType: "unweighted" }));
|
|
334
|
+
} else if (element.name.toLowerCase() === "network_optimized_weights" ) {
|
|
293
335
|
// We found a network sheet with optimized weights, which is the ideal data source.
|
|
294
|
-
networks.networkOptimizedWeights = parseNetworkSheet(
|
|
336
|
+
networks.networkOptimizedWeights = parseNetworkSheet(element,
|
|
295
337
|
initWorkbook({ sheetType: "weighted" }));
|
|
296
|
-
} else if (
|
|
338
|
+
} else if (element.name.toLowerCase() === "network_weights") {
|
|
297
339
|
// We found a network_weights sheet to preserve existing network type sheet data
|
|
298
|
-
networks.networkWeights = parseNetworkSheet(
|
|
340
|
+
networks.networkWeights = parseNetworkSheet(element, initWorkbook({ sheetType: "weighted" }));
|
|
299
341
|
}
|
|
300
342
|
}
|
|
301
343
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
var proteinDal = require(__dirname + "/../dals/protein-dal");
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
module.exports = function (app) {
|
|
6
|
+
|
|
7
|
+
app.get("/proteindb", function (req, res) {
|
|
8
|
+
try {
|
|
9
|
+
return proteinDal.queryProteinDatabase(req, res);
|
|
10
|
+
} catch (e) {
|
|
11
|
+
res.json({error: e.stack});
|
|
12
|
+
res.json({error: e.name});
|
|
13
|
+
res.json({error: e.message});
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
};
|
|
@@ -13,10 +13,10 @@ module.exports = {
|
|
|
13
13
|
SIF_UNWEIGHTED_RELATIONSHIP_TYPE_ERROR: {
|
|
14
14
|
errorCode: "SIF_UNWEIGHTED_RELATIONSHIP_TYPE_ERROR",
|
|
15
15
|
possibleCause: "The SIF importer detects an unweighted network with an unsupported relationship type.",
|
|
16
|
-
suggestedFix: "SIF files accepted by GRNsight must use 'pd' as the text string for the
|
|
17
|
-
" type in unweighted networks. Please review the SIF input documentation.
|
|
18
|
-
" error may be have been caused by missing data in your file, which caused
|
|
19
|
-
" incorrectly interpret a source or target as the relationship."
|
|
16
|
+
suggestedFix: "SIF files accepted by GRNsight must use 'pd' or 'pp' as the text string for the" +
|
|
17
|
+
" relationship type in unweighted networks. Please review the SIF input documentation." +
|
|
18
|
+
" Additionally, this error may be have been caused by missing data in your file, which caused " +
|
|
19
|
+
"the importer to incorrectly interpret a source or target as the relationship."
|
|
20
20
|
},
|
|
21
21
|
|
|
22
22
|
SIF_MISSING_DATA_ERROR: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
var multiparty = require("multiparty");
|
|
2
2
|
var xlsx = require("node-xlsx");
|
|
3
3
|
var path = require("path");
|
|
4
|
+
const { NETWORK_GRN_MODE, NETWORK_PPI_MODE } = require("./constants");
|
|
4
5
|
var parseAdditionalSheets = require(__dirname + "/additional-sheet-parser");
|
|
5
6
|
var parseExpressionSheets = require(__dirname + "/expression-sheet-parser");
|
|
6
7
|
var parseNetworkSheet = require(__dirname + "/network-sheet-parser");
|
|
@@ -21,6 +22,11 @@ var SPECIES = [
|
|
|
21
22
|
"Saccharomyces cerevisiae",
|
|
22
23
|
];
|
|
23
24
|
|
|
25
|
+
const WORKBOOK_TYPES = [
|
|
26
|
+
NETWORK_GRN_MODE,
|
|
27
|
+
NETWORK_PPI_MODE
|
|
28
|
+
];
|
|
29
|
+
|
|
24
30
|
var TAXON_ID = ["3702", "6293", "7227", "9606", "10090", "4932", "559292"];
|
|
25
31
|
|
|
26
32
|
var isExpressionSheet = function (sheetName) {
|
|
@@ -43,6 +49,15 @@ var doesSpeciesExist = function (speciesInfo) {
|
|
|
43
49
|
return false;
|
|
44
50
|
};
|
|
45
51
|
|
|
52
|
+
var supportWorkbookType = function (type) {
|
|
53
|
+
for (var t in WORKBOOK_TYPES) {
|
|
54
|
+
if (WORKBOOK_TYPES[t] === type) {
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return false;
|
|
59
|
+
};
|
|
60
|
+
|
|
46
61
|
var addMessageToArray = function (messageArray, message) {
|
|
47
62
|
messageArray.push(message);
|
|
48
63
|
};
|
|
@@ -106,7 +121,8 @@ var crossSheetInteractions = function (workbookFile) {
|
|
|
106
121
|
|
|
107
122
|
// Refactored the parseNetworkSheet function to preserve all network type sheets including "network",
|
|
108
123
|
// "network_optimized_weights",and "network_weights" restructuring workbook object as a result
|
|
109
|
-
|
|
124
|
+
|
|
125
|
+
var networks = parseNetworkSheet.networks(workbookFile);
|
|
110
126
|
|
|
111
127
|
// Parse expression and 2-column data, then add to workbook object
|
|
112
128
|
// Eventually, will split this up into parsing for each type of sheet.
|
|
@@ -180,6 +196,20 @@ var crossSheetInteractions = function (workbookFile) {
|
|
|
180
196
|
}
|
|
181
197
|
}
|
|
182
198
|
|
|
199
|
+
additionalData.meta.data.workbookType = parseNetworkSheet.workbookType(workbookFile);
|
|
200
|
+
if (additionalData.meta.data.workbookType === undefined) {
|
|
201
|
+
addWarning(workbook, constants.warnings.noWorkbookTypeDetected);
|
|
202
|
+
additionalData.meta.data.workbookType = NETWORK_GRN_MODE;
|
|
203
|
+
} else if (!supportWorkbookType(additionalData.meta.data.workbookType)) {
|
|
204
|
+
addWarning(
|
|
205
|
+
workbook,
|
|
206
|
+
constants.warnings.unsupportedWorkbookTypeDetected(
|
|
207
|
+
additionalData.meta.data.workbookType
|
|
208
|
+
)
|
|
209
|
+
);
|
|
210
|
+
additionalData.meta.data.workbookType = NETWORK_GRN_MODE;
|
|
211
|
+
}
|
|
212
|
+
|
|
183
213
|
if (additionalData.meta.data.species === undefined && additionalData.meta.data.taxon_id === undefined) {
|
|
184
214
|
addWarning(workbook, constants.warnings.noSpeciesInformationDetected);
|
|
185
215
|
additionalData.meta.data.species = "Saccharomyces cerevisiae";
|
|
@@ -203,6 +233,11 @@ var crossSheetInteractions = function (workbookFile) {
|
|
|
203
233
|
// FUTURE IMPROVEMENT: not all expression sheets are specifically named 'wt_log2_expression.'
|
|
204
234
|
// We need to account for all the different possible expression sheet names.
|
|
205
235
|
if (expressionData) {
|
|
236
|
+
if (additionalData.meta.data.workbookType === constants.NETWORK_GRN_MODE) {
|
|
237
|
+
if (expressionData["expression"] && Object.keys(expressionData["expression"]).length === 0) {
|
|
238
|
+
addWarning(expressionData, constants.warnings.missingExpressionWarning());
|
|
239
|
+
}
|
|
240
|
+
}
|
|
206
241
|
if (expressionData.errors !== undefined) {
|
|
207
242
|
expressionData.errors.forEach(data => workbook.errors.push(data));
|
|
208
243
|
}
|
|
@@ -411,6 +446,14 @@ module.exports = function (app) {
|
|
|
411
446
|
app
|
|
412
447
|
);
|
|
413
448
|
});
|
|
449
|
+
|
|
450
|
+
app.get("/demo/ppi", function (req, res) {
|
|
451
|
+
return demoWorkbooks(
|
|
452
|
+
"test-files/demo-files/18_proteins_81_edges_PPI.xlsx",
|
|
453
|
+
res,
|
|
454
|
+
app
|
|
455
|
+
);
|
|
456
|
+
});
|
|
414
457
|
}
|
|
415
458
|
|
|
416
459
|
// exporting parseNetworkSheet for use in testing. Do not remove!
|
|
@@ -102,7 +102,8 @@ module.exports = {
|
|
|
102
102
|
return {
|
|
103
103
|
warningCode: "MISLABELED_NETWORK_CELL_A1",
|
|
104
104
|
errorDescription: `The top left cell of the ${sheetName} sheet is mislabeled.
|
|
105
|
-
Replace the incorrect label with \'cols regulators/rows targets\'
|
|
105
|
+
Replace the incorrect label with \'cols regulators/ rows targets\' or \'cols
|
|
106
|
+
protein1/ rows protein2'\ exactly.`
|
|
106
107
|
};
|
|
107
108
|
},
|
|
108
109
|
|
|
@@ -178,8 +179,7 @@ module.exports = {
|
|
|
178
179
|
noSpeciesInformationDetected: {
|
|
179
180
|
warningCode: "MISSING_SPECIES_INFORMATION",
|
|
180
181
|
errorDescription: "No species information was detected in your input file." +
|
|
181
|
-
" GRNsight defaults to Saccharomyces cerevisiae.
|
|
182
|
-
" selection in the Species menu or panel."
|
|
182
|
+
" GRNsight defaults to Saccharomyces cerevisiae."
|
|
183
183
|
},
|
|
184
184
|
|
|
185
185
|
unknownSpeciesDetected: function (workbookSpecies, workbookTaxon) {
|
|
@@ -188,7 +188,24 @@ module.exports = {
|
|
|
188
188
|
errorDescription: "GRNsight detected the species " + workbookSpecies +
|
|
189
189
|
" and the taxon " + workbookTaxon + " in your input file." +
|
|
190
190
|
" This is not one of the supported species, or was formatted incorrectly" +
|
|
191
|
-
"
|
|
191
|
+
" GRNsight defaults to Saccharomyces cerevisiae."
|
|
192
|
+
};
|
|
193
|
+
},
|
|
194
|
+
|
|
195
|
+
noWorkbookTypeDetected : {
|
|
196
|
+
warningCode: "MISSING_WORKBOOK_TYPE_INFORMATION",
|
|
197
|
+
errorDescription: "No workbook type was detected in your input file." +
|
|
198
|
+
" GRNsight defaults to a gene regulatory network. You can change the workbook type" +
|
|
199
|
+
" selection in the Network menu or panel."
|
|
200
|
+
},
|
|
201
|
+
|
|
202
|
+
unsupportedWorkbookTypeDetected: function (workbookType) {
|
|
203
|
+
return {
|
|
204
|
+
warningCode: "UNKNOWN_WORKBOOK_TYPE_DETECTED",
|
|
205
|
+
errorDescription: "GRNsight detected the workbook type " + workbookType +
|
|
206
|
+
" in your input file. This is not one of the supported workbook types, or was formatted" +
|
|
207
|
+
" incorrectly. GRNsight defaults to a gene regulatory network. You can change the workbook type" +
|
|
208
|
+
" selection in the Network menu or panel."
|
|
192
209
|
};
|
|
193
210
|
},
|
|
194
211
|
|
|
@@ -20,27 +20,28 @@ var sequelize = new Sequelize(
|
|
|
20
20
|
const buildExpressionGenesQuery = function (geneString) {
|
|
21
21
|
let genes = "";
|
|
22
22
|
let geneList = geneString.split(",");
|
|
23
|
-
geneList.forEach(x => genes += ( `(
|
|
23
|
+
geneList.forEach(x => genes += ( `(gene_expression.gene.display_gene_id =\'${x}\') OR `));
|
|
24
24
|
return genes.substring(0, genes.length - 4);
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
const buildExpressionProductionDegradationRatesQuery = function (rateType, genes) {
|
|
28
28
|
return `
|
|
29
|
-
SELECT gene.display_gene_id, ${rateType} FROM
|
|
29
|
+
SELECT gene.display_gene_id, ${rateType} FROM gene_expression.${rateType}, gene_expression.gene WHERE
|
|
30
30
|
((${buildExpressionGenesQuery(genes)})
|
|
31
|
-
AND
|
|
31
|
+
AND gene_expression.gene.gene_id = gene_expression.${rateType}.gene_id) ORDER BY display_gene_id;`;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
const buildExpressionTimepointsFromDatasetQuery = function (dataset) {
|
|
35
35
|
return `
|
|
36
|
-
SELECT DISTINCT time_point, sample_id FROM
|
|
36
|
+
SELECT DISTINCT time_point, sample_id FROM gene_expression.expression WHERE
|
|
37
37
|
dataset = '${dataset}' ORDER BY time_point ASC;`;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
const buildExpressionDataQuery = function (dataset, genes) {
|
|
41
|
-
return `SELECT * FROM
|
|
41
|
+
return `SELECT * FROM gene_expression.expression, gene_expression.gene
|
|
42
|
+
WHERE gene_expression.expression.dataset='${dataset}'
|
|
42
43
|
AND ((${buildExpressionGenesQuery(genes)})
|
|
43
|
-
AND
|
|
44
|
+
AND gene_expression.gene.gene_id = gene_expression.expression.gene_id) ORDER BY sort_index;`;
|
|
44
45
|
};
|
|
45
46
|
|
|
46
47
|
|
|
@@ -50,7 +51,7 @@ const buildExpressionQuery = function (query) {
|
|
|
50
51
|
"DegradationRates": () => buildExpressionProductionDegradationRatesQuery("degradation_rate", query.genes),
|
|
51
52
|
"ProductionRates" : () => buildExpressionProductionDegradationRatesQuery("production_rate", query.genes),
|
|
52
53
|
"ExpressionData" : () => buildExpressionDataQuery(query.dataset, query.genes),
|
|
53
|
-
"ExpressionDatasets" : () => "SELECT DISTINCT dataset FROM
|
|
54
|
+
"ExpressionDatasets" : () => "SELECT DISTINCT dataset FROM gene_expression.expression ORDER BY dataset ASC;",
|
|
54
55
|
"ExpressionTimePoints": () => buildExpressionTimepointsFromDatasetQuery(query.dataset)
|
|
55
56
|
};
|
|
56
57
|
if (Object.keys(expressionQueries).includes(query.type)) {
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const Sequelize = require("sequelize");
|
|
2
|
+
require("dotenv").config();
|
|
3
|
+
var env = process.env.NODE_ENV || "development";
|
|
4
|
+
var config = require("../config/config")[env];
|
|
5
|
+
var sequelize = new Sequelize(
|
|
6
|
+
config.databaseName,
|
|
7
|
+
process.env.EXPRESSION_DB_USERNAME,
|
|
8
|
+
process.env.EXPRESSION_DB_PASSWORD,
|
|
9
|
+
{
|
|
10
|
+
host: config.databaseHost,
|
|
11
|
+
dialect: config.databaseDialect,
|
|
12
|
+
pool: {
|
|
13
|
+
max: 5,
|
|
14
|
+
min: 0,
|
|
15
|
+
idle: 10000
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
const buildGetDefaultDataset = function () {
|
|
21
|
+
return `
|
|
22
|
+
SELECT grnsettings.expression_dataset FROM settings.grnsettings;`;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const DefaultDatasetToJSON = (totalOutput) => {
|
|
26
|
+
const JSONOutput = {
|
|
27
|
+
defaultDataset : []
|
|
28
|
+
};
|
|
29
|
+
for (let dataset of totalOutput) {
|
|
30
|
+
JSONOutput.defaultDataset.push(dataset.expression_dataset);
|
|
31
|
+
}
|
|
32
|
+
return JSONOutput;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
module.exports = {
|
|
37
|
+
queryDefaultDataset: function (req, res) {
|
|
38
|
+
return sequelize.query(buildGetDefaultDataset(),
|
|
39
|
+
{ type: sequelize.QueryTypes.SELECT })
|
|
40
|
+
.then(function (stdname) {
|
|
41
|
+
const convertToJSON = {
|
|
42
|
+
"DefaultDataset" : () => DefaultDatasetToJSON(stdname)
|
|
43
|
+
};
|
|
44
|
+
const type = req.query.type;
|
|
45
|
+
return (Object.keys(convertToJSON).includes(type)) ? res.send(convertToJSON[type]()) :
|
|
46
|
+
res.status(500).send({ errors: "Something went wrong." });
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable max-len */
|
|
2
1
|
const Sequelize = require("sequelize");
|
|
3
2
|
require("dotenv").config();
|
|
4
3
|
var env = process.env.NODE_ENV || "development";
|
|
@@ -19,14 +18,15 @@ var sequelize = new Sequelize(
|
|
|
19
18
|
);
|
|
20
19
|
|
|
21
20
|
const buildNetworkSourceQuery = function () {
|
|
22
|
-
return "SELECT * FROM
|
|
21
|
+
return "SELECT * FROM gene_regulatory_network.source ORDER BY time_stamp DESC;";
|
|
23
22
|
};
|
|
24
23
|
|
|
25
24
|
const buildNetworkGeneFromSourceQuery = function (gene, source, timestamp) {
|
|
26
|
-
return `SELECT DISTINCT gene_id, display_gene_id FROM
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
return `SELECT DISTINCT gene_id, display_gene_id FROM
|
|
26
|
+
gene_regulatory_network.network, gene_regulatory_network.gene WHERE
|
|
27
|
+
network.time_stamp='${timestamp}' AND network.source='${source}' AND
|
|
28
|
+
(gene.gene_id ='${gene}' OR gene.display_gene_id ='${gene}') AND
|
|
29
|
+
(gene.gene_id = network.regulator_gene_id OR gene.gene_id = network.target_gene_id);`;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
const buildNetworkGenesQuery = function (geneString) {
|
|
@@ -41,7 +41,7 @@ const buildNetworkGenesQuery = function (geneString) {
|
|
|
41
41
|
|
|
42
42
|
const buildGenerateNetworkQuery = function (genes, source, timestamp) {
|
|
43
43
|
return `SELECT DISTINCT regulator_gene_id, target_gene_id FROM
|
|
44
|
-
|
|
44
|
+
gene_regulatory_network.network WHERE
|
|
45
45
|
time_stamp='${timestamp}' AND source='${source}' AND
|
|
46
46
|
${buildNetworkGenesQuery(genes)} ORDER BY regulator_gene_id DESC;`;
|
|
47
47
|
};
|
|
@@ -57,16 +57,17 @@ const buildQueryByType = function (queryType, query) {
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
+
// const response = convertResponseToJSON(req.query.type, req.query, stdname);
|
|
60
61
|
const convertResponseToJSON = function (queryType, query, totalOutput) {
|
|
61
62
|
let JSONOutput = {};
|
|
62
63
|
switch (queryType) {
|
|
63
64
|
case "NetworkSource":
|
|
64
65
|
JSONOutput.sources = {};
|
|
65
|
-
totalOutput.forEach(function (
|
|
66
|
-
const timestamp =
|
|
67
|
-
const source =
|
|
68
|
-
const displayName =
|
|
69
|
-
JSONOutput.sources[`${displayName}
|
|
66
|
+
totalOutput.forEach(function (connection) {
|
|
67
|
+
const timestamp = connection.time_stamp;
|
|
68
|
+
const source = connection.source;
|
|
69
|
+
const displayName = connection.display_name;
|
|
70
|
+
JSONOutput.sources[`${displayName}: ${timestamp.toISOString().split("T")[0]}`] = {timestamp, source};
|
|
70
71
|
});
|
|
71
72
|
return JSONOutput;
|
|
72
73
|
case "NetworkGeneFromSource":
|