Drug similarity method description

  • ATCSim
  • CDKSim
  • SmileSim
  • Targets
  • DDIs

Disease similarity method description

  • BOG
  • CosineDFV
  • doSims
  • FunSims
  • Sun_topologys
  • Sun_functions
  • ICods
  • PSBs
  • Separations
  • Sun_annotations

Module specification

Attention:All modules can have multiple outputs, so the output of each module is encapsulated in dict.

1.Java
  • Each module contains only one file, the file type must be. java file and the file name must be consistent with the class name contained in the file;
  • The module needs to include the execute method (similar to the main method);
  • The execute method's input object type is InputStream;
  • The attribute parameters of execute method are string. If you need to convert them, please convert them into other types (such as int) in the module;
  • If the input object is a triplet file, attribute parameters should be added to indicate the number of columns to be read.
  • Execute method's output object type is Map < String, String > type, example: <'output 1','This is a string'>;
2.Python
  • Each module contains only one file, and the file type must be.Py file. Python3.x syntax is recommended;
  • Attribute parameters are string types.
  • If the input object is a triplet file, attribute parameters should be added to indicate the number of columns to be read.
  • Each module has one or more output parameters, specifying the result to write to the location of the file;
  • The result is stored in dict type ,converted to JSON format and then wrote to file.