Skip to main content

write_wrap

Function write_wrap 

Source
pub fn write_wrap<W>(
    writer: W,
    id: &[u8],
    desc: Option<&[u8]>,
    seq: &[u8],
    wrap: usize,
) -> Result<()>
where W: Write,
Expand description

Writes data to the FASTA format. Wraps the sequence to produce multi-line FASTA with a maximum width specified by the wrap parameter.