title: SVGenes: a library for rendering genomic features in scalable vector graphic format.
abstract: BACKGROUND
  Drawing genomic features in attractive and informative ways is a key task in visualization of genomics data. Scalable Vector Graphics (SVG) format is a modern and flexible open standard that provides advanced features including modular graphic design, advanced web interactivity and animation within a suitable client. SVGs do not suffer from loss of image quality on re-scaling and provide the ability to edit individual elements of a graphic on the whole object level independent of the whole image. These features make SVG a potentially useful format for the preparation of publication quality figures including genomic objects such as genes or sequencing coverage and for web applications that require rich user-interaction with the graphical elements.
  
  
  RESULTS
  SVGenes is a Ruby-language library that uses SVG primitives to render typical genomic glyphs through a simple and flexible Ruby interface. The library implements a simple Page object that spaces and contains horizontal Track objects that in turn style, colour and positions features within them. Tracks are the level at which visual information is supplied providing the full styling capability of the SVG standard. Genomic entities like genes, transcripts and histograms are modelled in Glyph objects that are attached to a track and take advantage of SVG primitives to render the genomic features in a track as any of a selection of defined glyphs. The feature model within SVGenes is simple but flexible and not dependent on particular existing gene feature formats meaning graphics for any existing datasets can easily be created without need for conversion.
  
  
  BACKGROUND
  The library is provided as a Ruby Gem from https://rubygems.org/gems/bio-svgenes under the MIT license, and open source code is available at https://github.com/danmaclean/bioruby-svgenes also under the MIT License.
  
  
  BACKGROUND
  dan.maclean@tsl.ac.uk.
authors.affiliation: The Sainsbury Laboratory, Norwich Research Park, Norwich, NR4 7UH, UK.
authors.forename: Graham J
authors.initials: GJ
authors.lastname: Etherington
authors.forename: Daniel
authors.initials: D
authors.lastname: MacLean
mesh_terms: D003196:Computer Graphics; D023281:Genomics / Q000379:methods*; D020407:Internet; D012984:Software