Skip to content

QianGuoPKU/DeepHoF-1

 
 

Repository files navigation

DeepHoF: A bioinformatics tool to predict the potential hosts of viruses using deep learning techniques

Introduction

DeepHoF is designed to prediction the potential host types (plant, germ, invertebrate, vertebrate, human) of a given virus, which is represented by its nucleotide sequences. The tool will provide five scores and the corresponding p-values which reflect the propobilities of the virus infecting each host type. In addition, the score pattern and the p-value pattern reflect the infectivity pattern of the given virus.

Version

  • DeepHoF 1.0 (Tested on Ubuntu 16.04)

Requirements

To run the physical host version of DeepHoF, you need to install:

  • Python 3.6.10

  • numpy 1.17.5

  • h5py 2.10.0

  • pandas 0.25.3

  • TensorFlow 1.4.0

  • Keras 2.1.3

  • MATLAB Component Runtime (MCR) R2018a or MATLAB R2018a

    Note: (1) DeepHoF should be run under Linux operating system. (2) For compatibility, we recommend installing the tools with the similar version as described above. (3) If GPU is available in your machine, we recommend installing a GPU version of the TensorFlow to speed up the program. (4) DeepHoF can be run with either an executable file or a MATLAB script. If you run DeepHoF through the executable file, you need to install the MCR (for free) while MATLAB is not necessary. If you run DeepHoF through the MATLAB script, MATLAB is required.

Installation

1. Prerequisites

First, please install numpy, h5py, pandas, TensorFlow and Keras according to their manuals. All of these are python packages, which can be installed with pip. If “pip” is not already installed in your machine, use the command “sudo apt-get install python-pip python-dev” to install “pip”. Here are example commands of installing the above python packages using “pip”.

pip install numpy
pip install h5py
pip install pandas
pip install tensorflow==1.4.0  #CPU version
pip install tensorflow-gpu==1.4.0  #GPU version
pip install keras==2.1.3

If you are going to install a GPU version of the TensorFlow, specified NVIDIA software should be installed. See https://www.tensorflow.org/install/install_linux to know whether your machine can install TensorFlow with GPU support.

To run DeepHoF, please see https://www.mathworks.com/support/ to install the MATLAB.

2. Install DeepHoF using git

Clone DeepHoF package

git clone https://github.com/qianguopku/DeepHoF.git

Change directory to DeepHoF:

cd DeepHoF

All scripts are under the folder.

Usage

Input

Nucleotide sequence

Command

Please execute the following command directly in MATLAB command window:

DeepHoF('<input_file_folder>/input_file.fna','<output_file_folder>/output_file.tsv')

For example, if you want to identify the sequences in "example.fna", please execute:

DeepHoF('example.fna','result.tsv')

Please remember to set the working path of MATLAB to DeepHoF folder before running the programe.

Output

The output of DeepHoF consists of 11 columns:

Header plant_score germ_score invertebrate_score vertebrate_score human_score plant_pvalue germ_pvalue invertebrate_pvalue vertebrate_pvalue human_pvalue

The content in Header column is the same with the header of corresponding sequence in the input file. With the input of viral nucleotide sequence, DeepHoF will output five scores for each host type, reflecting the infectivity within each host type respectively. Furthermore, DeepHoF provides five p-values, statistical measures of how distinct the infections are compared with non-infection events.

Citation

Contact

Any question, please do not hesitate to contact me: qianguo@pku.edu.cn.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 79.4%
  • Python 20.6%