Generated banner for Instrument Data To Allotrope
Generated logo for Instrument Data To Allotrope

Instrument Data To Allotrope

AnthropicOfficialPublished by Anthropic

  • Skill
  • Tool integration
  • Data and AI
  • Apache-2.0
  • Low risk
  • Has scripts

From the author

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full ASM JSON, flattened CSV for easy import, and exportable Python code for data engineers. Common triggers include converting instrument files, standardizing lab data, preparing data for upload to LIMS/ELN systems, or generating parser code for production pipelines.
— the description by Anthropic

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill automates the transformation of raw laboratory instrument output files (such as PDF, CSV, Excel, or TXT) into the standardized Allotrope Simple Model (ASM) JSON format. It supports auto-detection of various instrument types, provides flattened 2D CSV outputs for easier analysis, and generates production-ready Python parser code for data engineering pipelines. Designed for scientists and data engineers, it ensures data consistency for LIMS systems, data lakes, and downstream analysis.

What it does

  • Auto-detects instrument types from input files.
  • Parses instrument data into semantic ASM JSON structures.
  • Generates flattened 2D CSV files for tabular analysis.
  • Produces exportable, standalone Python parser code.
  • Validates output against Allotrope ASM specifications.
  • Handles traceability for calculated data fields.

When to use it

  • Standardizing heterogeneous lab data for LIMS or ELN systems.
  • Preparing instrument data for ingestion into data lakes.
  • Creating reproducible parsers for data engineering pipelines.
  • Converting proprietary instrument outputs into a vendor-neutral format.
  • Performing quick analysis on instrument data using tabular formats.

Advantages

  • Ensures semantic consistency using the Allotrope standard.
  • Reduces manual effort in data cleaning and transformation.
  • Provides both machine-readable JSON and human-readable CSV outputs.
  • Facilitates data traceability for calculated results.
  • Supports extensibility for custom instrument formats.

Usage examples

“Convert this cell counting data to Allotrope format”
The agent detects the instrument, parses the file using the native allotropy library, and returns the ASM JSON, a flattened CSV, and a custom Python parser script.
“I need to give our data engineer code to parse NanoDrop files”
The agent generates a self-contained, documented Python script tailored for the specific instrument, ready for integration into a data pipeline.
“Convert this ELISA data to a CSV I can upload to our LIMS”
The agent parses the plate reader data and outputs a flattened CSV with standardized columns and metadata, validated for LIMS import requirements.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/anthropics/instrument-data-to-allotrope/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip instrument-data-to-allotrope.zip -d .agents/skills

Documentation by Anthropic

Instrument Data to Allotrope Converter

Convert instrument files into standardized Allotrope Simple Model (ASM) format for LIMS upload, data lakes, or handoff to data engineering teams.

Note: This is an Example Skill

This skill demonstrates how skills can support your data engineering tasks—automating schema transformations, parsing instrument outputs, and generating production-ready code.

To customize for your organization:

  • Modify the references/ files to include your company's specific schemas or ontology mappings

  • Use an MCP server to connect to systems that define your schemas (e.g., your LIMS, data catalog, or schema registry)

  • Extend the scripts/ to handle proprietary instrument formats or internal data standards

This pattern can be adapted for any data transformation workflow where you need to convert between formats or validate against organizational standards.

Workflow Overview

  1. Detect instrument type from file contents (auto-detect or user-specified)

  2. Parse file using allotropy library (native) or flexible fallback parser

  3. Generate outputs:

    • ASM JSON (full semantic structure)

    • Flattened CSV (2D tabular format)

    • Python parser code (for data engineer handoff)

  4. Deliver files with summary and usage instructions

When Uncertain: If you're unsure how to map a field to ASM (e.g., is this raw data or calculated? device setting or environmental condition?), ask the user for clarification. Refer to references/field_classification_guide.md for guidance, but when ambiguity remains, confirm with the user rather than guessing.

Quick Start

# Install requirements first
pip install allotropy pandas openpyxl pdfplumber --break-system-packages

# Core conversion
from allotropy.parser_factory import Vendor
from allotropy.to_allotrope import allotrope_from_file

# Convert with allotropy
asm = allotrope_from_file("instrument_data.csv", Vendor.BECKMAN_VI_CELL_BLU)

Output Format Selection

ASM JSON (default) - Full semantic structure with ontology URIs

  • Best for: LIMS systems expecting ASM, data lakes, long-term archival

  • Validates against Allotrope schemas

