belbio / bel_api

BEL API documentation
https://bel-api.rtfd.io
Apache License 2.0
7 stars 2 forks source link

BEL Completion Enhancement #84

Open wshayes opened 6 years ago

wshayes commented 6 years ago

From Natalie's suggestion:

Allow entering naked namespace values, complete to NS:VAL and then provide completion suggestions taking into account possible functions that can wrap the NS:VAL based on the NS:VAL entity types and the parameter location of the NS:VAL if it's already in a function.

Examples ('|' indicates the cursor):

AKT1| -> HGNC:AKT1| -> ['p(HGNC:AKT1)', 'r(HGNC:AKT1)', 'g(HGNC:AKT1)']

p(AKT1|) -> p(HGNC:AKT1|) -> [p(fus(pHGNC:AKT1, |))]

wshayes commented 6 years ago

Also, look into completing on act(p(HGNC:AKT1), ma(GO:)) or maybe complete on nodes in EdgeStore.

wshayes commented 6 years ago

Should do belbio/bel_resources#72 before starting completion. Also want to create datasets for PTM's (http://www.uniprot.org/uniprot/Q96B36#ptm_processing or http://dbptm.mbc.nctu.edu.tw/download.php) in order to provide completion support for pmod functions for proteins.

Goal is to provide completion support for act(AKT1, -> get list of known ma() or for p(AKT1, pm -> get list of all pmods known for protein)

ncatlett commented 6 years ago
  1. the information from outside databases in dbPTM may not be kept up to date - http://dbptm.mbc.nctu.edu.tw/statistics.php
  2. need to confirm that dbPTM (and all source databases) do not have use restrictions
wshayes commented 6 years ago

Can also provide completion suggestions for complexes by suggesting named complexes with provided members.