eToxPred icon indicating copy to clipboard operation
eToxPred copied to clipboard

Documentation

Open pythonnewbie3 opened this issue 4 years ago • 3 comments

Could you maybe provide a documentation on how to include your library into a self written program? That would help alot. :-)

pythonnewbie3 avatar Sep 14 '21 21:09 pythonnewbie3

How exactly you want to incorporate the code? If you are using Python for the rest of your code, you can just use the predict function in etoxpred_prediction.py

pulimeng avatar Sep 26 '21 20:09 pulimeng

I want to write a script where the toxicity is predicted along with other values from a smiles.

pythonnewbie3 avatar Sep 27 '21 09:09 pythonnewbie3

In that case, if you downloaded the entire repo, you can simply do import predict from etox_predict. Then make a dictionary, say d, contains: path to .smi, path to model, path to output file. Then you do predict(d)

pulimeng avatar Sep 27 '21 15:09 pulimeng