Sha256: bcab4e9c0c6605a5141ac81c2a9b88145a5e7da4da9e4ca28746a1054beb644a

Contents?: true

Size: 767 Bytes

Versions: 28

Compression:

Stored size: 767 Bytes

Contents

require "seqtrim_action"

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

class ActionKey < SeqtrimAction
      
   def initialize(start_pos,end_pos)
     super(start_pos,end_pos)    
     @cut =true 
   end

  # def apply_to(seq)
  #  
  #    # seq.seq_fasta = seq.seq_fasta.slice(start_pos,end_pos)
  #    $LOG.debug " Applying #{self.class} to seq #{seq.seq_name} . BEGIN: #{@start_pos}   END: #{@end_pos}  " 
  #  
  #  end    

def apply_decoration(char) 
  return char.on_yellow
  
end       


end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
seqtrimnext-2.0.68 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.66 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.62 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.61 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.60 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.59 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.57 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.56 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.55 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.54 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.52 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.51 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.50 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.49 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.48 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.46 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.45 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.42 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.41 lib/seqtrimnext/actions/action_key.rb
seqtrimnext-2.0.39 lib/seqtrimnext/actions/action_key.rb