Skip to main content

A package that consists of functions for calculating epitope/peptide features for prediction purposes (Feature calculation/extraction)

Project description

Pepfeature

A package that consists of functions for calculating epitope/peptide features for prediction purposes

What is it

Pepfeature is a Python package providing routines for calculating peptide features on a given amino acid sequence. These features can be used for macine learning purposes such as classification for epitiope prediction.

Pepfeature Requirements

Required Software/Tools:

  • Python 3.8

Required Package Dependencies:

  • panadas
  • numpy
  • setuptools
  • openpyxl

Installation

pip install Pepfeature

(All missing dependancies are expected to be installed asswell with this 'pip install'.) The source code is currently hosted on GitHub at: https://github.com/essakh/pepfeature

Example Use

NOTE: The Github contains an 'examples.py' with many example use cases

Example:

import pepfeature as pep
import pandas

df = pd.read_csv('pepfeature/data/Sample_Data.csv')

#Use of pepfeature
if __name__ == '__main__':
    #Calculate all features on df
    df_feat = pep.aa_all_feat.calc_df(dataframe=df, aa_column='Info_window_seq', Ncores=4, k=2)

    print(df_feat)

How to use it

Ensure at all times that any lines of code that utilize this package are encapsulated within the code block.

if __name__ == '__main__':

Please see pepfeature/examples.py for example use cases.

Also see the attached API of each function/ algorithm, for a complete documentation.

Contributing to pepfeature

All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.

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

Pepfeature-1.0.7.tar.gz (63.8 kB view hashes)

Uploaded Source

Built Distribution

Pepfeature-1.0.7-py3-none-any.whl (73.1 kB view hashes)

Uploaded Python 3

Supported by

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