Skip to main content

BioInterface is a Biopython based package that extracts Protein-Nucleic Acid interfaces in a PDB entity.

Project description

https://img.shields.io/pypi/v/biointerface.svg Documentation Status Coverage Status

BioInterface is a Biopython based package that extracts Protein-DNA interfaces in a PDB structures.

Get Started

This is a little tutorial on how to use the BioInterface package.

The official release is found in the Python Package Index (PyPI)

$ pip install biointerface

You can extract all Protein-Nucleic acids interfaces from an entire structure.

from Bio.PDB.PDBList import PDBList
from Bio.PDB.MMCIFParser import MMCIFParser
from biointerface import InterfaceBuilder

# retrive file from PDB using Biopython
pdbl = PDBList()
pdbl.retrieve_assembly_file(pdb_code="1A02", assembly_num=1, pdir=".")
# ... or else use your own

# parse and build structure with Biopython
parser = MMCIFParser()
structure = parser.get_structure(
    structure_id="1A02", filename="1a02-assembly1.cif"
)

face_builder = InterfaceBuilder(search_radius=4.0)
face_list = face_builder.build_interfaces(entity=structure)
face_list
[<Interface chains=N:B contacts=143 search_radius=4.0>,
 <Interface chains=F:AB contacts=73 search_radius=4.0>,
 <Interface chains=J:AB contacts=59 search_radius=4.0>]

Check the official documentation for more information.

Features

  • Extract all Protein-DNA interfaces in a PDB entity, be it structure, model or chain;

  • Get all interacting residues in a interface, from protein and nucleic acids;

  • Get all interacting atoms in a interface, from protein and nucleic acids;

  • Interface data as pandas DataFrame;

  • Get nucleic acid binding protein;

  • Get nucleic acid binding domain;

  • Get all protein-bound nucleic acids;

  • Get all protein-bound double stranded nucleic acids;

  • Get all continous protein-bound nucleic acids. The minimum nucleic subsequence, which contains all protein-bound nucleotides;

  • Get all continous protein-bound double strand nucleic acids. The minimum nucleic subsequence, which contains all protein-bound base pairs;

  • Optionally fuse together polypeptides coming from a single protein chain;

To Do

  • let’s discuss some features, idk if we should implement them * Extract interfaces from given polypeptide * Extract interfaces from given nucleic acid * Extract interfaces from given double strand nucleic acid * Extract interfaces from given proteic atoms * Extract interfaces from given nucleic atoms * Maybe instead of given proteic or nucleic atoms, just make a Selector class or whatever to filter contacts and rebuild

  • Add padding as init parameter for interface builder. For binding domain and nucleic acids

  • Maybe fuse together methods of obtaining trimmed and non-trimmed stuff, with something like a trimmed: bool flag. The trimmed can also add padding or trim even more. Idk, discuss

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

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

biointerface-1.3.0.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

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

biointerface-1.3.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file biointerface-1.3.0.tar.gz.

File metadata

  • Download URL: biointerface-1.3.0.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for biointerface-1.3.0.tar.gz
Algorithm Hash digest
SHA256 1b3edea0183daebbb49781cf9ecba00ae41ea65e312c9a65e8af1a8ab71a0172
MD5 19bfec1ca3e1427660a54cfb6488162c
BLAKE2b-256 049d1773585da0b7a2c95134fd54fd0a5e8ac0771f398881980c08480709fdca

See more details on using hashes here.

File details

Details for the file biointerface-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: biointerface-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for biointerface-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3c9f7a442f3fcde00cbdae0cfe31eeae0915bb8cfeee1cbd23d41bb1dcf4b9
MD5 ec37f30209be17d40f6df49c68261f86
BLAKE2b-256 0085659bf7b134cb1b9f761bce157ee79dccc32798ff7100537ee6e41247291c

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