Sequence I/O and Transformation
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 requests deterministic sequence conversion or transformation after validation-only preflight. Exclude: validation-only inspection without transformation; raw-read trimming or filtering; database similarity search; pairwise or multiple sequence alignment; functional annotation from sequence alone.
Owns
Read, transform and write sequence records with explicit loss and round-trip checks. Apply the detailed scope below.
Inputs
- sequence files or records
- declared alphabet and genetic code when relevant
- requested transformation and output format
Intake
Inspect inputs, tools, versions, and safe metadata first. Ask one unresolved result-changing question with a recommendation, then wait. Continue approved safe local work; seek permission for new material side effects.
Decision order:
- sequence-alphabet. Which sequence alphabet should govern parsing? Recommended: Use the declared alphabet; infer only when the input is unambiguous and report the inference.
- translation-code. Which genetic code should translation use? Recommended: Use the explicitly declared organism-appropriate code rather than the universal code by assumption.
- metadata-preservation. Which record metadata must the transformed output preserve? Recommended: Preserve identifiers, ordering and quality values whenever the target format supports them.
Workflow
- Validate format, alphabet, identifiers and qualities.
- Apply only the requested deterministic transformation.
- Preserve ordering and metadata unless the brief says otherwise.
- Re-read outputs and report any lossy conversion.
- Without a compatible declared adapter, return
needs-toolordry-run; never imply execution.
Output contract
Return completed, dry-run, needs-tool, or invalid-input. completed includes:
- transformed sequence artifact or dry-run plan
- record counts and rejected records
- round-trip and information-loss report
Record fingerprints, parameters, versions, warnings, limitations, and remaining judgment. Never fabricate a run.
Runtime and scientific boundaries
Read runtime-boundaries.md. Network adapters disclose provider, purpose, data sent, and credentials; no silent fallback.
Guardrails
- Declare input and output formats, alphabet, quality encoding, genetic code, frame, and identifier policy when applicable
- Report metadata or quality information lost by a conversion
- Route raw-read trimming, filtering, and adapter removal away from this Skill
- Write only to a user-approved new output location; never mutate inputs or overwrite a path
- Partial output is never
completed; use the truthful non-completed status - Record skipped complex-tool execution as unverified, never as passed
- Keep credentials, private paths, patient and controlled data out of artifacts
- Require researcher review for biological interpretation; no clinical authority