Flattened CSV - 2D tabular representation

  • Best for: Quick analysis, Excel users, systems without JSON support

  • Each measurement becomes one row with metadata repeated

Both - Generate both formats for maximum flexibility

Calculated Data Handling

IMPORTANT: Separate raw measurements from calculated/derived values.

  • Raw data → measurement-document (direct instrument readings)

  • Calculated data → calculated-data-aggregate-document (derived values)

Calculated values MUST include traceability via data-source-aggregate-document:

"calculated-data-aggregate-document": {
  "calculated-data-document": [{
    "calculated-data-identifier": "SAMPLE_B1_DIN_001",
    "calculated-data-name": "DNA integrity number",
    "calculated-result": {"value": 9.5, "unit": "(unitless)"},
    "data-source-aggregate-document": {
      "data-source-document": [{
        "data-source-identifier": "SAMPLE_B1_MEASUREMENT",
        "data-source-feature": "electrophoresis trace"
      }]
    }
  }]
}

Common calculated fields by instrument type:

InstrumentCalculated Fields
Cell counterViability %, cell density dilution-adjusted values
SpectrophotometerConcentration (from absorbance), 260/280 ratio
Plate readerConcentrations from standard curve, %CV
ElectrophoresisDIN/RIN, region concentrations, average sizes
qPCRRelative quantities, fold change

See references/field_classification_guide.md for detailed guidance on raw vs. calculated classification.

Validation

Always validate ASM output before delivering to the user:

python scripts/validate_asm.py output.json
python scripts/validate_asm.py output.json --reference known_good.json  # Compare to reference
python scripts/validate_asm.py output.json --strict  # Treat warnings as errors

Validation Rules:

Soft Validation Approach: Unknown techniques, units, or sample roles generate warnings (not errors) to allow for forward compatibility. If Allotrope adds new values after December 2024, the validator won't block them—it will flag them for manual verification. Use --strict mode to treat warnings as errors if you need stricter validation.

What it checks:

  • Correct technique selection (e.g., multi-analyte profiling vs plate reader)

  • Field naming conventions (space-separated, not hyphenated)

  • Calculated data has traceability (data-source-aggregate-document)

  • Unique identifiers exist for measurements and calculated values

  • Required metadata present

  • Valid units and sample roles (with soft validation for unknown values)

Supported Instruments

See references/supported_instruments.md for complete list. Key instruments:

CategoryInstruments
Cell CountingVi-CELL BLU, Vi-CELL XR, NucleoCounter
SpectrophotometryNanoDrop One/Eight/8000, Lunatic
Plate ReadersSoftMax Pro, EnVision, Gen5, CLARIOstar
ELISASoftMax Pro, BMG MARS, MSD Workbench
qPCRQuantStudio, Bio-Rad CFX
ChromatographyEmpower, Chromeleon

Detection & Parsing Strategy

Tier 1: Native allotropy parsing (PREFERRED)

Always try allotropy first. Check available vendors directly:

from allotropy.parser_factory import Vendor

# List all supported vendors
for v in Vendor:
    print(f"{v.name}")

# Common vendors:
# AGILENT_TAPESTATION_ANALYSIS  (for TapeStation XML)
# BECKMAN_VI_CELL_BLU
# THERMO_FISHER_NANODROP_EIGHT
# MOLDEV_SOFTMAX_PRO
# APPBIO_QUANTSTUDIO
# ... many more

When the user provides a file, check if allotropy supports it before falling back to manual parsing. The scripts/convert_to_asm.py auto-detection only covers a subset of allotropy vendors.

Tier 2: Flexible fallback parsing

Only use if allotropy doesn't support the instrument. This fallback:

  • Does NOT generate calculated-data-aggregate-document

  • Does NOT include full traceability

  • Produces simplified ASM structure

Use flexible parser with:

  • Column name fuzzy matching

  • Unit extraction from headers

  • Metadata extraction from file structure

Tier 3: PDF extraction

For PDF-only files, extract tables using pdfplumber, then apply Tier 2 parsing.

Pre-Parsing Checklist

Before writing a custom parser, ALWAYS:

  1. Check if allotropy supports it - Use native parser if available

  2. Find a reference ASM file - Check references/examples/ or ask user

  3. Review instrument-specific guide - Check references/instrument_guides/

  4. Validate against reference - Run validate_asm.py --reference <file>

Common Mistakes to Avoid

