Skip to main content

Predicts the antibody residues that will make contact with the antigen and the type of interaction using a Convolutional Neural Network.

Project description

proABC-2

PyPI - License PyPI - Status PyPI - Python Version ci Codacy Badge Codacy Badge

proabc2 logo

Predicts the antibody residues that will make contact with the antigen and the type of interaction using a Convolutional Neural Network (CNN).

Installation

proABC-2 is available on PyPI and can be installed using pip:

pip install proabc-2

It also depends on two third-party software, HMMER and IGBLAST, check the third-party section for more information.

Example

Set up the data to run the example:

  • Create a folder named proabc2-prediction in the root directory.
mkdir proabc2-prediction
  • Create a heavy and light fasta file inside proabc2-prediction with the following content:
echo ">APDB_H\nEVQLVESGGGLVQPGGSLRLSCAASGYTFTNYGMNWVRQAPGKGLEWVGWINTYTGEPTYAADFKRRFTFSLDTSKSTAYLQMNSLRAEDTAVYYCAKYPHYYGSSHWYFDVWGQGTLVTVSS" > proabc2-prediction/heavy.fasta
echo ">APDB_L\nDIQMTQSPSSLSASVGDRVTITCSASQDISNYLNWYQQKPGKAPKVLIYFTSSLHSGVPSRFSGSGSGTDFTLTISSLQPEDFATYYCQQYSTVPWTFGQGTKVEIKRTV" > proabc2-prediction/light.fasta
  • Execute proabc-2:

The input is in the following format:

proabc2 <input-folder> <heavy-fasta-filename> <light-fasta-filename>

So in this example:

proabc2 proabc2-prediction/ heavy.fasta light.fasta

The output will be in the same folder as the input files, named as heavy-pred.csv and light-pred.csv.

They consist of several columns:

  • Chothia: position of the residue according to the Chothia numbering scheme
  • Sequence: residue type for each position
  • pt: probability of making a general interaction with the antigen
  • hb: probability of making a hydrogen bonds with the antigen
  • hy: probability of making a hydrophobic interaction with the antigen
Chothia Sequence pt hb hy
1 E 0.23 0.17 0.24
2 V 0.23 0.15 0.23
3 Q 0.14 0.14 0.16
... ... ... ... ...
$ head proabc2-prediction/*pred.csv
==> proabc2-prediction/heavy-pred.csv <==
,Chothia,Sequence,pt,hb,hy
0,1,E,0.24,0.18,0.24
1,2,V,0.25,0.15,0.25
2,3,Q,0.16,0.16,0.17
3,4,L,0.14,0.14,0.17
4,5,V,0.14,0.15,0.15
5,6,E,0.16,0.16,0.16
6,7,S,0.14,0.16,0.13
7,8,G,0.17,0.13,0.16
8,9,G,0.14,0.14,0.15

==> proabc2-prediction/light-pred.csv <==
,Chothia,Sequence,pt,hb,hy
0,1,D,0.25,0.18,0.2
1,2,I,0.23,0.15,0.2
2,3,Q,0.15,0.16,0.17
3,4,M,0.15,0.14,0.15
4,5,T,0.16,0.15,0.16
5,6,Q,0.15,0.16,0.14
6,7,S,0.15,0.14,0.12
7,8,P,0.15,0.14,0.13
8,9,S,0.14,0.14,0.14

proABC-2 also accepts the DNA sequences of the antibody chains and uses the Biopython Seq module for the translation into protein sequences.

Citation

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

proabc_2-0.1.1.tar.gz (5.8 MB view hashes)

Uploaded Source

Built Distribution

proabc_2-0.1.1-py3-none-any.whl (5.8 MB 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