|
@@ -13993,3 +13993,191 @@ function tripal_core_chado_schema_v1_2_treatment() {
|
|
|
);
|
|
|
return $description;
|
|
|
}
|
|
|
+
|
|
|
+/**
|
|
|
+ * Lists the table names in the v1.2 chado schema
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ * An array containing all of the table names
|
|
|
+ *
|
|
|
+ * @ingroup tripal_chado_v1.2_schema_api
|
|
|
+ *
|
|
|
+ */
|
|
|
+function tripal_core_chado_get_v1_2_tables() {
|
|
|
+ $tables = array(
|
|
|
+ 'acquisition',
|
|
|
+ 'acquisition_relationship',
|
|
|
+ 'acquisitionprop',
|
|
|
+ 'analysis',
|
|
|
+ 'analysisfeature',
|
|
|
+ 'analysisfeatureprop',
|
|
|
+ 'analysisprop',
|
|
|
+ 'arraydesign',
|
|
|
+ 'arraydesignprop',
|
|
|
+ 'assay',
|
|
|
+ 'assay_biomaterial',
|
|
|
+ 'assay_project',
|
|
|
+ 'assayprop',
|
|
|
+ 'biomaterial',
|
|
|
+ 'biomaterial_dbxref',
|
|
|
+ 'biomaterial_relationship',
|
|
|
+ 'biomaterial_treatment',
|
|
|
+ 'biomaterialprop',
|
|
|
+ 'cell_line',
|
|
|
+ 'cell_line_cvterm',
|
|
|
+ 'cell_line_cvtermprop',
|
|
|
+ 'cell_line_dbxref',
|
|
|
+ 'cell_line_feature',
|
|
|
+ 'cell_line_library',
|
|
|
+ 'cell_line_pub',
|
|
|
+ 'cell_line_relationship',
|
|
|
+ 'cell_line_synonym',
|
|
|
+ 'cell_lineprop',
|
|
|
+ 'cell_lineprop_pub',
|
|
|
+ 'chadoprop',
|
|
|
+ 'channel',
|
|
|
+ 'contact',
|
|
|
+ 'contact_relationship',
|
|
|
+ 'control',
|
|
|
+ 'cv',
|
|
|
+ 'cvprop',
|
|
|
+ 'cvterm',
|
|
|
+ 'cvterm_dbxref',
|
|
|
+ 'cvterm_relationship',
|
|
|
+ 'cvtermpath',
|
|
|
+ 'cvtermprop',
|
|
|
+ 'cvtermsynonym',
|
|
|
+ 'db',
|
|
|
+ 'dbxref',
|
|
|
+ 'dbxrefprop',
|
|
|
+ 'eimage',
|
|
|
+ 'element',
|
|
|
+ 'element_relationship',
|
|
|
+ 'elementresult',
|
|
|
+ 'elementresult_relationship',
|
|
|
+ 'environment',
|
|
|
+ 'environment_cvterm',
|
|
|
+ 'expression',
|
|
|
+ 'expression_cvterm',
|
|
|
+ 'expression_cvtermprop',
|
|
|
+ 'expression_image',
|
|
|
+ 'expression_pub',
|
|
|
+ 'expressionprop',
|
|
|
+ 'feature',
|
|
|
+ 'feature_cvterm',
|
|
|
+ 'feature_cvterm_dbxref',
|
|
|
+ 'feature_cvterm_pub',
|
|
|
+ 'feature_cvtermprop',
|
|
|
+ 'feature_dbxref',
|
|
|
+ 'feature_expression',
|
|
|
+ 'feature_expressionprop',
|
|
|
+ 'feature_genotype',
|
|
|
+ 'feature_phenotype',
|
|
|
+ 'feature_pub',
|
|
|
+ 'feature_pubprop',
|
|
|
+ 'feature_relationship',
|
|
|
+ 'feature_relationship_pub',
|
|
|
+ 'feature_relationshipprop',
|
|
|
+ 'feature_relationshipprop_pub',
|
|
|
+ 'feature_synonym',
|
|
|
+ 'featureloc',
|
|
|
+ 'featureloc_pub',
|
|
|
+ 'featuremap',
|
|
|
+ 'featuremap_pub',
|
|
|
+ 'featurepos',
|
|
|
+ 'featureprop',
|
|
|
+ 'featureprop_pub',
|
|
|
+ 'featurerange',
|
|
|
+ 'genotype',
|
|
|
+ 'genotypeprop',
|
|
|
+ 'library',
|
|
|
+ 'library_cvterm',
|
|
|
+ 'library_dbxref',
|
|
|
+ 'library_feature',
|
|
|
+ 'library_pub',
|
|
|
+ 'library_synonym',
|
|
|
+ 'libraryprop',
|
|
|
+ 'libraryprop_pub',
|
|
|
+ 'magedocumentation',
|
|
|
+ 'mageml',
|
|
|
+ 'nd_experiment',
|
|
|
+ 'nd_experiment_contact',
|
|
|
+ 'nd_experiment_dbxref',
|
|
|
+ 'nd_experiment_genotype',
|
|
|
+ 'nd_experiment_phenotype',
|
|
|
+ 'nd_experiment_project',
|
|
|
+ 'nd_experiment_protocol',
|
|
|
+ 'nd_experiment_pub',
|
|
|
+ 'nd_experiment_stock',
|
|
|
+ 'nd_experiment_stock_dbxref',
|
|
|
+ 'nd_experiment_stockprop',
|
|
|
+ 'nd_experimentprop',
|
|
|
+ 'nd_geolocation',
|
|
|
+ 'nd_geolocationprop',
|
|
|
+ 'nd_protocol',
|
|
|
+ 'nd_protocol_reagent',
|
|
|
+ 'nd_protocolprop',
|
|
|
+ 'nd_reagent',
|
|
|
+ 'nd_reagent_relationship',
|
|
|
+ 'nd_reagentprop',
|
|
|
+ 'organism',
|
|
|
+ 'organism_dbxref',
|
|
|
+ 'organismprop',
|
|
|
+ 'phendesc',
|
|
|
+ 'phenotype',
|
|
|
+ 'phenotype_comparison',
|
|
|
+ 'phenotype_comparison_cvterm',
|
|
|
+ 'phenotype_cvterm',
|
|
|
+ 'phenstatement',
|
|
|
+ 'phylonode',
|
|
|
+ 'phylonode_dbxref',
|
|
|
+ 'phylonode_organism',
|
|
|
+ 'phylonode_pub',
|
|
|
+ 'phylonode_relationship',
|
|
|
+ 'phylonodeprop',
|
|
|
+ 'phylotree',
|
|
|
+ 'phylotree_pub',
|
|
|
+ 'project',
|
|
|
+ 'project_contact',
|
|
|
+ 'project_pub',
|
|
|
+ 'project_relationship',
|
|
|
+ 'projectprop',
|
|
|
+ 'protocol',
|
|
|
+ 'protocolparam',
|
|
|
+ 'pub',
|
|
|
+ 'pub_dbxref',
|
|
|
+ 'pub_relationship',
|
|
|
+ 'pubauthor',
|
|
|
+ 'pubprop',
|
|
|
+ 'quantification',
|
|
|
+ 'quantification_relationship',
|
|
|
+ 'quantificationprop',
|
|
|
+ 'stock',
|
|
|
+ 'stock_cvterm',
|
|
|
+ 'stock_cvtermprop',
|
|
|
+ 'stock_dbxref',
|
|
|
+ 'stock_dbxrefprop',
|
|
|
+ 'stock_genotype',
|
|
|
+ 'stock_pub',
|
|
|
+ 'stock_relationship',
|
|
|
+ 'stock_relationship_cvterm',
|
|
|
+ 'stock_relationship_pub',
|
|
|
+ 'stockcollection',
|
|
|
+ 'stockcollection_stock',
|
|
|
+ 'stockcollectionprop',
|
|
|
+ 'stockprop',
|
|
|
+ 'stockprop_pub',
|
|
|
+ 'study',
|
|
|
+ 'study_assay',
|
|
|
+ 'studydesign',
|
|
|
+ 'studydesignprop',
|
|
|
+ 'studyfactor',
|
|
|
+ 'studyfactorvalue',
|
|
|
+ 'studyprop',
|
|
|
+ 'studyprop_feature',
|
|
|
+ 'synonym',
|
|
|
+ 'tableinfo',
|
|
|
+ 'treatment'
|
|
|
+ );
|
|
|
+ return $tables;
|
|
|
+}
|