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/anthaRelated languages
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
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.)