Sha256: cc1b4c507677c9c755caf675ef5cbc19953101a2932ee6356d0e4ea25be9322a

Contents?: true

Size: 680 Bytes

Versions: 28

Compression:

Stored size: 680 Bytes

Contents

require "seqtrim_action"

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

class ActionInducedLowComplexity < 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} " 
#   
# end  


def apply_decoration(char)
  return char.red.bold
end  


end

Version data entries

28 entries across 28 versions & 1 rubygems

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