Bioinformatics
Use this skill when biological data or results pass between computational files, tools, workflow stages, evidence systems, identifier spaces, matrices, or reporting systems.
Bioinformatics should preserve four things across these boundaries:
- identity - what biological or computational object is represented,
- lineage - where it came from and what produced it,
- semantics - what the data, mapping, field, or evidence value means,
- interoperability - whether the next system can interpret it correctly.
Core rules
- Preserve biological identity separately from subject, specimen, library, lane, run, file, processing stage, and derived result when these represent distinct entities.
- Do not infer biological identity solely from filenames, directory names, row order, array position, or naming conventions when authoritative identifiers exist elsewhere.
- Preserve lineage from derived results back to their relevant biological source, experimental inputs, computational inputs, and transformations.
- Attach metadata to the entity or process it actually describes. Do not flatten sample-, assay-, run-, file-, analysis-, and QC-level properties into one ambiguous record.
- Do not assume one-to-one relationships between subjects, samples, libraries, runs, lanes, files, analyses, genes, transcripts, proteins, features, or identifiers.
- Before mapping or joining biological identifiers, establish the source entity type, target entity type, namespace, expected cardinality, ambiguity policy, and mapping-resource version.
- A successful identifier match does not prove biological equivalence or a one-to-one relationship.
- Treat unexpected row multiplication, row loss, duplicated identifiers, or axis reordering as semantic events that require explanation.
- Treat filenames, paths, extensions, directory structures, and output conventions as computational interfaces when downstream systems depend on them.
- Do not rename, reformat, merge, split, or relocate data without considering whether identity, discovery, parsing, provenance, or downstream interpretation depends on the original representation.
- Distinguish file location from file identity. Preserve checksums or content digests when exact file identity or transfer integrity matters.
- Distinguish planned, requested, or intended values from observed, measured, or delivered values.
- Preserve software, workflow, configuration, mapping-resource, reference-resource, and database versions when changes can alter the result.
- Keep stable machine identifiers separate from human-readable display labels.
- Preserve units, scopes, and calculation contexts for quantitative values when they are required for unambiguous interpretation.
- Distinguish support for a software tool from support for a particular command, output type, version, file representation, or parser.
- Prefer established interoperable conventions over project-specific alternatives when a maintained ecosystem interface or standard already exists.
- Separate evidence availability from evidence interpretation, statistical support, pathogenicity, causality, ranking, and downstream decisions.
- Preserve explicit rule semantics, stable rule identifiers, versions, raw outcomes, and provenance when rule-based evidence is exchanged between systems.
- Do not treat missing, unavailable, or unevaluable information as though it were successfully established evidence.
- Treat aggregate reports, binary evidence matrices, summaries, and other reduced representations as derived outputs rather than replacements for their source information.
- When exact semantics or compatibility matter, consult the current maintained specification for the producing and consuming systems.
AI behaviour
Before designing, changing, combining, mapping, or interpreting a computational biological object, establish:
- what biological entity or process it represents,
- what computational object is being handled,
- what produced it,
- which processing stage it belongs to,
- what downstream system will consume it,
- how identity is established,
- what mapping cardinalities are possible,
- which provenance must remain recoverable,
- which conventions or standards govern its interpretation.
Before a join or identifier conversion, state the expected analytical unit. Compare row or entity counts before and after the transformation and determine whether duplication or collapse is biologically intended.
Do not use row order or matrix position as a substitute for sample identity unless ordering is explicitly guaranteed and verified across every object involved.
Do not invent a universal naming convention across unrelated bioinformatics tools.
Before renaming or restructuring an established tool output, determine whether downstream discovery or parsing depends on its filename, path, contents, or directory structure.
Do not assume that a filename used to discover a file is also the authoritative sample identifier.
When data are transformed or combined, preserve links to the source objects and retain lower-level provenance when it can affect interpretation, QC, troubleshooting, or reproducibility.
When quantitative metadata are reported, establish what entity they describe, their units, and whether they represent intended or observed values.
When metadata are missing, recover them from an authoritative source where possible. Otherwise preserve the missing state rather than inferring what is common for the laboratory, platform, or workflow.
When working with rule-based evidence, preserve the distinction between:
- the evidence rule,
- the raw evaluation result,
- any reduced interoperable representation,
- any downstream statistical or biological interpretation.
Do not convert evidence availability directly into pathogenicity, causality, diagnostic probability, or another stronger claim.
References
Read the relevant reference when the task depends on it:
references/qc-outputs-and-sample-identity.mdfor QC output discovery, sample naming, processing-stage identity, MultiQC compatibility, supported outputs, custom QC content, and aggregation provenancereferences/metadata-and-provenance.mdfor biological sample lineage, experimental and computational provenance, metadata propagation, identifier scope, file identity, and traceability of derived datareferences/qualifying-evidence.mdfor verifiable rule-based evidence, evidence availability, raw rule outcomes, QEM semantics, versioned rule sets, and separation of qualifying evidence from downstream interpretation or inferencereferences/entity-mapping-and-join-cardinality.mdfor identifier mapping, one-to-many and many-to-many relationships, row multiplication, matrix-axis identity, ambiguous mappings, and biologically safe joins
Table of contents
- Entity mapping and join cardinality
- Metadata and provenance
- QC outputs and sample identity
- Qualifying evidence