Sha256: 8858ca7c9d9af979d63e9129a9bb969089a6ac1bd4d940edf7252966f13a9b43
Contents?: true
Size: 315 Bytes
Versions: 2
Compression:
Stored size: 315 Bytes
Contents
require 'bioinform/support' require 'bioinform/parsers/string_parser' module Bioinform class StringFantomParser < StringParser def header_pat /NA (?<name>[\w.+:-]+)\n[\w\d]+ A C G T\n/ end def row_pat /[\w\d]+ (?<row>(#{number_pat} )*#{number_pat})\n?/ end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bioinform-0.1.6 | lib/bioinform/parsers/string_fantom_parser.rb |
bioinform-0.1.5 | lib/bioinform/parsers/string_fantom_parser.rb |