Here is the documentation for Data Managers:

https://galaxyproject.org/admin/tools/data-managers/
https://galaxyproject.org/admin/tools/data-managers/data-manager-xml-syntax/
https://galaxyproject.org/admin/tools/data-managers/data-manager-json-syntax/

I don't see any reference to removing entries from a Tool Data Table. Is there a technical reason why it can't be done?

As I understand it, each Tool Data Table must have one column called 'value' that acts as a unique ID for that row of the table. So the data manager would just need the name of the Tool Data Table and a string to look up in the 'value' table, and it would remove that row if it found a match.

In my case, another column in the Tool Data Table stores the path to a kmer database that should be removed from the disk.

Will this be possible with the currently-available xml & json syntax? Are there any postgresql database entries that should be cleaned up if a Tool Data Table entry is removed? Is there some reason why this is a bad idea or is there another way of accomplishing this (removing Tool Data Table entries) that I've missed?

Thanks

Dan



On Tue, Mar 27, 2018 at 2:09 PM, Dan Fornika <dfornika.work@gmail.com> wrote:
Hello,

I'm working on galaxy integration for an MLST tool called MentaLiST:

https://github.com/WGS-TB/MentaLiST/tree/master/galaxy

I've created data managers that create kmer databases and store their locations in a Tool Data Table. I'd like to allow users to remove entries from the Tool Data Table. Has anyone seen a Data Manager that provides that functionality? Should I create separate data managers for add and remove functionality, or can it be integrated into one?

Thanks,

Dan