Skip to main content

HAIRpred

This repository contains the standalone Python script HAIRpred.py.

Installation (For Linux Users)

This Github repository has files which need Git-LFS for installation. To install Git-LFS :

sudo apt-get install git-lfs
git lfs install

Then, clone this github repository :

git clone https://github.com/Ruchir3003/HAIRpr.git

Next, we need to untar the tar.gz files :

tar -xvJf models.tar.xz
tar -xvfz pssm.tar.gz

Install DSSP

To install DSSP, run the following command:

apt-get install dssp

You can set up the environment using either requirements.txt (for pip users) or environment.yml (for Conda users).

Using requirements.txt

pip install -r requirements.txt

Using environment.yml

conda env create -f env.yml

Installation (For Other Users)

You would need to install ncbi psi-blast files in the pssm and dssp for your system.

Install DSSP

You can install dssp by following https://github.com/cmbi/dssp

Install PSSM

You can install system-specific ncbi psi-blast files from https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/

Usage

usage: python3 HAIRpred.py [-h]
                       [-i INPUT
                       [-o OUTPUT]
                       [-j {1,2}] 
                       [-m {1,2}] (Only for Predict Module)
                       [-t THRESHOLD]
Please provide following arguments for successful run

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Input: protein or peptide sequence(s) in FASTA format
                        or single sequence per line in single letter code
  -o OUTPUT, --output OUTPUT
                        Output: File for saving results by default outfile.csv
  -j {1,2}, --job {1,2}
                        Job Type: 1:Predict, 2: Design, by default 1
  -t THRESHOLD, --threshold THRESHOLD
                        Threshold: Value between 0 to 1 by default 0.5
  -m {1,2}, --model {1,2}
                        Model Type: (Only for Predict Module) Model Type: 1: RSA based RF, 2: RSA + PSSM ensemble model (Best Model). Default : 2


**Input File:** It allow users to provide input in the FASTA format.

**Output File:** Program will save the results in the CSV format, in case user do not provide output file name, it will be stored in "outfile.csv".

**Threshold:** User should provide threshold between 0 and 1, by default its 0.5.

**Job:** User is allowed to choose between two different modules, such as, 1 for prediction and 2 for Designing , by default its 1.

**Model **: User is allowed to choose between two different models, such as, 1 for RSA based RF and 2 for RSA + PSSM ensemble RF, by default its 2.



Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hairpred-1.0.0.tar.gz (18.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hairpred-1.0.0-py3-none-any.whl (18.7 MB view details)

Uploaded Python 3

File details

Details for the file hairpred-1.0.0.tar.gz.

File metadata

  • Download URL: hairpred-1.0.0.tar.gz
  • Upload date:
  • Size: 18.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for hairpred-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2fb97894373848dee70ae1de15a20100779f88795290d32588c5f75ae94af759
MD5 9dc8c0a9c7de9df29c73f71fe595eca8
BLAKE2b-256 7a06b3bd426b0797fc7b6cf1a9f0890aee7bbb57646c0ab6d7a56ef166c3b299

See more details on using hashes here.

File details

Details for the file hairpred-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hairpred-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for hairpred-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91f449e12bf4b86000c7b0ec64e26009190d9ca04d6c06854e438c9231bc795a
MD5 1ac32cc6147c55476d63eb462f9f0f0b
BLAKE2b-256 2a825c23b22ba13e424d4da0901f9b9e40aad9ebff99db221999cff9c4b4c4eb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page