Giter VIP home page Giter VIP logo

multiple-sequence-alignment's Introduction

Multiple Sequence Alignment

The object of this python code is multiply align three sequences using a 3-D Manhattan Cube with each axis representing a sequence.

The edges of the cube are 7 and thus can be represented mathematically like so

Geometric View Mathematical View

The run time of the algorithm is O(n^3), which did not scale well with the language of python. Initially, the matrix data was stored in lists of lists which proved to be slow with the algorithm by processing one triple base alignment every 2-3 seconds. In short sequences this can prove to be viable since it is easy code to write and learn from. With sequences upwards of 1000 it would take 24 hours.

To increase processing time, in this code is implemented a time-saving recursion algorithm to approach the center of the cube from two different entry points and ultimately align the sequences together.

Although this saved time, due to the algorithm's current nature it still did not resolve the scaling issue and python parallel processing can be more than troublesome to implement.

multiple-sequence-alignment's People

Contributors

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.