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]

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]

impl<Graph: GraphBase, IndexType> Index<IndexType> for EdgeUnitigs<Graph> where
    Vec<EdgeUnitig<Graph>>: Index<IndexType>, 
[src]

type Output = <Vec<EdgeUnitig<Graph>> as Index<IndexType>>::Output

The returned type after indexing.

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?

impl<'a, Graph: 'a + GraphBase> Sequence<'a, EdgeUnitig<Graph>, [EdgeUnitig<Graph>]> for EdgeUnitigs<Graph> where
    Graph::EdgeIndex: 'a, 
[src]

type Iterator = Iter<'a, EdgeUnitig<Graph>>

The iterator type of the sequence.

Auto Trait Implementations

impl<Graph> RefUnwindSafe for EdgeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: RefUnwindSafe

impl<Graph> Send for EdgeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Send

impl<Graph> Sync for EdgeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Sync

impl<Graph> Unpin for EdgeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Unpin

impl<Graph> UnwindSafe for EdgeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,