PathwayCommons / cpath2

Biological pathway data integration and access platform (Pathway Commons)
http://www.pathwaycommons.org/pc2/
MIT License
6 stars 5 forks source link

extend web api: add interaction type filter in get/graph queries if SIF format is requested #235

Closed IgorRodchenkov closed 7 years ago

IgorRodchenkov commented 8 years ago

E.g., to apply only listed SIF types/rules: /graph?kind=...&format=BINARY_SIF(controls_expression_of,controls_state_change_of)

or - to exclude some SIF rules: /graph?kind=...&format=EXTENDED_BINARY_SIF(!neighbor_of,!interacts_with)

(In fact, 'neighbor_of' is always excluded, starting from PC2 v8 - next release)

IgorRodchenkov commented 7 years ago

Will support SIF option (select rules/patterns) for 'get' and 'graph' command, e.g.: /graph?format=SIF&pattern=controls_expression_of&pattern=controls_state_change_of&...