Skip to content

Commit

Permalink
Refactored the code
Browse files Browse the repository at this point in the history
Updated Python version to 3.9 alongside the dependencies
Replaced dvf.py with the one provided on pull request jessieren#29
  • Loading branch information
owsky committed May 24, 2023
1 parent d641ea7 commit a63c010
Show file tree
Hide file tree
Showing 36 changed files with 8,211 additions and 1,384,545 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
venv
.idea
**/encode
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# DeepVirFinder: Identifying viruses from metagenomic data by deep learning

## Conda profile
conda create -n dvf python=3.9 theano keras scikit-learn Biopython h5py=2.10.0
conda activate dvf
pip install numpy==1.21 tensorflow-cpu==2.10 tensorflow-directml-plugin

## Training and prediction
./train_models.sh
python dvf.py -i ./data/crAssphage.fa -o ./output/ -l 300 -m ./models
python dvf.py -i ./data/CRC_meta.fa -o ./output/ -l 300 -m ./models



Version: 1.0

Authors: Jie Ren, Kai Song, Chao Deng, Nathan Ahlgren, Jed Fuhrman, Yi Li, Xiaohui Xie, Ryan Poplin, Fengzhu Sun
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit a63c010

Please sign in to comment.