require "seqtrim_action" ######################################################## # Author: Almudena Bocinos Rioboo # # Defines the main methods that are necessary to execute PluginActionLowHighSize # Inherit: Plugin ######################################################## class ActionLowHighSize < 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 or high size " # #delete sequence if it was created # # # end def apply_decoration(char) return char.on_magenta end end