Git Product home page Git Product logo

biographs's Introduction

biographs: Amino acid networks in Python

What is biographs?

Biographs is a python module converting structural files formats like pdb or cif into amino acid networks. It is written over the packages biopython and networkx. This allows for a flexible and powerful handling of both: protein networks and protein structures.

Notably biographs uses the great Bio.PDB module to construct the network given a cutoff distance. Here, the network is a networkx.Graph object, which allows high customization of the network and tons of tools for networks analysis.

To use biographs just type in a terminal:

	$ git clone https://github.com/rodogi/biographs.git

Here is an example to build the amino acid network of the cholera toxin (PDB id: 1eei):

import biographs as bg

molecule = bg.Pmolecule('1eei.pdb')
network = molecule.network()
network.nodes()[:10]
['G26', 'G27', 'G24', 'G25', 'G22', 'G23', 'G20', 'G21', 'G28', 'G29']

Required packages

biopython Great to read and work with structure files such as pdb found in the protein data bank. You can listen to the voices of three of the main contributors of biopython in this podcast.

networkx Has an extensive set of functions to deal with networks.

scipy Mainstream package for scientific computation, here used mainly for numpy and geometrical algorithms.

biographs's People

Contributors

rodogi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.