Skip to main content

write_record

Function write_record 

Source
pub fn write_record(
    out: &mut dyn Write,
    label: &str,
    sizeout: bool,
    seq: &[u8],
    width: usize,
) -> Result<()>
Expand description

Write one FASTA record to out, wrapping sequence at width columns. width == 0 means no wrapping.