Git Product home page Git Product logo

renumbering-atoms-'s Introduction

Renumbering-Atoms-

Introduction

Here is demonstrated a set of two scripts, one for renumbering and one for sorting. The goal of these scrips is to take in a big dataset of peptide molecules in a mol2 format and renumber the atoms and sort after renumbering to set specific atom constraints in docking simulations.

How it works

So using fragment based discovery we were able to predict that the functional group hydroxylamine was able to bind into the binding of our protein. So knowing that we began to construct the rest of the molecule with this core foundation built into.

In our computational data we have two examples of using these scripts too acomplish the specific renumbering. Two patterns of data of O, H, H2, O and O, N, H, O. In both cases we wanted the oxygens to bind into the core structure for activity. To set this constraint we can set the atom numbers to bind into a specific region. The problem associated with this was that these mol2 files have 97,116 molecules confided in one file and each molecule has a varying length which poses as a problem for the numbering because each atom is a different number.

The first python code takes in the data file and looks for the specific pattern we implemented for the core functional group

#Pattern Number 1

#Pattern Number 2

Next we renumber the atoms that we care for, in our case the two oxygens and renumber them to 7 and 8 respectively and swapped the numbers that were originally the two oxygen numbers.

Or the similiar pattern demonstrated before in Pattern Number 2 and renumbers the atoms. After that our sorting code ran through and resorted the atoms.

A quick solution to renumbering atoms of interested based on patterns of data. Manually changing 97,116 molecules by hand for us would be tedious so a quick script remedies that.

A time score was tallied up for our data set and it takes about 0.003 seconds per molecule. With our 97116 molecule data set it took 2.5 hours.

The program efficiency is O(n squared)

Todos

  • [] User can manually change in the code the atoms they would like to renumber
  • [] Program needs to find a pattern of data similiar and make recommendations
  • [] Needs to be refactored to deal with high volume data

renumbering-atoms-'s People

Contributors

pellecchiagroup avatar sulstice avatar

Watchers

 avatar  avatar  avatar  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.