Class: Bio::FinishM::PairedEndNeighbourFinder::Neighbour
- Inherits:
-
Velvet::Graph::OrientedNodeTrail::OrientedNode
- Object
- Velvet::Graph::OrientedNodeTrail::OrientedNode
- Bio::FinishM::PairedEndNeighbourFinder::Neighbour
- Defined in:
- lib/assembly/paired_end_neighbour_finder.rb
Constant Summary collapse
- PAIRED_END_CONNECTION =
:paired_end_connection
- DIRECT_CONNECTION =
:direct_connection
Instance Attribute Summary collapse
-
#connection_type ⇒ Object
Returns the value of attribute connection_type.
-
#distance ⇒ Object
Returns the value of attribute distance.
-
#first_side ⇒ Object
Returns the value of attribute first_side.
-
#node ⇒ Object
Returns the value of attribute node.
-
#num_adjoining_reads ⇒ Object
Returns the value of attribute num_adjoining_reads.
Instance Method Summary collapse
- #inspect ⇒ Object (also: #to_s)
- #to_settable ⇒ Object
Methods inherited from Velvet::Graph::OrientedNodeTrail::OrientedNode
#==, #copy, #hash, #initialize, #next_neighbours, #node_id, #reverse, #reverse!, #starts_at_end?, #starts_at_start?, #to_shorthand
Constructor Details
This class inherits a constructor from Bio::Velvet::Graph::OrientedNodeTrail::OrientedNode
Instance Attribute Details
#connection_type ⇒ Object
Returns the value of attribute connection_type.
160 161 162 |
# File 'lib/assembly/paired_end_neighbour_finder.rb', line 160 def connection_type @connection_type end |
#distance ⇒ Object
Returns the value of attribute distance.
164 165 166 |
# File 'lib/assembly/paired_end_neighbour_finder.rb', line 164 def distance @distance end |
#first_side ⇒ Object
Returns the value of attribute first_side.
163 164 165 |
# File 'lib/assembly/paired_end_neighbour_finder.rb', line 163 def first_side @first_side end |
#node ⇒ Object
Returns the value of attribute node.
162 163 164 |
# File 'lib/assembly/paired_end_neighbour_finder.rb', line 162 def node @node end |
#num_adjoining_reads ⇒ Object
Returns the value of attribute num_adjoining_reads.
165 166 167 |
# File 'lib/assembly/paired_end_neighbour_finder.rb', line 165 def num_adjoining_reads @num_adjoining_reads end |
Instance Method Details
#inspect ⇒ Object Also known as: to_s
171 172 173 |
# File 'lib/assembly/paired_end_neighbour_finder.rb', line 171 def inspect "Neighbour #{object_id}: node=#{@node.node_id} first=#{@first_side} distance=#{@distance} num_adjoining_reads=#{@num_adjoining_reads} connection_type:#{@connection_type}" end |
#to_settable ⇒ Object
167 168 169 |
# File 'lib/assembly/paired_end_neighbour_finder.rb', line 167 def to_settable [@node.node_id, @first_side] end |