datagrok-ai / public

Public package repository for the Datagrok.ai platform
MIT License
45 stars 26 forks source link

Bio: Annotate actions for semantic types 'Macromolecule' so suitable action will be accessed from the column's hamburger menu. #847

Closed tanas80 closed 1 year ago

tanas80 commented 2 years ago

There is a need for the ability to annotate actions on semantic types with additional tags (with values) since some Bio actions are not possible for any unit values; for example, the MSA action works for unit fasts for the NT and PT alphabets but does not work for Helm or other alphabets.

skalkin commented 2 years ago

@StLeonidas so what's the plan regarding this ticket?

StLeonidas commented 2 years ago

It needs triage, @tanas80 could you please give more details?

tanas80 commented 2 years ago

Now we are blocked without functionality allowing us to select Action not only by semType, but by values of other tags too. For example, the action function may be annotated like this for Macromolecules //input: column sequence { semType: Macromolecule, units: ['fasta'], alphabet: ['DNA', 'RNA', 'PT'] } or even //input: column sequence { semType: Macromolecule, units: [NOTATION.FASTA], alphabet: [ALPHABET.DNA, ALPHABET.RNA, ALPHABET.PT] }