lib/seqtrimnext/plugins/plugin_low_quality.rb in seqtrimnext-2.0.57 vs lib/seqtrimnext/plugins/plugin_low_quality.rb in seqtrimnext-2.0.59
- old
+ new
@@ -117,10 +117,10 @@
def exec_seq(seq,blast_query)
if ((self.class.to_s=='PluginLowQuality') && seq.seq_qual.nil? )
$LOG.debug " Quality File haven't been provided. It's impossible to execute " + self.class.to_s
- elsif (seq.seq_qual.size>0)
+ elsif ((seq.seq_qual.size>0) && (@params.get_param('use_qual')=='true'))
$LOG.debug "[#{self.class.to_s}, seq: #{seq.seq_name}]: checking low quality of the sequence"
min_quality=@params.get_param('min_quality').to_i
min_length_inside_seq=@params.get_param('min_length_inside_seq').to_i