MistakeCorrect Approach
Manifest as objectUse URL string
Lowercase detection typesUse "Absorbance" not "absorbance"
"emission wavelength setting"Use "detector wavelength setting" for emission
All measurements in one documentGroup by well/sample location
Missing procedure metadataExtract ALL device settings per measurement

Code Export for Data Engineers

Generate standalone Python scripts that scientists can hand off:

# Export parser code
python scripts/export_parser.py --input "data.csv" --vendor "VI_CELL_BLU" --output "parser_script.py"

The exported script:

  • Has no external dependencies beyond pandas/allotropy

  • Includes inline documentation

  • Can run in Jupyter notebooks

  • Is production-ready for data pipelines

File Structure

instrument-data-to-allotrope/
├── SKILL.md                          # This file
├── scripts/
│   ├── convert_to_asm.py            # Main conversion script
│   ├── flatten_asm.py               # ASM → 2D CSV conversion
│   ├── export_parser.py             # Generate standalone parser code
│   └── validate_asm.py              # Validate ASM output quality
└── references/
    ├── supported_instruments.md     # Full instrument list with Vendor enums
    ├── asm_schema_overview.md       # ASM structure reference
    ├── field_classification_guide.md # Where to put different field types
    └── flattening_guide.md          # How flattening works

Usage Examples

Example 1: Vi-CELL BLU file
User: "Convert this cell counting data to Allotrope format"
[uploads viCell_Results.xlsx]

Claude:
1. Detects Vi-CELL BLU (95% confidence)
2. Converts using allotropy native parser
3. Outputs:
   - viCell_Results_asm.json (full ASM)
   - viCell_Results_flat.csv (2D format)
   - viCell_parser.py (exportable code)
Example 2: Request for code handoff
User: "I need to give our data engineer code to parse NanoDrop files"

Claude:
1. Generates self-contained Python script
2. Includes sample input/output
3. Documents all assumptions
4. Provides Jupyter notebook version
Example 3: LIMS-ready flattened output
User: "Convert this ELISA data to a CSV I can upload to our LIMS"

Claude:
1. Parses plate reader data
2. Generates flattened CSV with columns:
   - sample_identifier, well_position, measurement_value, measurement_unit
   - instrument_serial_number, analysis_datetime, assay_type
3. Validates against common LIMS import requirements

Implementation Notes

Installing allotropy
pip install allotropy --break-system-packages
Handling parse failures

If allotropy native parsing fails:

  1. Log the error for debugging

  2. Fall back to flexible parser

  3. Report reduced metadata completeness to user

  4. Suggest exporting different format from instrument

ASM Schema Validation

Validate output against Allotrope schemas when available:

import jsonschema
# Schema URLs in references/asm_schema_overview.md

Files

references/field_classification_guide.md

Field Classification Guide

This guide helps classify instrument data fields into the correct ASM document locations. Use this when mapping raw instrument output to Allotrope Simple Model structure.

ASM Document Hierarchy

<technique>-aggregate-document
├── device-system-document          # Instrument hardware info
├── data-system-document            # Software/conversion info
├── <technique>-document[]          # Per-run/sequence data
│   ├── analyst                     # Who performed the analysis
│   ├── measurement-aggregate-document
│   │   ├── measurement-time
│   │   ├── measurement-document[]  # Individual measurements
│   │   │   ├── sample-document
│   │   │   ├── device-control-aggregate-document
│   │   │   └── [measurement fields]
│   │   └── [aggregate-level metadata]
│   ├── processed-data-aggregate-document
│   │   └── processed-data-document[]
│   │       ├── data-processing-document
│   │       └── [processed results]
│   └── calculated-data-aggregate-document
│       └── calculated-data-document[]

Field Classification Categories

1. Device/Instrument Information → device-system-document

Hardware and firmware details about the physical instrument.

Field TypeASM FieldExamples
Instrument namemodel-number"Vi-CELL BLU", "NanoDrop One"
Serial numberequipment-serial-number"VCB-12345", "SN001234"
Manufacturerproduct-manufacturer"Beckman Coulter", "Thermo Fisher"
Firmware versionfirmware-version"v2.1.3"
Device IDdevice-identifier"Instrument_01"
Brandbrand-name"Beckman Coulter"

Rule: If the value describes the physical instrument and doesn't change between runs, it goes in device-system-document.


2. Software/Data System Information → data-system-document

Information about software used for acquisition, analysis, or conversion.

Field TypeASM FieldExamples
Software namesoftware-name"Chromeleon", "Gen5"
Software versionsoftware-version"7.3.2"
File namefile-name"experiment_001.xlsx"
File pathfile-identifier"/data/runs/2024-01-15/"
Database IDASM-converter-name"allotropy v0.1.55"

