Ruby-IGV

Gem Version Docs Latest The MIT License

Using Integrative Genomics Viewer (IGV) with the Ruby language.

Based on brentp/bio-playground/igv.

Installation

gem install ruby-igv

Usage

igv = IGV.new
igv.genome 'hg19'
igv.load   'http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeUwRepliSeq/wgEncodeUwRepliSeqK562G1AlnRep1.bam'
igv.go     'chr18:78,016,233-78,016,640'
igv.save   '/tmp/r/region.svg'
igv.save   '/tmp/r/region.png'
igv.send   'echo' #whatever

Contributing

License

The gem is available as open source under the terms of the MIT License.