Class: ProtXMLToGFFTool::CDSInfo
- Inherits:
-
Object
- Object
- ProtXMLToGFFTool::CDSInfo
- Defined in:
- lib/protk/protxml_to_gff_tool.rb
Instance Attribute Summary collapse
-
#coding_sequences ⇒ Object
Returns the value of attribute coding_sequences.
-
#end ⇒ Object
Returns the value of attribute end.
-
#fasta_id ⇒ Object
Returns the value of attribute fasta_id.
-
#frame ⇒ Object
Returns the value of attribute frame.
-
#gene_id ⇒ Object
Returns the value of attribute gene_id.
-
#is_sixframe ⇒ Object
Returns the value of attribute is_sixframe.
-
#name ⇒ Object
Returns the value of attribute name.
-
#scaffold ⇒ Object
Returns the value of attribute scaffold.
-
#start ⇒ Object
Returns the value of attribute start.
-
#strand ⇒ Object
Returns the value of attribute strand.
Instance Method Summary collapse
Instance Attribute Details
#coding_sequences ⇒ Object
Returns the value of attribute coding_sequences.
58 59 60 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 58 def coding_sequences @coding_sequences end |
#end ⇒ Object
Returns the value of attribute end.
57 58 59 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 57 def end @end end |
#fasta_id ⇒ Object
Returns the value of attribute fasta_id.
51 52 53 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 51 def fasta_id @fasta_id end |
#frame ⇒ Object
Returns the value of attribute frame.
53 54 55 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 53 def frame @frame end |
#gene_id ⇒ Object
Returns the value of attribute gene_id.
60 61 62 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 60 def gene_id @gene_id end |
#is_sixframe ⇒ Object
Returns the value of attribute is_sixframe.
59 60 61 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 59 def is_sixframe @is_sixframe end |
#name ⇒ Object
Returns the value of attribute name.
54 55 56 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 54 def name @name end |
#scaffold ⇒ Object
Returns the value of attribute scaffold.
55 56 57 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 55 def scaffold @scaffold end |
#start ⇒ Object
Returns the value of attribute start.
56 57 58 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 56 def start @start end |
#strand ⇒ Object
Returns the value of attribute strand.
52 53 54 |
# File 'lib/protk/protxml_to_gff_tool.rb', line 52 def strand @strand end |
Instance Method Details
#overlap(candidate_entry) ⇒ Object
62 63 64 65 66 67 68 |
# 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 |