Sha256: 70dfe2795673991ebe6c8f5b402f8d84cae1ffab6b75b72030e0f2c313902433
Contents?: true
Size: 732 Bytes
Versions: 19
Compression:
Stored size: 732 Bytes
Contents
require "seqtrim_action" ######################################################## # Author: Almudena Bocinos Rioboo # # Defines the main methods that are necessary to execute Plugin1 # Inherit: Plugin ######################################################## class ActionMiddleAdapter < 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 end end
Version data entries
19 entries across 19 versions & 1 rubygems