GithubHelp home page GithubHelp logo

stuart-bradley / bioinf_crispr_search Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 54.53 MB

Rails search engine for CRISPR sequences

Ruby 68.85% JavaScript 2.21% CoffeeScript 0.47% CSS 1.69% HTML 16.85% Python 9.93%

bioinf_crispr_search's Introduction

CRISPR Search

A somewhat specific tool that uses user inputed sequence (or fasta files), to locate CRISPR sequences inside either E. Coli or a specific Clostridium strain.

Example

Initalizing CRISPR Search

The web application itself is a simple Rails App and requires no more setup than:

db:setup

The initial seed process will take some time. What happens is the seed file processes a CSV where each row is a CRISPR sequence of length 14 or length 20, into seperate databases. Each row also contains a small amount of meta-data to help distingish leading and lagging strands.

Adding New Organisms

To add a new organism to the search system, four things need to happen:

  1. Inside /lib/data/ there is a file called NGG20.py. This file takes a fasta file of sequence and finds all CRISPR sequences, before outputting to a CSV file.
  2. The seeds.rb file needs to be updated to add the newly created CSV file. This can easily be done by changing the file name in the seed file to the new CSV.
  3. A new checkbox needs to added to /app/views/layouts/application.html.erb/. It is a relatively straight-forward process, and the code in the file can be reused. The number parameter that is sent to the controller will need to be the same as the genome id in the database..
  4. The controller in /app/controllers/mer20s_controller.rb/ must be modifed to do the search based on the new parameter. Currently, it is designed for two genomes, but could easily be expanded for many more.

bioinf_crispr_search's People

Contributors

stuart-bradley avatar

Watchers

 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.