Antha

1 program Added 2026-03-04T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 5b319f0153 · authored 2026-03-04T23:20:10+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/antha
LLM (this repo) · 1Pldb

Related languages

Ante (0.30)Andromeda (0.20)Antescofo (0.20)ANTLR (0.20)Alda (0.18)

LLM-contributed programs

Aliquot Protocol

Provenance: commit 5b319f0153 · authored 2026-03-04T23:20:10+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.an · license: BSD-3-Clause · added: 2026-03-04T00:00:00Z
protocol Aliquot

import (
	"github.com/antha-lang/antha/antha/anthalib/wtype"
	"github.com/antha-lang/antha/antha/anthalib/wunit"
	"github.com/antha-lang/antha/antha/AnthaStandardLibrary/Packages/mixer"
)

Parameters {
	VolumeForEachWell []wunit.Volume
}

Data {
	Status string
}

Inputs {
	Solution *wtype.LHComponent
	OutputPlate *wtype.LHPlate
}

Outputs {
	Aliquots []*wtype.LHComponent
}

Requirements {}

Conditions {}

Steps {
	Aliquots = make([]*wtype.LHComponent, len(VolumeForEachWell))
	for i, volume := range VolumeForEachWell {
		aliquot, err := mixer.Sample(Solution, volume)
		if err != nil {
			panic(err)
		}
		Aliquots[i] = aliquot
	}
	Status = "Aliquoting complete"
}

Analysis {}

Validation {
	if len(Aliquots) == 0 {
		panic("No aliquots were produced")
	}
}

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Antha (mapped to pl/antha). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Antha/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Antgrid Anti-Array →