Code Monkey home page Code Monkey logo

enqrasar's Introduction

Ensemble Quantitative Read-Across Structure-Activity Relationship Algorithm for Predicting Skin Cytotoxicity

Author: Tarapong Srisongkram

TOC

Description

This is a simple command-line tool to load and use a pre-trained EnRAQSAR model on your local computer. With this tool, you can make skin irritation predictions directly from the terminal without the need for a GUI or web interface. This software is based on the paper: Ensemble Read-Across Quantitative Structure-Activity Relationship Algorithm for Predicting Skin Cytotoxicity

Prerequisites

  1. Python: Ensure you have Python 3.9 or newer installed on your machine. We recommend you install Python via Anaconda package management.

  2. Required Libraries: Before you start, make sure to install the required Python libraries by running (in terminal):

First locate to the path of this software

    cd path of the software

Then create Conda environment name raqsar and then install the requirements.txt file (you can change environment name raqsar as you want).

    conda create --name raqsar --file requirements.txt

Alternatively, you can install requirements.txt file via pip python package management

    pip install -r requirements.txt
  1. Input File: This software accepts input as an Excel file. The format of Excel should include LigandID as index column, canonical_smiles as the SMILES column. for example.
LigandID canonical_smiles
Ciproflixacin O=C(O)c1cn(C2CC2)c2cc(N3CCNCC3)c(F)cc2c1=O

The test of the compound is unlimited. You can put the compound with SMILES as much as you want. Then, place the input file in the folder input

Usage

Basic Command:

Activate raqsar Conda environment

conda activate raqsar

Analyze the chemicals in the INPUT_FILE_NAME in the input folder and save in the output folder as CSV file.

python main.py --input INPUT_FILE_NAME

Options

--input : This option is available for specifies the input file name INPUT_FILE_NAME, default is example.xlsx.

Default will return the output from the example.xlsx file

python main.py

Specify the INPUT_FILE_NAME

python main.py --input INPUT_FILE_NAME

--output: This option is available for specifies the output file name OUTPUT_FILE_NAME. The default is output.csv, and this file will save in the output folder

python main.py --input INPUT_FILE_NAME --output OUTPUT_FILE_NAME

Examples

  1. Predict skin irritation of Ciprofloxacin and save in output.csv:
python main.py --input ciplofoxacin.xlsx
  1. (Option) Predict skin irritation of Ciprofloxacin and save in result.csv:
python main.py --input ciplofoxacin.xlsx --ouput result.csv

The example of result is shown below:

LigandID ECFP APF RF Lasso Predicted pIC50 Predicted IC50 (nM) Similarity
Ciproflixacin 4.03 4.06 4.38 4.01 4.01 98196.13 0.64

Interpretation

LigandID : Chemical Name
ECFP : Extended circular fingerprint (ECFP)-based Read-Across predictive result
APF : Atom Pairs 2D fingerprint (APF)-based Read-Across predictive result
RF : Physicochemical properties-based RF-QSAR predictive result
Lasso : Physicochemical properties-based Lasso-QSAR predictive result
Predicted pIC50 : Stacked ensemble of Lasso-QSAR, RF-QSAR, ECFP-RA, APF-RA based prediction (final pIC50 result). High value (pIC50 > 5) indicates skin irritation chemical
Predicted IC50 : IC50 values calculated from the Predicted pIC50 by using pIC50 = -logIC50 equation.
Similarity : Tanimoto-based similarity to the training data set (excluded outliers). A higher similarity value indicates better prediction performance.

Contributing

If you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License.

Feedback and Issues

If you have feedback or run into any issues, please submit an issue on the project's GitHub page.

enqrasar's People

Contributors

tarsri avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.