- case options[:trim]
- when /both/ then entry.quality_trim!(options[:min_qual], options[:min_len])
- when /left/ then entry.quality_trim_left!(options[:min_qual], options[:min_len])
- when /right/ then entry.quality_trim_right!(options[:min_qual], options[:min_len])
+ case trim
+ when :both then entry.quality_trim!(options[:min_qual], options[:min_len])
+ when :left then entry.quality_trim_left!(options[:min_qual], options[:min_len])
+ when :right then entry.quality_trim_right!(options[:min_qual], options[:min_len])