EBI BioSample and OLS services made changes on their API and InjectTool is now unable to validate and submit new dato into BioSamples. You can see more information in github issues #119 and #120
Submission is the central concept used within InjectTool. It is associated with a data file (for more information see our tutorial at Preparing a new submission) and is private to the user who creates it. After creating a submission, Animals and Samples objects are created from the selected data file and to be validated against IMAGE metadata. If all records pass the validation, the data are ready to be submitted to BioSamples archive. Once submitted to BioSamples, your data will be available to the community through BioSamples site and IMAGE Data Portal in a few days.
The submission detail page provides information about each submission, for example Submission Title, Description, etc. Within the submission detail page a user can perform tasks like edit, validate or submit the data by clicking the corresponding buttons which locate at the bottom of the page. Here is an example picture for a Submission Detail page:
The action buttons allow changes to be made to the submission. Some actions are available only if some conditions are satisfied, for example data can only be Submitted only after Validation is successful. Here is the list which describes all possible actions that could be applied to a submission:
Processes like data import, data validation and submission to BioSamples require a period of time and can't be completed immediately to get the result page instantly. InjectTool has monitoring procedures running constantly and asynchronously in the background, in order to provide "live" result pages. However, you can't modify your data while performing such background tasks, otherwise valid data could be modified to be invalid by mistake during a submission process. Various submission statuses have been defined within InjectTool depending on which tasks are accomplished on your data. Statuses may change when tasks are completed, and within submission detail page the status can be changed in real-time without user intervention. Current possible statuses are:
Data could be manually edited by clicking on Edit data button which brings the page shown in the following figure: Every single record can be Edited or Deleted by clicking the corresponding button.
After manual modification, data need to be validated again in order to be submitted into BioSamples. In alternative, a user can update the original data source and then reload the edited submission file using Reload Submission under the Danger zone button: all data contained in the edited datasource will overwrite data present in InjectTool relying on animal/sample Name. Data present in InjectTool but not in the edited data source file will remain the same. In order to remove data from a submission, you will need to click on Delete button or specify multiple names under the Delete animals from submission or Delete samples from submission under the Danger zone button in submission detail page.
InjectTool tracks submitted data through the BioSamples accessions. If you edit an already submitted record and the validation steps is ok, only updated records will be submitted to BioSamples, while unmodified record will be ignored.
Through InjectTool it is possible to modify a BioSamples record by modifying the corresponding record in your submission
InjectTool is designed to collect unique samples and/or animals for each user. You can have animal with the same name for different breed or species but you can't have the same animal name for the same breed. Similarly, you can have samples with the same names for different animals, but no samples with the same name could be collected from the same animal. In such way, if you reload the same dataset in a different submission, you will generate an empty submission (with no Animal or Samples). This means that CryoWeb user could upload a more recent version of their database dumps in a new submission without worrying about removing records already submitted into BioSamples: only new records will be inserted in the new submission.
If you plan to add new data to BioSamples, the recommended way is to load new data in a new submission, in order to maintain the relationship of data belonging to the submission and its associated data source. You could upload animals or samples related to animals belonging to a previous submission, however you must ensure that the referred animal is already present in the BioSamples archive otherwise your submission will fail.