lib/bioinform/parsers/motif_splitter.rb in bioinform-0.2.0 vs lib/bioinform/parsers/motif_splitter.rb in bioinform-0.2.1
- old
+ new
@@ -15,10 +15,10 @@
# strings represents a motif. Motifs exclude splitter but include motif
# start, thus one can divide input both by lines which will be dismissed
# and by lines which will be retained.
#
class MotifSplitter
- attr_reader :start_motif_pattern, :spliiter
+ attr_reader :start_motif_pattern, :splitter_pattern
def initialize(options={})
@start_motif_pattern = options.fetch(:start_motif_pattern, /^\s*([^-+\s\d.]+|>.*)/)
@splitter_pattern = options.fetch(:splitter_pattern, /^\s*$/)
end