Sorry, I should have been more clear. I'd like to create a Data Manager tool that an Admin can use to remove items from a Tool Data Table.
I agree that reproducibility is an important concern and the Admin should keep that in mind when managing the data tables.
In our case, MentaLiST is designed to pull MLST schemes from public data sources (
pubmlst.org,
cgmlst.org,
enterobase.warwick.ac.uk), and build kmer databases. Those public datasets are updated periodically, so an Admin may decide to build new versions of the databases at various timepoints. We do stamp the data table entries with the creation date, so each new database gets a new entry in the tool data table.
At some point an Admin may want to remove older versions of a database. They might find that there is some sort of error or corruption in one of the existing databases. They might want to free up a bit of storage, or just make the user interface a bit cleaner by removing old entries.
I noticed that the galaxy API provides a method to do this and it's also included in bioblend, so I'm curious to know if there's a way to call that method from a Data Manager tool.
Dan