bio-linux development environment joe wood. development on bio-linux ● programming languages ●...

12
Bio-Linux Development Environment Joe Wood

Upload: dwight-wilson

Post on 21-Dec-2015

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Bio-Linux Development Environment

Joe Wood

Page 2: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Development on Bio-Linux● Programming Languages● Database management systems● Apache web server● Example – EGTDC Admin database● Bio-Linux and GRID

Page 3: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Programming Languages● Perl/Bioperl● PHP● Python● Java● C/C++

Page 4: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Perl● Practical Extraction and Report Language● Widely used in Bioinformatics● Open-source – perl modules● One-off tasks or larger applications

Page 5: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Bioperl● Bioinformatics modules● Installed on Bio-Linux

use Bio::Perl;

$seq_object = get_sequence('swissprot',"ROA1_HUMAN");

$blast_result = blast_sequence($seq_object);

write_blast(">roa1.blast",$blast_report);

Page 6: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Databases● Relation Database Management System● Structured Query Language – SQLselect first_name,last_name

from staff_names

where first_name = 'Bob'

● PostgreSQL● MySQL

Page 7: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Apache Web Server● Web server installed in Bio-Linux● Web pages (HTML)● Web applications● Perl CGI, PHP, Databases

Page 8: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

EGTDC Admin Database● Web application developed on Bio-Linux● PostgreSQL Database● PHP web front-end● EG Awardees and projects, Bio-Linux

clones,GeneSpring Installs, Courses and Course attendees

Page 9: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

EGTDC Admin database

Database Web Server Browser

SQL PHP HTML

Page 10: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Example of PHP code // generate and execute a query

$query = "SELECT distinct category ".

"FROM query_defs";

$result = pg_exec($connection, $query) or die("Error in query:

$query. " . pg_last_error($connection));

$rows = pg_numrows($result);

// if records present

if ($rows > 0){

?><TABLE><? // iterate through resultset

for ($i=0; $i<$rows; $i++){

$row = pg_fetch_row($result, $i);

?>

<FORM ACTION="<?php echo $_SERVER['PHP_SELF'] ?>" METHOD="POST" >

<TR ALIGN=LEFT VALIGN=TOP> .............................................

Page 11: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Bio-Linux and Grid● Sharing of resources● Clusters● Condor job scheduler

Page 12: Bio-Linux Development Environment Joe Wood. Development on Bio-Linux ● Programming Languages ● Database management systems ● Apache web server ● Example

Bio-Linux Clustering● Bio-Linux – Condor integrated● Condor currently in testing● BLAST searches have been run across

multiple machines● Site cluster ~1 year● Interconnect Bio-Linux clones – cluster