gbif/pipelines

Add hasSequence to occurrence filters

Opened this issue · 2 comments

Ir would be nice to be able to search for occurrences that have been sequenced. It would be a combination of hints as I see it:

has one of these extension:
GGBN: Amplification
GGBN: MaterialSample
GGBN: Permit
GGBN: Preparation
GGBN: Preservation
DNA derived data

OR
has field: associatedSequences

It could be a field in the API like hasSequence.

That is what we do now on https://hp-theme.gbif-staging.org/occurrence/search?entity=3912965377 to show the little dna helix sequence icon. But you cannot filter by it.

Are there other ways we would know that an occurrence has been sequenced? And are these correct?

I suggest the following for the conditions:

has one of these extension:
Amplification
Cloning
DNA derived data

OR
has field: associatedSequences

It will be a good start for sure. But I foresee a need to have a few more "tags" to be able to filter meaningfully.