Skip to content

About

Protein similarity search for 569k proteins

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS569k-viewer

Similar protein search interface showing usecase of DS569k dataset deployed live at https://ocular.cc.gatech.edu/DS569k/.

viewer-demo.mov

First install https://github.com/astral-sh/uv then run

cd viewer
cd server
uv venv
uv sync
uv run src/server.py

to install backend packages.

Then in another terminal, use https://pnpm.io/ to install and run the frontend

cd ..
cd website
pnpm install
pnpm dev

Then open http://localhost:5173.

Want to embed your own proteins compared to the dataset?

Take a look at how we embed sequences into ProteinCLIP: https://github.com/xnought/DS569k-viewer/blob/main/viewer/server/src/embed_proteinclip.py#L107

Most of the code in that file is copied from https://github.com/wukevin/proteinclip. Credit to them!

Ocular Deployment

You need to run the backend server and transfer the static files over.

Backend:

cd viewer/server

# install dependencies 
virtualenv --python=python3 venv  
source venv/bin/activate
pip3 install -r requirements.noversion.txt

# run the server in the backround (port 4322)
nohup python3 src/server.py runserver > logfile.out &

Frontend

cp -R viewer/website/dist /var/www/html/DS569k/

Credit

All credit for the data goes to https://www.uniprot.org/ and https://www.expasy.org/resources/uniprotkb-swiss-prot and to the original authors of each protein. I directly took the data from them.

Large pieces of code were copied from https://github.com/wukevin/proteinclip to embed both ESM and ProteinCLIP. Without their pretrained models and code, I could not have produced the embeddings.

And credit to Fair ESM for the pretrained ESM2 models https://github.com/facebookresearch/esm.

References

About

Protein similarity search for 569k proteins

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages