Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modelling tool relations and versions (placeholder discussion) #349

Closed
joncison opened this issue Jul 18, 2018 · 2 comments
Closed

Modelling tool relations and versions (placeholder discussion) #349

joncison opened this issue Jul 18, 2018 · 2 comments
Labels
data model / integrity / quality Concerns the underlying data model (verification, validity etc.) discussion General discussion around bio.tools.

Comments

@joncison
Copy link
Member

joncison commented Jul 18, 2018

@matuskalas says (from RostLab meeting 2016):

- Modeling of versions may need rethinking: if we have multiple versions for a single tool for instance, then it will be difficult to maintain the description of the resource for each version separately.
- J: yes! something like a “relation” attribute (between 2 entries) which can have a “role” e.g. of “is_new_version_of” and then with functionality to clone “old” description into the new version (for subsequent updates for latest information)
- Modeling of versions may need rethinking #2: interfaces may have separate versions
- Modeling of versions may need rethinking #3: some tools can be unversioned (e.g. Aquaria webapp). On the other hand, it does also sense to enforce versions, which could then always be AT LEAST a revision/commit/tag of the source code. Question stays, however, what to do if a tool is built from multiple separate components/repos and not versioned as a whole. In any case, “1” is a bad default which may cause a mess!
- Modeling of versions may need rethinking #4: As an intermediate conclusion, it would be nice to allow multiple versions within the same tool record, with ordering, and eventually with some version-specific information attributes.
- Find a way to specify that an interface uses another interface (from the same or a different tool). e.g., Aquaria Web UI uses Aquaria REST API. Plus version.
- J: yes! (from your suggestion last year Matus) we have other roles for the “relation” attribute e.g. “uses_data_from”, “providers_interface_to”, “bundles” or whatever …
- M: this is extremely great! We should at some point enable the relations to be specific to interfaces and versions. But that mandates creating stable cool URIs/URLs for these.
- Plus versions across the relations between tools. E.g. version 2.0.1 of ToolA uses DatabaseX version 3.1 whereas otherwise identical version 2.0.2 of ToolA uses DatabaseY version 3.2.

also

"Special-case scenario with LocTree/2/3, Clustal/V/W/W2/X/Omega, may need “is new version of” and something like “obsolete/deprecated, has a newer version” (“is deprecated in favor of”) relations (or status + relations). Both directions are necessary, as e.g. the two versions may have different entry maintainers."

@joncison joncison added data model / integrity / quality Concerns the underlying data model (verification, validity etc.) discussion General discussion around bio.tools. labels Jul 18, 2018
@redmitry
Copy link
Contributor

For tools monitoring we solved this by complex, compound ID:
https://dev-openebench.bsc.es/monitor/tool/biotools:pmut:2017/rest/mmb.irbbarcelona.org
There are:
"prefix": "biotools"
"id": "pmut"
"version": "2017"
"type": "rest"
"host": "mmb.irbbarcelona.org"

There is a special "general" (versionless) record which is common for all descriptions (instances):
https://dev-openebench.bsc.es/monitor/tool/pmut
This compound @id is generated by the REST API while mongodb internally uses the compound index.

Currently in development Web:
https://dev-openebench.bsc.es/html/tool/pmut
Aggregates all instances by their versions and types.

Kind regards,

D.

@joncison
Copy link
Member Author

joncison commented Sep 7, 2018

This issue was moved to bio-tools/biotoolsSchema#106

@joncison joncison closed this as completed Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data model / integrity / quality Concerns the underlying data model (verification, validity etc.) discussion General discussion around bio.tools.
Projects
None yet
Development

No branches or pull requests

2 participants