PyProt (short for Python Proteins) is a python package with libraries designed to represent and manipulate proteins.
Here is an overview of the sub-packages and the libraries they contain:
basecontains basic representation classesaminoaciddefines theAminoAcidclass which represents a single amino acidsequencerepresents an amino acidSequence(or protein) and works as a pythonlist
datacontains parsers for standard data filesfastaparses and saves.fastafiles which contain proteinsdsspparses and saves.dsspfiles which contain score matrices
aligncontains classes that align proteins together and represent the resultsaligndefines theAlignclass which aligns sequences together, andAlignedwhich stores the alignment resultsblosumcreates scoring matrices with theBLOSUMalgorithmscorerepresents scoring matrices, both position-specific (PSSM) and not (ScoreMatrix)
structureimplements algorithms that can be trained on data sets to issue structure predictions for new proteinsGORimplements theGOR.3algorithm for structure prediction
In order to use this package, you'll need a working version of Python 3.3 or later installed, as well as pip.
The installation process will automatically install all of the package's dependencies, which are listed in the setup-req.txt file.
You can install Pyprot in the following ways (make sure you use a Python 3 version of pip):
- By executing the following in your command line
pip install git+https://github.com/StanIsAdmin/PyProt.git --user
- By downloading the package's source code here, unzipping it and then running
pip install <downloaded-code-path> --user
Not sure what's in the box yet ? Check the online documentation.
The source code is documented in the standard docstring format, so its documentation will appear automatically if you use an editor that supports that format (which really means any editor but vim).
Working examples are provided in the examples/ folder of the repository, with code and explanations embedded inside jupyter notebook files. You can read them from GitHub, but in order to run them yourself, you'll need to install Jupyter.
Anyone is welcome to contribute by submitting a pull request or by opening new issues.