Sha256: 9156d919c039b619d029a0710babfd4b7068ca2b0bfcf7fb0ca1aa49b70d8f84
Contents?: true
Size: 783 Bytes
Versions: 28
Compression:
Stored size: 783 Bytes
Contents
require "seqtrim_action" ######################################################## # Author: Almudena Bocinos Rioboo # # Defines the main methods that are necessary to execute Plugin1 # Inherit: Plugin ######################################################## class ActionAbLeftAdapter < 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.negative # return char.magenta.negative end end
Version data entries
28 entries across 28 versions & 1 rubygems