Struct omnitigs::unitigs::EdgeUnitigs [−][src]
pub struct EdgeUnitigs<Graph: GraphBase> { /* fields omitted */ }
A structure storing a vector of edge-centric unitigs.
Implementations
impl<Graph: StaticGraph> EdgeUnitigs<Graph>
[src]
pub fn compute(graph: &Graph) -> Self
[src]
Computes the maximal unitigs of a graph.
The unitigs are computed edge-centric.
If the graph is a cycle, it outputs an arbitrary subwalk.
pub fn sort_by_len_descending(&mut self)
[src]
Sorts the unitigs by length descending.
impl<Graph: StaticEdgeCentricBigraph> EdgeUnitigs<Graph> where
Graph::EdgeData: BidirectedData + Eq,
[src]
Graph::EdgeData: BidirectedData + Eq,
pub fn remove_reverse_complements(&mut self, graph: &Graph)
[src]
Retains only one direction of each pair of reverse-complemental unitigs.
Trait Implementations
impl<Graph: GraphBase> Debug for EdgeUnitigs<Graph> where
Graph::EdgeIndex: Debug,
[src]
Graph::EdgeIndex: Debug,
impl<Graph: GraphBase, IndexType> Index<IndexType> for EdgeUnitigs<Graph> where
Vec<EdgeUnitig<Graph>>: Index<IndexType>,
[src]
Vec<EdgeUnitig<Graph>>: Index<IndexType>,
type Output = <Vec<EdgeUnitig<Graph>> as Index<IndexType>>::Output
The returned type after indexing.
fn index(&self, index: IndexType) -> &Self::Output
[src]
impl<Graph: GraphBase> IntoIterator for EdgeUnitigs<Graph>
[src]
type Item = EdgeUnitig<Graph>
The type of the elements being iterated over.
type IntoIter = IntoIter<EdgeUnitig<Graph>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a, Graph: 'a + GraphBase> Sequence<'a, EdgeUnitig<Graph>, [EdgeUnitig<Graph>]> for EdgeUnitigs<Graph> where
Graph::EdgeIndex: 'a,
[src]
Graph::EdgeIndex: 'a,
type Iterator = Iter<'a, EdgeUnitig<Graph>>
The iterator type of the sequence.
fn iter(&'a self) -> Self::Iterator
[src]
fn len(&self) -> usize
[src]
pub fn prefix(&'a self, len: usize) -> &'a Subsequence
[src]
pub fn suffix(&'a self, len: usize) -> &'a Subsequence
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn first(&'a self) -> Option<&'a Item>
[src]
pub fn last(&'a self) -> Option<&'a Item>
[src]
pub fn is_proper_subsequence_of(&'a self, other: &Self) -> bool where
Item: Eq,
[src]
Item: Eq,
pub fn contains(&'a self, item: &Item) -> bool where
Item: Eq,
[src]
Item: Eq,
pub fn forward_merge_iter_assume_mergeable(
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
[src]
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
pub fn backward_merge_iter_assume_mergeable(
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
[src]
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
pub fn to_debug_string(&'a self) -> String where
Item: Debug,
[src]
Item: Debug,
Auto Trait Implementations
impl<Graph> RefUnwindSafe for EdgeUnitigs<Graph> where
<Graph as GraphBase>::EdgeIndex: RefUnwindSafe,
<Graph as GraphBase>::EdgeIndex: RefUnwindSafe,
impl<Graph> Send for EdgeUnitigs<Graph> where
<Graph as GraphBase>::EdgeIndex: Send,
<Graph as GraphBase>::EdgeIndex: Send,
impl<Graph> Sync for EdgeUnitigs<Graph> where
<Graph as GraphBase>::EdgeIndex: Sync,
<Graph as GraphBase>::EdgeIndex: Sync,
impl<Graph> Unpin for EdgeUnitigs<Graph> where
<Graph as GraphBase>::EdgeIndex: Unpin,
<Graph as GraphBase>::EdgeIndex: Unpin,
impl<Graph> UnwindSafe for EdgeUnitigs<Graph> where
<Graph as GraphBase>::EdgeIndex: UnwindSafe,
<Graph as GraphBase>::EdgeIndex: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,