class ActionRightPrimer

Public Class Methods

new(start_pos,end_pos) click to toggle source
Calls superclass method SeqtrimAction::new
# File lib/seqtrimnext/actions/action_right_primer.rb, line 5
def initialize(start_pos,end_pos)
  super(start_pos,end_pos)
  @cut =true

end

Public Instance Methods

apply_decoration(char) click to toggle source

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

# File lib/seqtrimnext/actions/action_right_primer.rb, line 18
def apply_decoration(char)
  return char.blue.underline

  #  return char.magenta.negative
end