Instead of depending on the hardcoded "ref" string for database abbreviation and likewise hardcoded URL for taxon set, "calculate" should read the load_databases table and create protein_count rows with attached taxons and proteins for each database to load.
Instead of depending on the hardcoded "ref" string for database abbreviation and likewise hardcoded URL for taxon set, "calculate" should read the load_databases table and create protein_count rows with attached taxons and proteins for each database to load.
See https://github.com/erikrikarddaniel/pfitmap/issues/73 for a description of the load_database model.
This issue is also dependent on issue https://github.com/erikrikarddaniel/pfitmap/issues/new.
For tests, insert the following into load_databases:
ref current RESTful URL for fully sequenced genomes pdb IMPLIED gb IMPLIED