Sha256: 28ff4762e806fe790ce497f02c4b48dd8255a01814a94704954bfbc24cfbaf11

Contents?: true

Size: 837 Bytes

Versions: 11

Compression:

Stored size: 837 Bytes

Contents

require "seqtrim_action"

########################################################
# Author: Almudena Bocinos Rioboo                      
# 
# Defines the main methods that are necessary to execute PluginActionLowHighSize                                                     
# Inherit: Plugin
########################################################

class ActionLowQuality < SeqtrimAction    
  
  def initialize(start_pos,end_pos)
     super(start_pos,end_pos)    
     @cut =false

   end
   
# def apply_to(seq)
#   
#    # seq.seq_fasta = seq.seq_fasta.slice(start_pos,end_pos)
#    $LOG.debug " Applying #{self.class}  to #{seq.seq_name} . This sequence will be ignored due to low quality " 
#    #delete sequence if it was created
#    
#   
# end   


  def apply_decoration(char)
    return char.downcase.on_white
  end 


end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
seqtrimnext-2.0.42 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.41 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.39 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.38 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.36 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.35 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.33 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.32 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.31 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.30 lib/seqtrimnext/actions/action_low_quality.rb
seqtrimnext-2.0.29 lib/seqtrimnext/actions/action_low_quality.rb