lib/seqtrimnext/plugins/plugin_short_insert.rb in seqtrimnext-2.0.51 vs lib/seqtrimnext/plugins/plugin_short_insert.rb in seqtrimnext-2.0.52
- old
+ new
@@ -84,19 +84,10 @@
# puts " subinsert #{sub_inserts.join(' ')}"
return sub_inserts
end
- #Begins the plugin1's execution to warn if the inserted is so short
- def execute(seqs)
- seqs.each do |s|
- exec_seq(s)
- end
- end
-
-
- def exec_seq(seq)
-
+ def exec_seq(seq,blast_query)
$LOG.debug "[#{self.class.to_s}, seq: #{seq.seq_name}]: checking if insert of sequence has enought size"
# puts "inserto #{seq.insert_start}, #{seq.insert_end} size #{seq.seq_fasta.size}"
if (seq.seq_fasta.size > 0)