cytoscape / cytoscape-automation

Collection of scripts that include programmatic io and control of Cytoscape
Creative Commons Zero v1.0 Universal
81 stars 58 forks source link

R and Python library distribution for apps #24

Closed dotasek closed 5 years ago

dotasek commented 7 years ago

It would make lots of scripters' lives easier if each Cytoscape app with automation came with its own functions in R and/or python.

There are two approaches I think would work, with a few notes.

cannin commented 7 years ago

I'm not sure if part of the plan is to produce R code to interact with a Swagger API. There is an effort to produce a codegen for R; it is relatively new.

https://github.com/swagger-api/swagger-codegen/issues/6520

Testing it would be useful, I think thus far it has been largely applied to the simple Swagger Pet example.

dotasek commented 7 years ago

@cannin We have experimented a little with auto-generated code from CyREST's Swagger, but didn't get beyond just trying it out. Perhaps trying it with a smaller App would be a more manageable experiment.

dotasek commented 7 years ago

@bdemchak made a suggestion in another context that I think could remove some complexity from my earlier suggestions:

Would the problem be best solved by a link on the App Store app page to the libraries supplied by the app writer? These should also be available and discoverable in the public repositories R/Python ... but having them discovered via the App Store would be good, too. I don't think we want to reinvent repository/discovery services already known to communities, but we do mean to reduce friction. This isn't a proposal ... it's philosophy that could be ambient in a proposal discussion.