#

mitab (MITab file parser)

I built a ruby-gem “mitab” that helps in parsing a PSI-Mitab file.

todo: I have been working on “Port NMatrix to JRuby” as my GSoC project. I am pleased to announce that JRuby is ready for Nmatrix users.

NMatrix, a linear algebra library wraps Apache Commons Maths for its core functionalities. By the end of GSoC, I have been able to implement NMatrix for dense matrices with double and object ( ruby objects ) data type. I have also worked on porting mixed-models gem to JRuby which heavily uses NMatrix at its core.

Installing the gem:

$ gem install mitab

Working with the gem:

require 'mitab'

text = open(filename) { |f| f.read }
m = Mitab::MitabParser.new(text)

m.print
puts m.mitab
puts m.nodes
puts m.scores
puts m.links

Check out the Mitab Gem. File all bugs/feature requests at Mitab’s GitHub repo. If you have questions, you can mail them to prasunanand.bitsp@gmail.com

#
Subscribe for exclusive

news and updates!