An example repository showing how to use CIBridge and Sci2 algorithms using Python
- Visit this repository https://github.com/CIShell/cishell-cibridge and follow the build instructions and running container instructions to run the CIBridge GraphQL server.
- Use the Sci2Container to access the algorithms from Sci2 algorithms.
- Install the following dependencies using pip.
pip install requests
pip install py-graphql-client
- Run the isi_worklow.py file by passing the input
isi
file, the output path with filename for theauthors.csv
and the third optional argument output path with filename for thenodes.csv
.
Examples:
isi_workflow.py xxxx/FourNetSciResearchers.isi authors.csv nodes.csv
isi_workflow.py xxxx/FourNetSciResearchers.isi authors.csv
For the above example you will get the output in the same folder with names authors.csv
and nodes.csv