Pairwise and Multiple Sequence Alignment
Preview + reviewed; runtime, scientific, expert, and clinical validation were not performed.
Execution behavior
Use supplied and safely inspected facts first. Explain an unfamiliar term only when it changes the decision. If a critical fact is missing or inconsistent, follow the dialogue guide: ask one focused question, explain why, recommend a defensible route, and wait on dependent work. Continue independent authorized work; never guess scientific facts or repeat a resolved question. With complete inputs, proceed. Show relevant figures/tables and their meaning; preserve the host's permissions and the boundaries below. Finish with outputs, key findings and concrete remaining limits.
Detailed scope: A user needs global, local or multiple alignment of an existing sequence set. Exclude: database similarity search; tree inference; asserting positional homology without qualification.
Owns
Produce an alignment fit for a declared downstream purpose and report sensitivity to key alignment choices. Apply the detailed scope below.
Inputs
- validated sequence records
- alignment objective
- sequence type and expected divergence
- for hosted upload: data class, provider, service, and one-job scope
Intake
Inspect safe facts first. Ask one unresolved question with a recommendation, then wait; otherwise continue authorized work. Patient, PHI, and controlled-access data are a terminal hosted-upload block.
Decision order:
- remote-data-authorization. May the disclosed sequences be uploaded to the named EMBL-EBI service for this one job? Recommended: prefer local; authorize only the disclosed non-controlled scope.
- alignment-objective. Which downstream question must the alignment support? Recommended: choose local, global, or multiple alignment from that question.
Public network execution
Prefer local alignment. An exact current request authorizes one disclosed,
non-sensitive job without repeat confirmation; other allowed sensitive data
requires one scoped confirmation. Never upload patient, PHI, controlled data,
credentials, or secrets. Without a reviewed adapter return needs-tool.
Record input digest, parameters, job ID, status, result hash, and network use.
Workflow
- Check type, count, length, divergence, and upload sensitivity without copying raw data into provenance.
- Select global, local or multiple alignment based on the stated objective.
- Choose local execution or resolve exact hosted-job authorization.
- Run locally or use the explicitly authorized adapter with stable input order.
- Report coverage, gaps, unstable regions and downstream-use limitations.
- Without a compatible adapter, return
needs-toolordry-run.
Output contract
Return completed, dry-run, needs-tool, or invalid-input. completed includes:
- alignment artifact
- method, version and parameter record
- alignment statistics and low-confidence regions
Record fingerprints, parameters, versions, warnings, limitations, and remaining judgment. Never fabricate a run.
Runtime and scientific boundaries
See runtime boundaries. Remote completion does not establish positional homology or cross-engine equivalence.
Guardrails
- Separate pairwise from multiple alignment and declare nucleotide or protein input
- Record objective, scoring, gaps, strategy, threads, seed, and input order
- Write only to a user-approved new output location; never mutate inputs or overwrite a path
- Never mark partial or skipped execution
completed - Keep credentials, private paths, patient and controlled data out of artifacts
- Require researcher review for biological interpretation; no clinical authority


