Skip to main content

ClarID reference implementation

ClarID-Tools

Human-readable and compact identifiers for biomedical metadata

Encode and decode subject and biosample identifiers using YAML codebooks.

Illustrative biosampleHuman-readable format
TCGA_AML-HomSap-00001-LIV-TUM-RNA-I25.110-CHL-P1M
TCGA_AMLproject
HomSapspecies
00001subject
LIVtissue
TUMsample type
RNAassay
I25.110condition
CHLtimepoint
P1Mduration

From structured metadata to two identifier formats.

ClarID-Tools validates the codebook and applies its mappings to generate human-readable and compact stub identifiers from the same input record.

Structured biosample metadata and a validated codebook entering ClarID-Tools and producing human-readable and stub identifiers
Use your project's codebook to encode individual records or CSV tables.
ClarID-Pocket showing the decoded fields of the illustrative biosample

Scan and decode ClarID labels on your phone

ClarID-Pocket reads subject and biosample QR labels offline using its bundled ClarID 0.04 codebook. The example shown is the same biosample illustrated above.

QR code for the biosample decoded in the phone screenshot
Scan this example with ClarID-Pocket.

Supported operations

Encode

Generate identifiers

Map individual records or bulk CSV metadata to human or stub subject and biosample identifiers.

Decode

Recover encoded fields

Decode human-readable or stub identifiers back into structured values.

Validate

Check YAML codebooks

Validate codebook structure against the schema before processing data.

QR codes

Create and read QR codes

Generate QR-code PNGs from identifier tables or read identifier text back from QR images.

QR-code examples

Guides, reference, and examples

Start with a working command, inspect the CLI options, or browse example output.