fastseq 0.1.4

fastseq is a Rust crate for parsing FASTA/Q sequences
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::io;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum FastxErr {
    #[error("I/O error")]
    IOError(#[from] io::Error),

    #[error("invalid FASTA/Q format")]
    InvalidFormat,

    #[error("unequal lengths of sequence ({0}) and quality ({1})")]
    UnequalSeqAndQual(usize, usize),
}