Features¶
Germplasm Cross Importer is developed following Tripal Developer’s Guide » Creating Custom Data Loaders. This module is developed for bulk load germplasm crosses into database.
File Upload¶
Format requirements for upload files can be found easily in UI while using this module.
Prefix and Organism¶
Organism must be selected from dropdown menu before upload. Prefix text box is optional to fill in and default the value is ‘GERM’. The uniquename for each germplasm will be ‘GERM’ followed by it’s stock id but user can give a unique prefix to replace ‘GERM’.
Bulk load germplasm crosses¶
As Chado is the data store for Tripal, germplasm data will be saved in five chado tables: cv, cvterm, stock, stockprop, and stock_relationship in this module.
- required control vocabularies (CVs) and CV terms will be checked before data loading
- germplasm crosses will be loaded into table stock
- properties for each germplasm will be loaded into table stockprop
- relationships with parents for each germplasm will be loaded into table stock_relationship
Note
CVs and CV terms used in this module is customized for our database. Users can check their own database and modify CVs and CV terms accordingly.
PHP UnitTest¶
PHP UnitTest is created to guarantee the integrity of data insertion.