Giter Club home page Giter Club logo

biocomp2's Introduction

Birkbeck Biocomputing II Skeleton Code

This provides some skeleton code for demonstrating how the three-layer model works for the Biocomputing II project.

Most importantly, it provides the required way in which files are expected to be laid out in the GitHib submission.

A good place to start would be to try this out.

  1. Create a file called config.sh using one of the config_xxxx.sh files as a template. At Birkbeck, you should just need to do cp config_bbk.sh config.sh. The values of html and cgi are the locations where you need to install your HTML files and CGI scripts.

  2. Create a file called cgi-biocomp2/config.py. You can use cgi-biocomp2/config_demo.py as a template. Change cgiURL to point to the path used to access a CGI script in a URL (at Birkbeck, something like /cgi-bin/cgiwrap/ab123/ (where ab123 is replaced by your username).

  3. Run the install script by typing ./install.sh

You should now be able to point your browser to the URL of the location in which you stored the HTML.


How to use this skeleton

  1. One member of your team must create a private repository on your GitHub account.

  2. Allow the other members of the team read/write access to the repository:

  • Click Settings (at the top)
  • Click Manage access (on the left)
  • Click Invite a collaborator
  • Add each of the members of your team

We will assume your GitHub username is JohnSmith and your repository is called BBKProject. Take the following steps:

git clone [email protected]:AndrewCRMartin/biocomp2.git
cd biocomp2
git remote rm origin
git remote add origin [email protected]:JohnSmith/BBKProject.git
git push -u origin master

You have now created your own repository which is a copy of this skeleton project and synchronized it with your own GitHub.

You can now all clone the repository to your own machines or unix accounts and edit the code. Don't forget to commit and push your changes back to GitHub regularly and remember to pull down other people's changes.


The code is organized into three main directories:

  • createdb This is where the code will live to parse the Genbank file and create the database

  • html This is where the HTML files live. If there is an alternative web front end then this would be in an html2 directory

  • cgi-biocomp2 This is where the CGI scripts and all the code for the different layers lives.

The cgi-biocomp2 directory contains three sub-directories that represent the three layers of code:

  • cgi-biocomp2/cgi contains the CGI scripts. If there is an alternative web front end then this would be in an directory called cgi-biocomp2/cgi2

  • cgi-biocomp2/bl contains the business layer code.

  • cgi-biocomp2/db contains the database access layer code.

The install.sh script in the top directory is a demonstration script that will copy the files to HTML and cgi-bin directories. See the instructions above for using these on the server at Birkbeck.

biocomp2's People

Contributors

andrewcrmartin avatar

Stargazers

 avatar Rachel A avatar fractaljoan avatar

Watchers

James Cloos 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.