# HMM per-profile table verification (R2-V32-009/010)
# Date: 2026-11-06. Method: hmmsearch re-run (HMMER 3.4, reinstalled after a
# VM replacement) of lysin13.hmm vs the 1,586 candidates (E<=1e-5) and vs the
# E. coli K-12 reference proteome UP000000625 (4,403 proteins, downloaded from
# UniProt FTP as UP000000625_83333.fasta.gz).
#
# CANDIDATE SIDE (re-run vs shipped Table S8 / HMM_per_profile_hits.tsv)
# - 1,586 hit rows, 1,586 unique targets, 0 targets with >1 profile hit.
# - Best-hit counts reproduce the shipped table EXACTLY for all 13 profiles:
#   Phage_lysozyme 940, SLT 382, NLPC_P60 262, Amidase_2 2, all others 0.
# - Consequence: every candidate hits exactly ONE of the 13 profiles at
#   E<=1e-5, so "single-domain" holds with respect to this 13-profile
#   database (qualify the manuscript wording that way; second domains from
#   profiles outside the database were not assessed).
#
# CONTROL SIDE (re-run vs shipped table)
# - 33 hit rows on 29 proteins (matches the earlier control total of 33).
# - Per-profile control counts reproduce the shipped table EXACTLY for all 13:
#   Phage_lysozyme 2, SLT 6, NLPC_P60 5, Amidase_2 2, Amidase_3 3, CHAP 1,
#   Glyco_hydro_25 1, LysM 7, Glucosaminidase 2, Peptidase_M23 4,
#   SH3_5 0, Transglycosylase 0, Amidase_5 0. Total 33.
#
# ACCESSIONS (the reviewer's accession claim is REFUTED)
# - The reviewer claimed 4 accessions are wrong/rotated (NLPC_P60/PF00877,
#   Amidase_2/PF01510, Amidase_3/PF01520, CHAP/PF05257) and proposed
#   PF05257 for NLPC_P60 etc. That claim is WRONG.
# - Verified against the EBI InterPro API (2026-11-06) for all 13 accessions:
#   PF00877 = NlpC/P60 family (short name NLPC_P60); PF01510 = Amidase_2;
#   PF01520 = Amidase_3; PF05257 = CHAP domain; PF00959 = Phage_lysozyme;
#   PF01464 = Transglycosylase SLT domain; PF01183 = Glyco_hydro_25;
#   PF01476 = LysM; PF01832 = Glucosaminidase; PF01551 = Peptidase_M23;
#   PF08460 = SH3_5; PF06737 = Transglycosylase-like; PF05382 = Amidase_5.
# - The HMM file itself (lysin13.hmm, fetched from Pfam-A.hmm by NAME) carries
#   the same NAME/ACC pairings. Two independent sources agree with the table.
# - The reviewer's "corrections" are inverted (PF05257 is CHAP, not NlpC/P60;
#   PF00877 is NlpC/P60, not Amidase; PF01510 is Amidase_2, not phage lysozyme
#   GH24; PF01520 is Amidase_3, not SLT).
# - v3.3 action: NO accession changes. The table is correct as shipped.
#
# "7 OF 9" (the reviewer is RIGHT here)
# - Zero-hit profiles with >=1 control hit: Amidase_3 (3), CHAP (1),
#   Glyco_hydro_25 (1), LysM (7), Glucosaminidase (2), Peptidase_M23 (4)
#   = 6 of 9. SH3_5, Transglycosylase, Amidase_5 have 0 control hits.
# - v3.3 action: manuscript "7 of the 9" -> "6 of the 9" (one-word fix).
#
# SUMMARY
# - Shipped HMM table: counts EXACT, accessions CORRECT. No rebuild needed.
# - Only fix: "7 of 9" -> "6 of 9" in the manuscript text.
# - This is the FOURTH reviewer error caught (after: QC "<5%" wording,
#   S9 cluster-ID rotation, score 6.0 vs 5.5).
