class ProtXMLToGFFTool::CDSInfo

Attributes

coding_sequences[RW]
end[RW]
fasta_id[RW]
frame[RW]
gene_id[RW]
is_sixframe[RW]
name[RW]
scaffold[RW]
start[RW]
strand[RW]

Public Instance Methods

overlap(candidate_entry) click to toggle source
# File lib/protk/protxml_to_gff_tool.rb, line 62
def overlap(candidate_entry)
  return false if candidate_entry.scaffold!=self.scaffold
  return false if strand!=self.strand
  return false if candidate_entry.start >= self.end
  return false if self.start <= candidate_entry.end 
  return true
end