Sha256: 9b465bb6c9aea667d6ff8ba0771956faa1bac5fda8decc5d00de76af3e2de538
Contents?: true
Size: 759 Bytes
Versions: 28
Compression:
Stored size: 759 Bytes
Contents
require "seqtrim_action" ######################################################## # Author: Almudena Bocinos Rioboo # # Defines the main methods that are necessary to execute Plugin1 # Inherit: Plugin ######################################################## class ActionVectors < 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} to seq #{seq.seq_name}. BEGIN: #{@start_pos} END: #{@end_pos} " # # end def apply_decoration(char) return char.on_green end end
Version data entries
28 entries across 28 versions & 1 rubygems