BioRuby is a package of Open Source Ruby code, with classes for DNA and protein sequence analysis, alignment, database parsing, and other Bioinformatics tools.
To run this softwar in a Linux environment run the commands:
module load bioruby bioruby
BioRuby has a number of modules that can be used in your Ruby scripts. Writing Ruby scripts is outside the scope of this document, but below is a small example of how to read and print sequence data from a file:
#!/usr/bin/env ruby require 'bio' file=Bio::FastaFormat.open(ARGV.shift) file.each_entry do |f| puts "Sequence: " + f.seq end
More information, including documentation and tutorials, may be found at the the BioRuby homepage.