Skip to main content

A package to predict emulsifying potential of peptides

Project description

EmulsiPred

Prediction of Emulsifying Peptides, based on protein sequences (in fasta format) and their corresponding results from NetSurfP-2 (http://www.cbs.dtu.dk/services/NetSurfP/). The NetSurfP-2 file should be in the NetSurfP-1 Format (retrieved when clicking 'Export All' in the upper right side of NetSurfP's 'Server Output' window).

Prerequisites and installation

The package can either be cloned from github and installed locally or installed with pip. In both cases, python-3.6 or higher needs to be installed on your PC. Additionally, it is recommended to install the package in a new environment.

The following commands are run in the command line.

1: Set up a new environment.

    python3 -m venv EmulsiPred_env

2: Enter (activate) the environment.

    source EmulsiPred_env/bin/activate

3a: Install EmulsiPred within the activated environment with pip.

    pip install EmulsiPred

3b: Install EmulsiPred by installing from github with pip.

    pip install "git+https://github.com/MarcatiliLab/EmulsiPred.git"

After either running 3a or 3b EmulsiPred is installed within the activated environment (in our case EmulsiPred_env).


Running EmulsiPred

After installation, EmulsiPred can be run from the terminal or within a python script.

As mentioned above, EmulsiPred requires 2 inputs.

  1. A fasta file containing the protein sequences to check for emulsifiers (termed sequence.fsa) or a NetSurfP file containing secondary structure information of the sequences in sequence.fsa (termed netsurfp.txt)
  2. Whether the input is a netsurfp file
  3. Whether the input are peptides (and therefore shouldn't be cleaved into peptides)

Additionally, there are also 3 variable parameters.

  1. o (out_dir): Output directory (default is the current directory).
  2. nr_seq: Results will only include peptides present in this number of sequences or higher (default 1).
  3. ls (lower score): Results will only include peptides with a score higher than this score (default 2).

EmulsiPred can be run directly in the terminal with the following command.

    python -m EmulsiPred -s path/to/sequence.fsa -n False -p False -o path/to/out_dir --nr_seq 1 --ls 2

Furthermore, it can be imported and run in a python script.

import EmulsiPred as ep

ep.EmulsiPred(sequences='path/to/sequence.fsa', netsurfp_results=False, peptide=False, out_dir='path/to/out_dir', nr_seq=1, lower_score=2)

Interpretation of predictions

The predicted values are a relative ordering of the peptides by chance of being an emulsifier. In other words, a higher score implies a higher chance of being an emulsifier.

Project details


Download files

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

Source Distribution

EmulsiPred-0.0.2.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

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

EmulsiPred-0.0.2-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file EmulsiPred-0.0.2.tar.gz.

File metadata

  • Download URL: EmulsiPred-0.0.2.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for EmulsiPred-0.0.2.tar.gz
Algorithm Hash digest
SHA256 92b008128688b58970cfadc4c99912680163c64af108067a456f5a0ae21ec80a
MD5 48c225874066736df2ed88b759b63c7e
BLAKE2b-256 52edd75795d8710485875c548735194f71f18258f8725da7fa265f2dab48cb2d

See more details on using hashes here.

File details

Details for the file EmulsiPred-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: EmulsiPred-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for EmulsiPred-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2eac2f502a7ec1e210e3163874bfa8f6430fd3502cf1b8eb966a599ec90ebeb5
MD5 6baba22c08733bae6d74aac7ef146249
BLAKE2b-256 c8c2a94bdbccbab14d46c39054ffe73b17ae28e8289a0df6b1c62946e6be11c6

See more details on using hashes here.

Supported by

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