# Historical multispecies transfer: development specification

Written before scoring this extension. The outcomes and earlier models are already exposed;
this is not preregistration, confirmation, or a historical submission.

## Question

Does extending the fixed human sequence baseline to nonhuman experimental donors change the
conclusion about prediction of publication-dated, all-evidence-novel human BP annotations?
Keep the original universe, 3,700 terms, six endpoints, and all eligible targets unchanged.

## Inputs and annotation semantics

Use the existing complete Swiss-Prot 2022_04 archive for canonical sequences and historical
primary-accession/source-database cross-references only. Do **not** turn GO DR cross-references
into experimental positive labels: their flat-file representation does not expose the GAF
relation/NOT field. The official manual describes GO identifier, aspect, evidence and source,
while the GOA FAQ warns that this view is filtered. Instead use 2023-01-01 GO release GAFs:
`goa_uniprot_all_noiea`, `mgi`, `rgd`, `sgd`, `fb`, `wb`, `zfin`, `tair`, `pombase`.
This is a specified multi-organism donor panel, not exhaustive all-species annotation coverage.
The small UniProt no-IEA file is a residual resource, not a substitute for model-organism files.

Keep all nonhuman reviewed canonical sequences as potential donors, including those without
accepted labels. Retain only the original human universe's sequences and original human T0
labels. For nonhuman GAFs, accept exact primary UniProt accession or a unique historical
Swiss-Prot cross-reference in the source namespace; never use symbols, modern crosswalks,
secondary accessions, or ambiguous gene-to-protein maps. Require matching source taxon.
Take BP `involved_in` (or legacy empty relation) with original experimental evidence codes,
exclude NOT, and remove a positive direct pair if any mapped row negates that same pair.
Exclude unresolved or isoform-specific rows, future annotation dates, and terms outside the frozen ontology. A populated form field is retained only if it maps to exactly the same canonical donor, by primary accession or the same unique historical source cross-reference.
Only propagate frozen is_a/part_of edges. No nonexperimental donor labels, DAT functional prose,
or outcome annotations enter training. All human donors use exactly the previous seed set.

## Fixed model

Query eligible canonical human targets against the donor universe with the same DIAMOND
2.1.8 very-sensitive settings, E-value <= 0.001, identity >=30%, both coverages >=50%,
one HSP and no output-hit cap as SEQUENCE_PILOT.md. Independently recheck thresholds.
Remove exact accession self hits. Pick top 50 by identity times minimum coverage, with stable
accession ties, **before inspecting labels**. Keep unlabelled donors in the denominator.
Fallback to the original human frequency prior only when no qualifying donor exists; apply
its original 1e-6 tie breaker. Also evaluate fixed equal PPI+multispecies and
PPI+CRISPR+multispecies averages and copy-first versions. No tuning or species balancing.

Report annotation-supported coverage separately from alignment coverage, and a donor-taxonomy
ledger. Closely related species can dominate the top 50: this baseline is not orthology-aware
or taxon-balanced. The broader search database changes DIAMOND E-values and search heuristics;
comparison with human-only transfer therefore changes more than label availability alone.

## Evaluation

Lock predictions before the evaluator reads outcomes. Reuse all prior methods, cohorts,
candidate/positive counts, mean AP, 10,000 paired protein/publication-component bootstrap
replicates, and the existing same-cohort diagnostic. Compare multispecies with frequency,
human sequence, PPI and two-network GeneMANIA; compare fixed fusion against multispecies
alone and PPI+multispecies. Three-input versus two-input algorithm comparisons remain unmatched.
Report zero-term targets and all-target coverage; missing/no-label targets remain included.
Use shared retained-donor connected components as an additional dependence sensitivity;
these may be large and are not independently established evolutionary families. Flag fewer
than 20 blocks as too sparse for dependable inference. Do not select new models by results.

Sources inspected for annotation semantics:
- https://web.expasy.org/docs/userman.html#DR_line
- https://www.ebi.ac.uk/GOA/faq
- https://geneontology.org/docs/go-annotation-file-gaf-format-2.2/

## Pre-scoring parser correction

During input audit, before any endpoint evaluation, corrected three parser assumptions:
WormBase gene IDs are the fourth DR field, TAIR locus and AGI identifiers use different
namespaces, and canonical GAF form identifiers are not necessarily isoforms. Strip OX
evidence tags before interpreting numeric taxon IDs. Synthetic fixtures cover these cases.
The preliminary predictor was interrupted during an inefficient taxonomy-summary loop,
before it wrote a prediction lock; its code/specification/log are retained in ignored
`data/multispecies_pilot/preflight/`. No outcome metrics were computed from its arrays.
The corrected run repeats alignment and overwrites those unaccepted intermediate arrays.

Taxon matching remains exact. In particular, PomBase species taxon 4896 does not match
Swiss-Prot strain 284812; those rows are omitted rather than silently equated. This is an
explicit coverage limitation of the frozen donor panel, not a complete homology benchmark.
