FastaWriter.php
Serializes sequences into FASTA text Freely inspired by BioPHP's project biophp.org Created 30 September 2026 Last modified 2 October 2026
Table of Contents
Classes
- FastaWriter
- The sequence body is wrapped at 70 symbols per line, the width NCBI's own FASTA output and most downstream tools (samtools faidx, BioPerl's default) already expect ; a header containing a newline would break the one-line-per-header format FASTA relies on and is rejected rather than silently truncated or escaped.