A script to generate a large SNP dataset and save it directly into chado.
REQUIRES your Drupal database user to be a PostgreSQL Superuser.
This script is compatible with the ND Genotype module (2.x) method of storing genotypes in the genotype_call table. It has been designed with efficiency in mind and thus uses COPY rather than individual inserts. Furthermore, copies are done in chunks (size can be set) in order to keep file sizes in check.
Data Storage Model: https://github.com/UofS-Pulse-Binfo/nd_genotypes/wiki/How-to-Store-your-Data#method-2-custom-genotype-call-table