Sha256: d6558e8ea5e78db24f818c8906fbc0a2329c7e970fe311a4a49c97443c83ec3f

Contents?: true

Size: 780 Bytes

Versions: 28

Compression:

Stored size: 780 Bytes

Contents

require "seqtrim_action"

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

class ActionAbAdapter < 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} . BEGIN: #{@start_pos}   END: #{@end_pos}  " 
#   
# end   

def apply_decoration(char) 
  return char.magenta.underline
  
  #  return char.magenta.negative
end  


end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
seqtrimnext-2.0.38 lib/seqtrimnext/actions/action_ab_adapter.rb
seqtrimnext-2.0.36 lib/seqtrimnext/actions/action_ab_adapter.rb
seqtrimnext-2.0.35 lib/seqtrimnext/actions/action_ab_adapter.rb
seqtrimnext-2.0.33 lib/seqtrimnext/actions/action_ab_adapter.rb
seqtrimnext-2.0.32 lib/seqtrimnext/actions/action_ab_adapter.rb
seqtrimnext-2.0.31 lib/seqtrimnext/actions/action_ab_adapter.rb
seqtrimnext-2.0.30 lib/seqtrimnext/actions/action_ab_adapter.rb
seqtrimnext-2.0.29 lib/seqtrimnext/actions/action_ab_adapter.rb