Git Product home page Git Product logo

gene-view's Introduction

About gene view

Abstract

"gene view" is a viewer for the Human genome data (Human Genome, UCSC hg.19) with accessing to the DAS (The Distributed Annotation System) server in UCSC. This gallary shows visualization for data of refGene and knowGene that can get with "type" command of the DAS protocol. http://genome.ucsc.edu/cgi-bin/das/hg19/features?segment=1:500000,900000;type=refGene;type=knownGene; This viewer shows the exon-intron structures and you can browse data with your mouse drag. When you drag your mouse horizontally, the shown area of genome will be moved. When you drag your mouse vertically, the zoom level of genome will be changed. When you mouse-over an object, you can see the annotation (name) of the object.

Inside of Program

  1. It automatically get the data from the UCSC Human annotation DAS server and stores to a local machine cache (GeneView.java, GeneLoader.java).
  2. The data which is XML format is read and parsed, and is stored to objects (GeneXMLParser.java, Exon.java, Gene.java).
  3. After that, the data is set to the appropriate position according to the base pairs (GeneView.java).
  4. To draw the data, it uses the Rect method for each element (GeneElement.java).
  5. It also uses Mouseover to objects (GeneElement.java). When the mouse is on the objects, it shows the annotation name (refGene name or knownGene name) (GeneView.java).
  6. It also visualize the scale (basepairs) to show which area is shown.
  • For download via HTTP, it uses casmi.net.HTTP
  • For caching the data, it uses casmi.util.FileUtil and casmi.io.Reader
  • For parsing downloaded XML data, it uses casmi.parser.XMLElement
  • For drawing exons and introns, it uses casmi.element.Rect
  • For detecting mouse hits, it uses casmi.graphics.element.Mouseover
  • For drawing text, it uses casmi.element.Text and casmi.font.Font

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.