pub fn detect_fasta_shape(bytes: &[u8]) -> Result<FastaShape>Expand description
Detect whether resident FASTA bytes are strict two-line FASTA.
The detector validates headers enough to reject non-FASTA leading content
and empty headers. It returns FastaShape::Multiline for valid FASTA that
needs the robust parser, including blank lines between records.