Sha256: 13430a12211a5db94de83831d758b85bf19d1d8f3900ec6ce093cc7ebfb7e1b0
Contents?: true
Size: 425 Bytes
Versions: 14
Compression:
Stored size: 425 Bytes
Contents
require 'types' module NcRna def find_nc_rna(seq, blast_query) # used to detect if the sequence and the blast are from different query if seq.seq_name != blast_query.query_def raise "BLAST query name and sequence are different" end hit=blast_query.hits.first if !hit.nil? && hit.align_len >= 40 # There is match in blast and it has a good length. seq.hit = hit seq.type = NCRNA end end end
Version data entries
14 entries across 14 versions & 1 rubygems