Skip to content

"gene view" is a viewer for the Human genome data with accessing to the DAS server in UCSC. This is one of the grallery projects of casmi.

Notifications You must be signed in to change notification settings

federkasten/gene-view

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

"gene view" is a viewer for the Human genome data with accessing to the DAS server in UCSC. This is one of the grallery projects of casmi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%