Skip to content

Commit

Permalink
Adding file to get the trained model for denovo identification
Browse files Browse the repository at this point in the history
  • Loading branch information
CamiloPosso committed Mar 30, 2023
1 parent 87ab7fb commit 64a16fc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Kaiko_volume/Kaiko_stationary_files/*
!Kaiko_volume/Kaiko_stationary_files/ExtractUniRefMembers.py
!Kaiko_volume/config.yaml

!Kaiko_denovo/model/get_data.sh
!Kaiko_denovo/model/README.txt

# pipeline outputs and inputs
pipeline_input/*.MGF
pipeline_intermediary/denovo_output/*.txt
Expand Down
1 change: 1 addition & 0 deletions Kaiko_denovo/model/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use the script above to download the model to this folder.
7 changes: 7 additions & 0 deletions Kaiko_denovo/model/get_data.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Downloading Kaiko Pre-trained model
wget ftp://massive.ucsd.edu/MSV000083150/updates/2019-01-08_mwang87_5b6489dc/other/model/checkpoint
wget ftp://massive.ucsd.edu/MSV000083150/updates/2019-01-08_mwang87_5b6489dc/other/model/translate.ckpt-2123500.data-00000-of-00001
wget ftp://massive.ucsd.edu/MSV000083150/updates/2019-01-08_mwang87_5b6489dc/other/model/translate.ckpt-2123500.index

# Downloading knapsack
wget ftp://massive.ucsd.edu/MSV000083150/updates/2019-01-08_mwang87_5b6489dc/other/model/knapsack.npy
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Download the following files to the ```Kaiko_volume/Kaiko_stationary_files``` fo

4) [Diamond search](https://github.com/bbuchfink/diamond/releases), choosing the appropriate system. If using Docker, get the Linux version.

5) Denovo model: Within the ```Kaiko_denovo/model``` folder, open the ```get_data.sh``` script to download the trained model.

### Processing

1) Extract the diamond file from step 4 into its own folder within ```Kaiko_volume/Kaiko_stationary_files```, eg ```Kaiko_volume/Kaiko_stationary_files/diamond```.
Expand Down

0 comments on commit 64a16fc

Please sign in to comment.