Sha256: 9306a03ff91bb60eb38e9f28098e03fa40d109077d886376b77648deb2259a12

Contents?: true

Size: 823 Bytes

Versions: 28

Compression:

Stored size: 823 Bytes

Contents

require "seqtrim_action"

########################################################
# Author: Almudena Bocinos Rioboo                      
# 
# Defines the main methods that are necessary to execute PluginPairedReads                                                     
# Inherit: Plugin
########################################################
class ActionPairedReads < SeqtrimAction    
  def initialize(start_pos,end_pos)
     super(start_pos,end_pos)    
     @cut =true

   end
 
  
   def apply_to(seq)
     $LOG.debug "Applying #{self.class}"
     
     #Storage the first and second subsequences
     subseq1 = seq.seq_fasta[0,@start_pos-1]        
     subseq2 = seq.seq_fasta[@end_pos+1,seq.seq_fasta.length-1]
     #$LOG.debug "\nSubsequence left: #{subseq1} \n Subsequence right: #{subseq2}}"

   end
  
  
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
seqtrimnext-2.0.68 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.66 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.62 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.61 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.60 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.59 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.57 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.56 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.55 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.54 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.52 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.51 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.50 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.49 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.48 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.46 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.45 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.42 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.41 lib/seqtrimnext/actions/action_paired_reads.rb
seqtrimnext-2.0.39 lib/seqtrimnext/actions/action_paired_reads.rb