Added bulk ChadoLoader interface
Added pubplace column
Added PubRecord struct to hold id and pubplace
Split literature references into pubplace(database name) and id.
Store id and pubplace in map structure and insert into database.
Added tests for pubplace
Changed tests to accomodate separation of id and pubplace
Evidence code is now tested without the database name
Added a new staging table for holding new gpad data
Added insert statement for loading new gpad data in that staging table
Changed DataBucket to hold interface values instead of hardcoded string
Added rank key for each row of gpad data
Added type conversion for interface type
Added rank column
Fixed tests to count for extra staging table
Added insert statements for feature_cvterm and feature_cvtermprop
Added rest of insert statements for date, assigned_by, withfrom and
secondary references
Implemented ChadoLoader interface for sqlite backend
Added the ontology namespace for loading the test GO ids.
Use a map[string][]string data type to hold the extra namespace
information.
Changed the testing function name that recognizes the data type
Embeded Organism type, needed to run the first query in bulk load
Added two extra select statement to get the date of latest record from
chado. The first is a count statement to check for existense of any
record. The second select query is run only if the first returns true.
The latest date is casted to int and then feed into the insert query for
temp_gpad_new.
Run the count query on chado table before inserting new goa records in
the staging tables.
Added tests for checking the new records
Added test for checking entries in feature_cvterm, still does not pass.
Save the new db record after calling FirstOrInit. It's become clear that
FirstOrInit just initialize the structure but did not persist it.
Added extra tests to verify the dbxref to db relation is persisted.