Crate clstr

Source
Expand description

A small crate to parse CD-HIT’s .clstr file format. Only tested with CD-HIT, not CD-HIT-EST. Or actually another program in the cd-hit suite.

Structs§

ClstrParser
Iterator to parse .clstr file.
ClstrWriter
Struct to write .clstr format files.
Cluster
Represents a cluster containing multiple sequences.
Error
An error type for this crate.
Sequence
Represents a single sequence entry in a cluster.

Enums§

ErrorKind

Functions§

from_path
Function to parse a .clstr file from a path.
from_reader
Function to parse a .clstr file from a reader.
to_path
Helper function to create a writer from a file path.

Type Aliases§

Result
A type alias for Result<T, clstr::Error>.