microbiomedata / nmdc-server

Data portal client and server for NMDC.
https://data.microbiomedata.org
Other
9 stars 0 forks source link

Ability to search by any NMDC identifier #964

Open aclum opened 1 year ago

aclum commented 1 year ago

Data portal search should support search by NMDC identifier (slot id) for the Database Class slots where the Range is a Class which contains id as a required slot slots:

Example: I should be able to search by nmdc:wfmgas-11-jhtfzx79.1 as a NMDC metagenome assembly identifier.

study_set id search is already supported, biosample_set id search is requested in https://github.com/microbiomedata/nmdc-server/issues/1046.

cc @turbomam

aclum commented 2 weeks ago

@naglepuff @marySalvi does the new endpoint that eric made help with this ticket? For a given ID it returns the Class and Database slot. see https://github.com/microbiomedata/nmdc-runtime/pull/532