Sha256: 85d6369716857d75e678c3677ae5e614938d23959292aecc7990d1fe1e910498
Contents?: true
Size: 830 Bytes
Versions: 28
Compression:
Stored size: 830 Bytes
Contents
require "seqtrim_action" ######################################################## # Author: Almudena Bocinos Rioboo # # Defines the main methods that are necessary to execute PluginActionLowHighSize # Inherit: Plugin ######################################################## class ActionLowHighSize < SeqtrimAction def initialize(start_pos,end_pos) super(start_pos,end_pos) @cut =false end # def apply_to(seq) # # # seq.seq_fasta = seq.seq_fasta.slice(start_pos,end_pos) # $LOG.debug " Applying #{self.class} to #{seq.seq_name}. This sequence will be ignored due to low or high size " # #delete sequence if it was created # # # end def apply_decoration(char) return char.on_magenta end end
Version data entries
28 entries across 28 versions & 1 rubygems