Class: Bio::Sequence::Format::Formatter::Qual
- Inherits:
-
Fasta_numeric
- Object
- Bio::Sequence::Format::FormatterBase
- Fasta_numeric
- Bio::Sequence::Format::Formatter::Qual
- Defined in:
- lib/bio/db/fasta/format_qual.rb
Overview
INTERNAL USE ONLY, YOU SHOULD NOT USE THIS CLASS. Simple Qual format (sequence quality) output class for Bio::Sequence.
Instance Method Summary collapse
-
#initialize ⇒ Qual
constructor
INTERNAL USE ONLY, YOU SHOULD NOT CALL THIS METHOD.
Methods inherited from Fasta_numeric
Methods inherited from Bio::Sequence::Format::FormatterBase
Constructor Details
#initialize ⇒ Qual
INTERNAL USE ONLY, YOU SHOULD NOT CALL THIS METHOD.
Creates a new Qual format generater object from the sequence.
The only difference from Fastanumeric is that Qual outputs Phred score by default, and data conversion will be performed if needed. Output score type can be changed by the “:quality_score_type” option.
If the sequence have no quality score type information and no error probabilities, but the score exists, the score is regarded as :phred (Phred score).
Arguments:
-
sequence: Bio::Sequence object
-
(optional) :header => header: (String) (default nil)
-
(optional) :width => width: (Fixnum) (default 70)
-
(optional) :quality_score_type => type: (Symbol) (default nil)
-
(optional) :default_score => score: (Integer) default score for bases that have no valid quality scores or error probabilities (default 0)
105 |
# File 'lib/bio/db/fasta/format_qual.rb', line 105 def initialize; end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bio::Sequence::Format::FormatterBase