Rule: If the value describes software, file metadata, or data provenance, it goes in data-system-document.


3. Sample Information → sample-document

Metadata about the biological/chemical sample being analyzed.

Field TypeASM FieldExamples
Sample IDsample-identifier"Sample_A", "LIMS-001234"
Sample namewritten-name"CHO Cell Culture Day 5"
Sample type/rolesample-role-type"unknown sample role", "control sample role"
Batch IDbatch-identifier"Batch-2024-001"
Descriptiondescription"Protein expression sample"
Well positionlocation-identifier"A1", "B3"

Rule: If the value identifies or describes what was measured (not how), it goes in sample-document.


4. Device Control Settings → device-control-aggregate-document

Instrument settings and parameters used during measurement.

Field TypeASM FieldExamples
Injection volumesample-volume-setting10 µL
Wavelengthdetector-wavelength-setting254 nm
Temperaturecompartment-temperature37°C
Flow rateflow-rate1.0 mL/min
Exposure timeexposure-duration-setting500 ms
Detector gaindetector-gain-setting1.5
Illuminationillumination-setting80%

Rule: If the value is a configurable instrument parameter that affects measurement, it goes in device-control-aggregate-document.


5. Environmental Conditions → device-control-document or technique-specific

Ambient or controlled environmental parameters during measurement.

Field TypeASM FieldExamples
Ambient temperatureambient-temperature22.5°C
Humidityambient-relative-humidity45%
Column temperaturecompartment-temperature30°C
Sample temperaturesample-temperature4°C
Electrophoresis temp(technique-specific)26.4°C

Rule: Environmental conditions that affect measurement quality go with device control or in technique-specific locations.


6. Raw Measurement Data → measurement-document

Direct instrument readings - the "ground truth" data.

Field TypeASM FieldExamples
Absorbanceabsorbance0.523 AU
Fluorescencefluorescence12500 RFU
Cell counttotal-cell-count2.5e6 cells
Peak areapeak-area1234.5 mAU·min
Retention timeretention-time5.67 min
Ct valuecycle-threshold-result24.5
Concentration (measured)mass-concentration1.5 mg/mL

Rule: If the value is a direct instrument reading that wasn't computed from other values in this analysis, it goes in measurement-document.


7. Calculated/Derived Data → calculated-data-aggregate-document

Values computed from raw measurements.

Field TypeASM FieldExamples
Viability %calculated-result95.2%
Concentration (from std curve)calculated-result125 ng/µL
Ratio (260/280)calculated-result1.89
Relative quantitycalculated-result2.5x
% Recoverycalculated-result98.7%
CV%calculated-result2.3%

Calculated data document structure:

{
  "calculated-data-name": "viability",
  "calculated-result": {"value": 95.2, "unit": "%"},
  "calculation-description": "viable cells / total cells * 100"
}

Rule: If the value was computed from other measurements in this analysis, it goes in calculated-data-aggregate-document. Include calculation-description when possible.


8. Processed/Analyzed Data → processed-data-aggregate-document

Results from data processing algorithms (peak integration, cell classification, etc.).

Field TypeASM FieldExamples
Peak listpeak-listIntegrated peak results
Cell size distributioncell-diameter-distributionHistogram data
Baseline-corrected data(in processed-data-document)Corrected spectra
Fitted curve(in processed-data-document)Standard curve fit

Associated data-processing-document:

{
  "cell-type-processing-method": "trypan blue exclusion",
  "cell-density-dilution-factor": {"value": 2, "unit": "(unitless)"},
  "minimum-cell-diameter-setting": {"value": 5, "unit": "µm"},
  "maximum-cell-diameter-setting": {"value": 50, "unit": "µm"}
}

Rule: If the value results from an algorithm or processing method applied to raw data, it goes in processed-data-aggregate-document with its processing parameters in data-processing-document.


9. Timing/Timestamps → Various locations
Timestamp TypeLocationASM Field
Measurement timemeasurement-documentmeasurement-time
Run start timeanalysis-sequence-documentanalysis-sequence-start-time
Run end timeanalysis-sequence-documentanalysis-sequence-end-time
Data export timedata-system-document(custom)

Rule: Use ISO 8601 format: 2024-01-15T10:30:00Z


10. Analyst/Operator Information → <technique>-document
Field TypeASM FieldExamples
Operator nameanalyst"jsmith"
Reviewer(custom or extension)"Pending"

