[][src]Function seq_io::fasta::write_wrap_iter

pub fn write_wrap_iter<'a, W, H, S>(
    writer: W,
    head: H,
    seq: S,
    wrap: usize
) -> Result<()> where
    W: Write,
    H: HeadWriter,
    S: IntoIterator<Item = &'a [u8]>, 

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