Git Product home page Git Product logo

compgo-geoduck-public's Introduction

Source Code for GO Analysis in Geoduck Gonad Background

Note A running version of this web application is available at http://yeastrc.org/compgo_geoduck/pages/goAnalysisForm.jsp These files are provided so that underlying source code doing the analysis may be reviewed.

About the source code

The Java source files for the web application are available in the web-application directory.

The primary file for performing the analysis is in the org/yeastrc/compgo/geoduck/analysis/AnalyzedGOTreeMaker.java file.

A number of Java libraries required to run the web application, but not directly related to the analysis, are not included in this repository for licensing reasons. These libraries are:

  • Several Apache commons libraries: beanutils, collections, dbcp, digester, lang, logging, pool, and validator.
  • Java Advanced Imaging libraries.
  • MySQL Connector
  • yFiles library for generating the graph image (commercial).

About the database

The Java code requires a MySQL database with two tables: go_annotation and go_protein_counts. The go_annotation table holds the GO annotations associated with protein accession strings, and go_protein_counts are the cached counts for the number of protenis associated with GO terms. The table definitions are:

CREATE TABLE `go_protein_counts` (
  `go_acc` varchar(255) NOT NULL,
  `count` int(11) DEFAULT NULL,
  PRIMARY KEY (`go_acc`)
) 
CREATE TABLE `go_annotation` (
  `db` varchar(255) NOT NULL,
  `db_object_id` varchar(255) NOT NULL,
  `db_object_symbol` varchar(255) NOT NULL,
  `qualifier` varchar(255) DEFAULT NULL,
  `go_id` varchar(255) NOT NULL,
  `db_reference` varchar(2000) NOT NULL,
  `evidence_code` varchar(255) NOT NULL,
  `with_or_from` varchar(255) DEFAULT NULL,
  `aspect` varchar(255) NOT NULL,
  `db_object_name` varchar(2000) DEFAULT NULL,
  `db_object_synonym` varchar(2000) DEFAULT NULL,
  `db_object_type` varchar(255) NOT NULL,
  `taxon` varchar(255) NOT NULL,
  `date` varchar(255) NOT NULL,
  `assigned_by` varchar(255) NOT NULL,
  KEY `db` (`db`,`db_object_id`),
  KEY `db_object_id` (`db_object_id`),
  KEY `go_id` (`go_id`),
  KEY `qualifier` (`qualifier`),
  KEY `aspect` (`aspect`)
)

Populating the go_annotation table

The go_annotation table must be pre-populated to perform the analysis. In this study, this table was populated using this method:

  1. Download GO annotations from Uniprot (http://www.uniprot.org/downloads). Download gene_association.goa_uniprot
  2. Parse file into a temporary go_annotation table The columns in the database table (using the table definition above) and file should match. Can be imported using LOAD DATA INFILE. In this example, data were loaded into compgo_uniprot.go_annotation.
  3. The Perl script in perl_scripts/populateGOAnnotations.pl was run, which uses the BLAST mapping of the geoduck proteins to Uniprot to create a go_annotation table containing the geoduck protein accession strings associated with the GO annotations for the Uniprot BLAST hits.

compgo-geoduck-public's People

Contributors

mriffle avatar

Watchers

 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.