Rule: Analyst goes at the technique-document level, not in individual measurements.


Decision Tree

Is this field about...

THE INSTRUMENT ITSELF?
├── Hardware specs → device-system-document
└── Software/files → data-system-document

THE SAMPLE?
└── Sample ID, name, type, batch → sample-document

INSTRUMENT SETTINGS?
└── Configurable parameters → device-control-aggregate-document

ENVIRONMENTAL CONDITIONS?
└── Temp, humidity, etc. → device-control-document

A DIRECT READING?
└── Raw instrument output → measurement-document

A COMPUTED VALUE?
├── From other measurements → calculated-data-document
└── From processing algorithm → processed-data-document

TIMING?
├── When measured → measurement-document.measurement-time
└── When run started/ended → analysis-sequence-document

WHO DID IT?
└── Operator/analyst → <technique>-document.analyst

Common Instrument-to-ASM Mappings

Note: These mappings are derived from the Benchling allotropy library. For authoritative mappings, consult the parser source code for your specific instrument.

Cell Counter (Vi-CELL BLU)

Source: allotropy/parsers/beckman_vi_cell_blu/vi_cell_blu_structure.py

Instrument FieldASM Field
Sample IDsample_identifier
Analysis date/timemeasurement_time
Analysis byanalyst
Viability (%)viability
Viable (x10^6) cells/mLviable_cell_density
Total (x10^6) cells/mLtotal_cell_density
Cell counttotal_cell_count
Viable cellsviable_cell_count
Average diameter (μm)average_total_cell_diameter
Average viable diameter (μm)average_live_cell_diameter
Average circularityaverage_total_cell_circularity
Cell typecell_type_processing_method (data-processing)
Dilutioncell_density_dilution_factor (data-processing)
Min/Max Diameterminimum/maximum_cell_diameter_setting (data-processing)
Spectrophotometer (NanoDrop)
Instrument FieldASM Field
Sample Namesample_identifier
A260, A280absorbance (with wavelength)
Concentrationmass_concentration
260/280 ratioa260_a280_ratio
Pathlengthpathlength
Plate Reader
Instrument FieldASM Field
Welllocation_identifier
Sample Typesample_role_type
Absorbance/ODabsorbance
Fluorescencefluorescence
Plate IDcontainer_identifier
Chromatography (HPLC)
Instrument FieldASM Field
Sample IDsample_identifier
Injection Volumeinjection_volume
Retention Timeretention_time
Peak Areapeak_area
Peak Heightpeak_height
Column Tempcolumn_oven_temperature
Flow Rateflow_rate

Unit Handling

Only use units explicitly present in source data. If a value has no unit specified:

  • Use (unitless) as the unit value

  • Do NOT infer units based on domain knowledge

Calculated Data Traceability

When creating calculated values, always link them to their source data using data-source-aggregate-document:

{
    "calculated-data-name": "DIN",
    "calculated-result": {"value": 5.8, "unit": "(unitless)"},
    "calculated-data-identifier": "TEST_ID_147",
    "data-source-aggregate-document": {
        "data-source-document": [{
            "data-source-identifier": "TEST_ID_145",
            "data-source-feature": "sample"
        }]
    }
}

This declares: "DIN 5.8 was calculated from the sample at TEST_ID_145."

Why this matters:

  • Audits: Prove a value came from specific raw data

  • Debugging: Trace unexpected results back to their source

  • Reprocessing: Know which inputs to re-analyze if algorithms change

Assign unique IDs to:

  • Measurements, peaks, regions, and calculated values

  • Use a consistent naming pattern (e.g., INSTRUMENT_TYPE_TEST_ID_N)

This enables bidirectional traversal: trace from calculated → raw, or raw → all derived values.


Nested Document Structure (Critical)

A common mistake is "flattening" fields directly onto measurement documents when they should be wrapped in nested structures. This breaks schema compliance and loses semantic context.

Why Nesting Matters

ASM uses nested documents for semantic grouping:

DocumentPurposeContains
sample documentWhat was measuredSample ID, locations, plate identifiers
device control aggregate documentHow instrument operatedSettings, parameters, techniques
custom information documentVendor-specific fieldsNon-standard fields that don't map to ASM
Sample Document Fields

These fields MUST be inside sample document, not flattened on measurement:

// ❌ WRONG - Fields flattened on measurement
{
  "measurement identifier": "TEST_001",
  "sample identifier": "Sample_A",
  "location identifier": "A1",
  "absorbance": {"value": 0.5, "unit": "(unitless)"}
}

