Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

basic scaffold for Caf and Maf parsers

  • Loading branch information...
commit b45c3db2ed4665a79d554271c4c3c057ffec597e 1 parent 89f7522
@fstrozzi fstrozzi authored
Showing with 30 additions and 0 deletions.
  1. +15 −0 lib/bio-assembly/caf.rb
  2. +15 −0 lib/bio-assembly/maf.rb
View
15 lib/bio-assembly/caf.rb
@@ -0,0 +1,15 @@
+module Bio
+ class Assembly
+ class Caf < Bio::Assembly
+
+ # register parser with superclass
+ register_parser :caf
+
+ def initialize(path)
+ @file = File.new(path, 'r')
+
+ end
+
+ end # end Caf
+ end # end Assembly
+end # end Bio
View
15 lib/bio-assembly/maf.rb
@@ -0,0 +1,15 @@
+module Bio
+ class Assembly
+ class Maf < Bio::Assembly
+
+ # register parser with superclass
+ register_parser :maf
+
+ def initialize(path)
+ @file = File.new(path, 'r')
+
+ end
+
+ end # end Maf
+ end # end Assembly
+end # end Bio
Please sign in to comment.
Something went wrong with that request. Please try again.