GithubHelp home page GithubHelp logo

soybase / curatortools Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 145 KB

A set of curator tools designed to manage genomic datasets.

License: MIT License

PHP 99.17% Hack 0.49% JavaScript 0.06% CSS 0.29%

curatortools's People

Contributors

shawniconners avatar

Watchers

 avatar  avatar  avatar  avatar

curatortools's Issues

Create structure tables within a transaction in a single PHP process (optimization)

Instead of calling the study_structures_script.php multiple times (once for each structure), it would be likely be faster for a single PHP process to create all structure tables in a transaction; e.g., consider the following (shell script) benchmark that creates 1000 structure tables within a transaction:

$ cat create.sh
#!/bin/bash
id=1
(
  echo 'START TRANSACTION;'
  id=1
  for structure_id in {1..1000}
  do
    echo "
    CREATE TABLE tblStudy${id}Structure${structure_id}SNPs (
        id int(11) unsigned NOT NULL AUTO_INCREMENT,
        position int(11) DEFAULT NULL,
        names json DEFAULT NULL,
        reference char(1) DEFAULT NULL,
        alternate json DEFAULT NULL,
        results json DEFAULT NULL,
        PRIMARY KEY (id),
        KEY k_position (position)
    ) ENGINE=InnoDB;"
  done
  echo 'COMMIT;'
) | mysql dbCuratorTools
$ docker-compose up -d mysql
Creating network "curatortools_default" with the default driver
Creating curatortools_mysql_1 ... done
$ docker cp create.sh curatortools_mysql_1:/tmp
$ docker-compose exec mysql bash -c 'time bash /tmp/create.sh'
real	0m7.827s
user	0m0.071s
sys	0m0.075s

Fix assembly upload issue

New assembly upload needs to be updated for the code transition. It is currently experiencing errors.

Update header links

Header links need to be updated to reflect the removal of the download section.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.