Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/postgres database #523

Merged
merged 107 commits into from
Mar 22, 2019
Merged

Feature/postgres database #523

merged 107 commits into from
Mar 22, 2019

Commits on Mar 8, 2019

  1. Basics of data importer for database change. Can import dbSNP.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    041a377 View commit details
    Browse the repository at this point in the history
  2. Some changes to how arguments are passed.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    6975d9f View commit details
    Browse the repository at this point in the history
  3. Adds reference set importer to importer, as well as bug fixes to dbsn…

    …p importer.
    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    bb36ec7 View commit details
    Browse the repository at this point in the history
  4. Adds importer for old database data tables.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    9866099 View commit details
    Browse the repository at this point in the history
  5. removes accidentally committed debugging code.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    a585601 View commit details
    Browse the repository at this point in the history
  6. Adds support to move user fields.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    150a636 View commit details
    Browse the repository at this point in the history
  7. Adds basic raw data importer.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    e327cbb View commit details
    Browse the repository at this point in the history
  8. Quick and dirty postgres

    viklund authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    e2faa76 View commit details
    Browse the repository at this point in the history
  9. Adds postgres schemas

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    eff70cd View commit details
    Browse the repository at this point in the history
  10. fixes bug where gziped lines where not read in the same way as unzipp…

    …ed lines.
    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    4d5bdcb View commit details
    Browse the repository at this point in the history
  11. adds dry-run support to dbsnp importer.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    2bed837 View commit details
    Browse the repository at this point in the history
  12. adds mysql-data and downloaded files to gitignore.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    1bc9d38 View commit details
    Browse the repository at this point in the history
  13. adds importer requirements.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    55b138c View commit details
    Browse the repository at this point in the history
  14. Adds dry run support to reference set import.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    c228a88 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7016c5f View commit details
    Browse the repository at this point in the history
  16. Corrects a help message.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    ecc2e8e View commit details
    Browse the repository at this point in the history
  17. adds --dry-run, --dataset, and --version flags to raw data importer.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    6903360 View commit details
    Browse the repository at this point in the history
  18. Adds number of variants to dataset_versions

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    40f3029 View commit details
    Browse the repository at this point in the history
  19. Updates importer to match updated postgres schema.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    81795b6 View commit details
    Browse the repository at this point in the history
  20. Adds functions from the old db peewee wrapper to the new one.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    fce1a30 View commit details
    Browse the repository at this point in the history
  21. Docker-compose for postgres database.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    f97f247 View commit details
    Browse the repository at this point in the history
  22. Main site working from postgres database (not browser).

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    ca939bc View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f860f06 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e4102b9 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    4b3ceda View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    03b7396 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ea0123c View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    a296220 View commit details
    Browse the repository at this point in the history
  29. should fix dbsnp problem

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    73de6e2 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    40c6420 View commit details
    Browse the repository at this point in the history
  31. other_names for a gene is now in a separate table

    Import changes done according to planned DB schema changes.
    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    6b0b692 View commit details
    Browse the repository at this point in the history
  32. Updates db handler to match array-to-table changes in schema.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    f025a72 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    280c7c3 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    f33eb97 View commit details
    Browse the repository at this point in the history
  35. hom_count parsed

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    14e3d34 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    6a62d32 View commit details
    Browse the repository at this point in the history
  37. Fix typos etc

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    b83e1e9 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    8301059 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    fc49cd6 View commit details
    Browse the repository at this point in the history
  40. Skip lines with non-standard rsid

    This should probably be handled more carefully
    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    9a37e0a View commit details
    Browse the repository at this point in the history
  41. fix: Restore mysql-settings.

    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    05ac2ea View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    5139922 View commit details
    Browse the repository at this point in the history
  43. and a forgotten get()

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    5a35aa7 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    30b56ae View commit details
    Browse the repository at this point in the history
  45. Wrong db

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    ce06d49 View commit details
    Browse the repository at this point in the history
  46. a couple of pylint fixes

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    b376e3d View commit details
    Browse the repository at this point in the history
  47. slow id lookup

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    7376aa9 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    25b26ec View commit details
    Browse the repository at this point in the history
  49. forgot a self

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    f3381c5 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    556e26c View commit details
    Browse the repository at this point in the history
  51. feat: Change mysql database to postgres database

    This removes the MySQL schema and replaces it with postgres schemas, as
    well as updating the test dummy data.
    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    19775be View commit details
    Browse the repository at this point in the history
  52. feat: Rewrite travis tests to use postgres

    Replaces mysql tests with postgres tests. No new tests are added, the
    old tests are just rewriten for postgres.
    Martin Norling authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    035406b View commit details
    Browse the repository at this point in the history
  53. Add sampleCount in import script

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    d0d6961 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    9332827 View commit details
    Browse the repository at this point in the history
  55. Remove sample_count model again

    Undoes 6ee3c09
    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    7c04ddb View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    e0ef58c View commit details
    Browse the repository at this point in the history
  57. Save sampleCount in sample_sets, add parameter to import script

    Information from `NS` or header in vcf gets saved to data.sample_sets.sample_size
    (No changes to db schemas needed anymore!)
    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    64ede98 View commit details
    Browse the repository at this point in the history
  58. Fix typo

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    ecb8eee View commit details
    Browse the repository at this point in the history
  59. Add parameters for assembly_id and beacon_description

    assembly_id sets data.dataset_versions.var_call_ref
      (remember to update beacon schema)
    beacon_description sets data.datasets.beacon_description
    sampleset_size sets a cusom sampleset size
    set_vcf_sampleset_size sets the sampleset size according to the vcf
    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    70afe46 View commit details
    Browse the repository at this point in the history
  60. Fix small mistakes

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    9c4dd27 View commit details
    Browse the repository at this point in the history
  61. Improve help messages

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    1044722 View commit details
    Browse the repository at this point in the history
  62. Add parameter for datasetsize

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    ef81b39 View commit details
    Browse the repository at this point in the history
  63. Fix parsing of multiple rsids

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    9742f12 View commit details
    Browse the repository at this point in the history
  64. use beacon fix for A[NC] for all datasets without A[NC]_adj. Also che…

    …ck that gene identifiers contain ENSG
    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    02b8536 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    34f51d9 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    eb04242 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    38dd02a View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    d082b72 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    a351e94 View commit details
    Browse the repository at this point in the history
  70. Log info about dryrun

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    28fd9f3 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    5808409 View commit details
    Browse the repository at this point in the history
  72. forgotten ;

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    4cf890c View commit details
    Browse the repository at this point in the history
  73. g is before t

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    668cb90 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    12d21eb View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    f7ef8e6 View commit details
    Browse the repository at this point in the history
  76. Add indices for beacon

    MalinAhlberg authored and talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    0671e15 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    9a22dd1 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    7d1dbc7 View commit details
    Browse the repository at this point in the history
  79. added missing function

    talavis committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    e85c2dd View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    f91f49e View commit details
    Browse the repository at this point in the history
  81. feat: Add option to specify settings file

    Martin Norling committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    2fa3408 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2019

  1. Adding beacon database schema

    viklund committed Mar 14, 2019
    Configuration menu
    Copy the full SHA
    d1393e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05a60e2 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. Configuration menu
    Copy the full SHA
    64439a6 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. feat: Remove dbSNP and OMIM data

    Removes dbSNP and OMIM data, as we felt that they did not contribute
    enough to the system.
    Martin Norling committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    f8e7be8 View commit details
    Browse the repository at this point in the history
  2. feat: Adapt beacon schemat to schema changes

    Adds indexes to beacon schema, changes views to work with changes in
    the data schema, and adds beacon schema to docker-compose.
    Martin Norling committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    e705ead View commit details
    Browse the repository at this point in the history
  3. better hom_count?

    talavis committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    8346951 View commit details
    Browse the repository at this point in the history
  4. use minimal representation for variants

    Also avoid recalculation of identical data structure
    talavis committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    6efde85 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bca9f8d View commit details
    Browse the repository at this point in the history
  6. the return value _is_ needed

    talavis committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    b5a2800 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ebdf393 View commit details
    Browse the repository at this point in the history
  8. fix hotfix

    talavis committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    fc8aee2 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #527 from NBISweden/hot_fix/bug_fix

    Attempt to get code to work: don't reference data before it is created
    Linus Östberg authored Mar 18, 2019
    Configuration menu
    Copy the full SHA
    34ca445 View commit details
    Browse the repository at this point in the history
  10. fix for int->tuple

    talavis committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    f56be4a View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2019

  1. test: Fix travis tests for postgres update

    Martin Norling committed Mar 19, 2019
    Configuration menu
    Copy the full SHA
    46eb946 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    406d59e View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2019

  1. Configuration menu
    Copy the full SHA
    e35c557 View commit details
    Browse the repository at this point in the history
  2. a few fixes for batch management

    - check batch size using >=
    - check if batch: instead of if len(batch):
    - no need to reset batch at end
    - a few formatting changes
    talavis committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    e618972 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7488838 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63c019f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e53e49 View commit details
    Browse the repository at this point in the history
  6. added missing space

    talavis committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    ed66320 View commit details
    Browse the repository at this point in the history
  7. another fix for coverage

    talavis committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    f803efa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c673791 View commit details
    Browse the repository at this point in the history
  9. removed need of the function

    talavis committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    a6e75ed View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2019

  1. Configuration menu
    Copy the full SHA
    3cd211b View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2019

  1. pylint fixes

    talavis committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    dc7f872 View commit details
    Browse the repository at this point in the history