Sha256: 66336e6d5d98e4bf4a297d83c5585d198ba191a072b1be99d02fb77c23b9f87c

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

# Copyright 2014, 2015 Ryan Moore
# Contact: moorer@udel.edu
#
# This file is part of parse_fasta.
#
# parse_fasta is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# parse_fasta is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with parse_fasta.  If not, see <http://www.gnu.org/licenses/>.

require 'parse_fasta/version'
require 'parse_fasta/fasta_file'
require 'parse_fasta/fastq_file'
require 'parse_fasta/seq_file'
require 'parse_fasta/sequence'
require 'parse_fasta/quality'

module ParseFasta

  class Error < StandardError
  end

  # Error raised when FASTA file is malformed
  class DataFormatError < IOError
    def message
      "Data format error -- check input file"
    end
  end

  class SequenceFormatError < Error
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
parse_fasta-1.9.2 lib/parse_fasta.rb
parse_fasta-1.9.1 lib/parse_fasta.rb
parse_fasta-1.9.0 lib/parse_fasta.rb
parse_fasta-1.8.2 lib/parse_fasta.rb
parse_fasta-1.8.1 lib/parse_fasta.rb