Sha256: ee2a0e100236f23036f9328f5e6a560a24d62024d6f6b61d532de0dc4ce0b4b6
Contents?: true
Size: 834 Bytes
Versions: 28
Compression:
Stored size: 834 Bytes
Contents
require "seqtrim_action" ######################################################## # Author: Almudena Bocinos Rioboo # # Defines the main methods that are necessary to execute ActionShortInserted # Inherit: Plugin ######################################################## class ActionShortInsert < SeqtrimAction def initialize(start_pos,end_pos) super(start_pos,end_pos) # @cut =true @cut = false @informative = true end # def apply_to(seq) # # # seq.seq_fasta = seq.seq_fasta.slice(start_pos,end_pos) # $LOG.debug " Applying #{self.class}. ------ Error.Sequence is not good ------ . BEGIN: #{@start_pos} END: #{@end_pos} " # # # end def apply_decoration(char) return char.on_red end end
Version data entries
28 entries across 28 versions & 1 rubygems