// ✅ CORRECT - Fields nested in sample document
{
  "measurement identifier": "TEST_001",
  "sample document": {
    "sample identifier": "Sample_A",
    "location identifier": "A1",
    "well plate identifier": "96WP001"
  },
  "absorbance": {"value": 0.5, "unit": "(unitless)"}
}

Fields belonging in sample document:

  • sample identifier - Sample ID/name

  • written name - Descriptive sample name

  • batch identifier - Batch/lot number

  • sample role type - Standard, blank, control, unknown

  • location identifier - Well position (A1, B3, etc.)

  • well plate identifier - Plate barcode

  • description - Sample description

Device Control Document Fields

Instrument settings MUST be inside device control aggregate document:

// ❌ WRONG - Device settings flattened
{
  "measurement identifier": "TEST_001",
  "device identifier": "Pod1",
  "technique": "Custom",
  "volume": {"value": 26, "unit": "μL"}
}

// ✅ CORRECT - Settings nested in device control
{
  "measurement identifier": "TEST_001",
  "device control aggregate document": {
    "device control document": [{
      "device type": "liquid handler",
      "device identifier": "Pod1"
    }]
  },
  "aspiration volume": {"value": 26, "unit": "μL"}
}

Fields belonging in device control:

  • device type - Type of device

  • device identifier - Device ID

  • detector wavelength setting - Wavelength for detection

  • compartment temperature - Temperature setting

  • sample volume setting - Volume setting

  • flow rate - Flow rate setting

Custom Information Document

Vendor-specific fields that don't map to standard ASM terms go in custom information document:

"device control document": [{
  "device type": "liquid handler",
  "custom information document": {
    "probe": "2",
    "pod": "Pod1",
    "source labware name": "Inducer",
    "destination labware name": "GRP1"
  }
}]
Liquid Handler: Transfer Pairing

For liquid handlers, a measurement represents a complete transfer (aspirate + dispense), not separate operations:

// ❌ WRONG - Separate records for aspirate and dispense
[
  {"measurement identifier": "OP_001", "transfer type": "Aspirate", "volume": {"value": 26, "unit": "μL"}},
  {"measurement identifier": "OP_002", "transfer type": "Dispense", "volume": {"value": 26, "unit": "μL"}}
]

// ✅ CORRECT - Single record with source and destination
{
  "measurement identifier": "TRANSFER_001",
  "sample document": {
    "source well location identifier": "1",
    "destination well location identifier": "2",
    "source well plate identifier": "96WP001",
    "destination well plate identifier": "96WP002"
  },
  "aspiration volume": {"value": 26, "unit": "μL"},
  "transfer volume": {"value": 26, "unit": "μL"}
}

Pairing logic:

  1. Match aspirate and dispense operations by probe number

  2. Create one measurement per matched pair

  3. Use source_* fields for aspirate location

  4. Use destination_* fields for dispense location

  5. Include both aspiration volume and transfer volume

Quick Reference: Nesting Decision
Is this field about...

THE SAMPLE BEING MEASURED?
├── Sample ID, name, batch → sample document
├── Well position → sample document.location identifier
├── Plate barcode → sample document.well plate identifier
└── Source/destination locations → sample document (with prefixes)

INSTRUMENT SETTINGS?
├── Standard settings → device control aggregate document
└── Vendor-specific → custom information document

A MEASUREMENT VALUE?
└── Direct on measurement document (e.g., absorbance, volume)

TRANSFER OPERATION TYPE?
└── DON'T use "transfer type" - pair into single measurement
    with source/destination fields instead
Validation

Use validate_asm.py to check for nesting issues:

python scripts/validate_asm.py output.json --reference known_good.json

The validator checks for:

  • Fields incorrectly flattened on measurements

  • Missing sample document wrapper

  • Missing device control aggregate document wrapper

  • Missing custom information document for vendor fields

  • Liquid handler: separate transfer types instead of paired records

Sources

Requirements and compatibility

Written for: Claude Code, Claude apps

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs an MCP server, Needs Python

Security

What our scanner noticed· Low risk

  • Instructions that use the network
  • Scripts that your agent may run

This skill includes scripts that your agent may run. Read them before you use it.

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Anthropic
Publisher
Anthropic (Official)
Source
anthropics/knowledge-work-plugins · bio-research/skills/instrument-data-to-allotrope · commit e050c2e
Licence
Apache License 2.0 (redistribution allowed)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Anthropic.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download instrument-data-to-allotrope.zip