This repository allows you to predict tm-index of proteins written in .fasta file. It works as a parser of http://tm.life.nthu.edu.tw/index.htm web open tool (DOI: 10.1016/j.compbiolchem.2009.10.002). As a result, you get 1) barplots of predicted categories 2) JSON-files describe each protein, temperature groups.
- Clone this repo:
git clone https://github.com/keyreallkeyrealenko/tm-predictor.git
- Open directory:
cd tm-predictor
- Create and activate new python environment:
python3.9 -m venv venv
source venv/bin/activate
- Install all required python libraries:
pip install -r requirements.txt
- Make main.py executable (optional):
chmod +x main.py
###NOTE: selenium webdriver must be installed on your machine. E.g. see here: https://selenium-python.readthedocs.io/installation.html#
Code below would parse file example.fasta from current directory and save all the results to the ~/Desktop directory
main.py example.fa ~/Desktop/
Program was tested on macOS Monterey V 12.6. Should work on any UNIX-machine too.
For 2000 proteins it works for about 2-3 hours.