Repository navigation
CLI Reference
BioLabCalc provides a command-line interface via the biolabcalc binary. The CLI provides 34 specialized subcommands spanning molecular biology calculations, protocol planning, image processing, spreadsheet generation, and web-based laboratory interfaces.
biolabcalc <subcommand> [options]To view global help or help for a specific subcommand:
biolabcalc --help
biolabcalc <subcommand> --help| Flag | Parameter | Description |
|---|---|---|
-V |
--version |
Display BioLabCalc package version (biolabcalc 0.4.0) and exit |
-q |
--quiet |
Quiet mode: suppress startup banners, decorative ASCII borders, and header bars |
-h |
--help |
Show command-line options and usage summary |
Subcommands accepting sequences (mw, ivt, rc, translate, etc.) also support:
-
-s <seq>: Direct sequence string or-s -to read from standard input / UNIX pipes. -
-f <file>: Load sequence from FASTA or plain-text file. -
--json: Output machine-readable structured JSON. -
--compact: Output single-line unindented JSON for shell pipelines.
Subcommands performing biophysical or protocol calculations (pcr, ivt, protein, digest, nanodrop, purity, convert) support:
-
--log-report <filepath>: Automatically captures quantitative results, expected targets, and QC tolerances into an audit-ready multi-step report session (.mdor.json). Running consecutive commands targeting the same file continuously accumulates measurements into a unified laboratory ledger.
| Command | Category | Function |
|---|---|---|
dilute |
General Bench | Solves |
wizard |
General Bench | Interactive guided step-by-step bench calculation wizard |
mw |
Molecular Weight | Calculates average and monoisotopic MW for DNA, RNA, and proteins |
ivt |
Transcription | Calculates IVT yield, NTP consumption, PPi release, and turnover |
pcr |
Amplification | Computes PCR kinetics, dNTP consumption, and plateau cycle |
pcr-opt |
Amplification | Recommends annealing temperatures, extension times, and cycling |
protein |
Protein Science | Direct |
primers |
Primers | Thermodynamic primer pair design with SantaLucia nearest-neighbor |
nanodrop |
Spectroscopy | Standardized solution recipes and predicted NanoDrop |
fluo |
Fluorescence | Fluorophore addition MW and Degree of Labeling (DOL) |
gel |
Electrophoresis | Simulates gel electrophoresis bands against MW ladders in ASCII |
ecoli |
Microbiology | E. coli doubling times, time to target OD, and plasmid/protein yields |
excel-template |
Excel Integration | Generates a 7-sheet dynamic Excel laboratory notebook template |
annotate-gel |
Imaging | Headless gel image lane labeling, ladder mapping, and callouts |
interactive-gel |
Imaging | Launches browser-based drag-and-drop gel calibrator/interpolator |
batch-excel |
Excel Integration | Batch processes sequence tables from an Excel spreadsheet |
digest |
Cloning | Plans single or double restriction enzyme digests with buffer match |
ligate |
Cloning | Calculates T4 DNA ligation insert masses and molar ratios |
gibson |
Cloning | Plans multi-fragment Gibson Assembly / NEBuilder HiFi reactions |
buffer |
Buffers | Computes chemical masses and instructions for standard/custom buffers |
precipitate |
Precipitation | Calculates ethanol/isopropanol nucleic acid precipitation recipes |
ntp-ph |
Transcription | Calculates NaOH volume required to neutralize NTP stocks to pH 7.5 |
golden-gate |
Cloning | Formulates Type IIS Golden Gate assembly reactions and cycling |
purity |
Spectroscopy | Evaluates |
pci |
Extraction | Plans Phenol:Chloroform:Isoamyl alcohol extraction protocols |
ivt-time |
Transcription | Predicts optimal IVT incubation time and kinetic plateau |
hepes |
Buffers | Formulates 10X/5X HEPES-KOH IVT buffer with temperature compensation |
western |
Western Blot | Plans Western blot SDS-PAGE, transfer, antibodies, and troubleshooting |
report |
Data Logging | Records experimental QC data and exports Markdown/Excel/JSON |
eln |
Web Applications | Launches Electronic Lab Notebook (ELN) and LIMS web server |
convert |
Utilities | Converts mass, moles, volume, and concentration with MW support |
batch-csv |
High-Throughput | High-throughput batch sequence analysis from CSV or TSV |
rc |
Sequences | Computes 5' -> 3' reverse complement of DNA or RNA |
translate |
Sequences | Translates nucleotide sequences to amino acids across 6 frames |
setup |
Operations | Interactive first-run setup wizard for network shares and server |
diagnostics |
Operations | Plain-English failure diagnostics, remediation, and log ledger |
portable |
Operations | Inspects zero-install portable runtime environment and mounts |
seq |
Sequences | Sequence catalog management, SHA-256 checksums, and FASTA I/O |
plasmid |
Cloning | Circular plasmid feature inspection, origin rotation, GenBank I/O |
clone-gene |
Cloning | Automated expression plasmid design with frame sync and 7-point audit |
interactive-plasmid |
Visualization | Launches TEA interactive SVG circular plasmid workbench in browser |
print-protocol |
Protocols | Generates printable benchtop companion with master mix overage and plate map |
Solves the universal dilution equation '100 mM', '25 mM', '16 mL').
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-c1 |
--conc1 |
String / Float | None |
Stock concentration (e.g., '100 mM', '10 mg/mL') |
-v1 |
--vol1 |
String / Float | None |
Stock volume to pipette (e.g., '4 mL', '50 uL') |
-c2 |
--conc2 |
String / Float | None |
Target working concentration (e.g., '25 mM') |
-v2 |
--vol2 |
String / Float | None |
Target final volume (e.g., '16 mL') |
biolabcalc dilute -c1 "100 mM" -c2 "25 mM" -v2 "16 mL"=================================================================
DILUTION CALCULATOR (C1 * V1 = C2 * V2)
=================================================================
Stock Concentration (C1): 100.0 mM
Stock Volume to Add (V1): 4.000 mL (4,000.0 Β΅L)
Target Concentration (C2): 25.0 mM
Final Total Volume (V2): 16.000 mL (16,000.0 Β΅L)
Diluent Volume Needed: 12.000 mL (12,000.0 Β΅L)
=================================================================
Launches an interactive, menu-driven CLI wizard guiding researchers through standard benchtop calculations.
The wizard guides researchers interactively through 10 laboratory workflows:
| Option | Workflow Name | Description |
|---|---|---|
[1] |
Solution Dilution | Solves |
[2] |
NTP Solution Prep & pH Adjustment | Neutralizes 100 mM nucleotide stocks to pH 7.5 with 5M NaOH requirements |
[3] |
In Vitro Transcription (IVT) | Calculates RNA yield, NTP stoichiometry, limiting reagents, and turnover |
[4] |
PCR Master Mix Formulation | Formulates master mix volumes for |
[5] |
Laboratory Buffer Formulation | Computes component masses and recipes for catalog or custom buffers |
[6] |
Nucleic Acid Precipitation | Plans ethanol/isopropanol precipitation with salts and optional glycogen carrier |
[7] |
Molecular Weight & Molarity | Computes sequence length, average/monoisotopic MW, and GC percentage |
[8] |
Restriction Digest Planning | Formulates single/double digests, enzyme units, CutSmart buffer, and water |
[9] |
Ligation & Gibson Setup | Calculates insert masses and molar ratios (e.g. 3:1) for molecular cloning |
[10] |
Unit & Stoichiometry Conversion | Universal converter across mass, moles, volumes, and concentrations |
No required options. Alias: biolabcalc interactive.
biolabcalc wizardComputes average and monoisotopic molecular weights, nucleotide/residue lengths, and GC content for DNA, RNA, or protein sequences. For RNA, customized 5', 3', and backbone chemistries can be modeled.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sequence |
String | Required | Sequence string |
-t |
--type |
Choice | dna |
dna, rna, or protein
|
--ds |
Flag | False |
Double-stranded calculation (DNA only) | |
--end-5, --end5
|
Choice | hydroxyl |
5' state: hydroxyl, monophosphate, triphosphate
|
|
--end-3, --end3
|
Choice | hydroxyl |
3' state: hydroxyl, monophosphate, diphosphate, triphosphate, cyclic_phosphate
|
|
--backbone |
Choice | monophosphate |
monophosphate or phosphorothioate
|
biolabcalc mw -s "GGGAGACCCAAGCUGGCCUUGAUCCAG" -t rna --end-5 triphosphate============================================================
Sequence Type: ssRNA
Length: 27
Average MW: 8,859.34 Da
Monoisotopic MW: 8,853.0842 Da
Terminal Chemistry: 5'-triphosphate | 3'-hydroxyl
Backbone Linkage: monophosphate
GC Content: 63.0%
============================================================
Calculates in vitro transcription (IVT) reaction stoichiometry, limiting NTP identification, percentage incorporation efficiency, pyrophosphate (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sequence |
String | Required | Template DNA or RNA sequence |
-v |
--volume |
String / Float | 20.0 uL |
Total reaction volume |
-y |
--yield-ug |
String / Float | 40.0 ug |
Measured or target RNA yield |
--ntp-mm |
Float | 5.0 |
Initial concentration of each NTP (mM) | |
--no-trim-promoter |
Flag | False |
Disables automated 5' promoter trimming | |
--add-gg |
Integer | 0 |
Forces N leading 5' Guanines (e.g., 2 for 5'-GG) |
|
--cap |
Choice | None |
Cap analog: CleanCap_AG, CleanCap_GG, ARCA, m7G
|
|
--mod-ntp |
Choice | None |
Modified nucleotide: m1Psi, Psi, 5moU, m5C
|
|
--buffer |
Choice | hepes |
Reaction buffer: hepes or tris
|
|
--temp |
Float | 37.0 |
Incubation temperature (Β°C) | |
--log-report |
String | None |
Append IVT yield, turnover, and NTP metrics to report file (.md or .json) |
biolabcalc ivt -s "TAATACGACTCACTATAGGGAGACCCAAGCUGGCC" -v "20 uL" -y "48 ug" --ntp-mm 5.0=================================================================
IN VITRO TRANSCRIPTION (IVT) YIELD & STOICHIOMETRY
=================================================================
Transcribed RNA Length: 18 nt
RNA Molecular Weight: 5,966.62 Da
Promoter Trimmed: T7 (17 nt removed)
Initiation Rating: OPTIMAL (5'-GGG motif)
Measured RNA Yield: 48.00 Β΅g (8.0 pmol)
Theoretical Maximum: 66.29 Β΅g (Limiting: ATP)
Incorporation Efficiency: 72.4%
Pyrophosphate (PPi): 23.32 Β΅g (136.78 nmol)
Free Initial Mg2+: 4.0 mM
Protons (H+) Released: 136.78 nmol
Optimal Incubation Time: ~2.00 hours at 37Β°C
Buffer Evaluation: HEPES recommended (preserves neutral pH against H+ release)
=================================================================
Models exponential PCR amplification kinetics, primer/template copy numbers, cycle-by-cycle dNTP depletion, and plateaus.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-l |
--length |
Integer | Required | Amplicon length in base pairs |
-t |
--template-ng |
String / Float | Required | Initial template mass (e.g., '10 ng', 10) |
-c |
--cycles |
Integer | 30 |
Number of thermocycling cycles |
--log-report |
String | None |
Append amplicon yield, copy number, and efficiency to report file (.md or .json) |
biolabcalc pcr -l 850 -t 10 -c 30=================================================================
PCR KINETICS & REACTION STOICHIOMETRY
=================================================================
Amplicon Length: 850 bp (MW: 524,800.00 Da)
Initial Template: 10.0 ng (10,854,924 copies)
Cycles Run: 30 (Efficiency: 95.0%)
Amplicon Yield: 1,850.40 ng (3.526 pmol)
Limiting Reagent: dNTPs (dGTP)
Plateau Cycle: Cycle 28
Theoretical Max: 2.45 Β΅g
=================================================================
Calculates recommended annealing temperatures (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
--fwd-tm, --tm-fwd
|
Float | Required | Forward primer |
|
--rev-tm, --tm-rev
|
Float | Required | Reverse primer |
|
-l |
--length |
Integer | Required | Amplicon length in base pairs |
-p |
--polymerase, --poly
|
Choice | taq |
Polymerase: taq, q5, phusion, kapa
|
--gc |
Float | 50.0 |
Amplicon GC percentage |
biolabcalc pcr-opt --fwd-tm 61.5 --rev-tm 62.0 -l 1200 -p q5 --gc 58.0============================================================
PCR PROTOCOL OPTIMIZATION
============================================================
Polymerase: Q5
Recommended Annealing Ta: 64.5 Β°C
Denaturation: 98 Β°C (30 sec)
Extension Time: 36 sec at 72 Β°C (30 sec/kb)
Touchdown Profile: Start at 69.5 Β°C for 5 cycles
Cycling Schedule: 30-35 cycles: 98Β°C 10s, 64.5Β°C 15s, 72Β°C 36s
============================================================
Quantifies protein concentrations and total yields from ultraviolet absorbance readings at 280 nm (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sequence |
String | Required | Amino acid sequence (one-letter code) |
-a |
--a280 |
Float | Required | Absorbance at 280 nm |
-v |
--volume-ml |
Float | 1.0 |
Purified stock volume in mL |
--log-report |
String | None |
Append protein concentration, total yield, and molarity to report file (.md or .json) |
biolabcalc protein -s "MKWVTFISLLLLFSSAYSRGVFRRDTHKSEIAHRFKDLGE" -a 0.850 -v 2.5=================================================================
PROTEIN QUANTIFICATION (A280 BEER-LAMBERT)
=================================================================
Sequence Length: 40 aa
Molecular Weight: 4,668.42 Da
Molar Extinction Ξ΅280: 5,500 M^-1 cm^-1
Concentration: 0.7215 mg/mL (721.46 Β΅g/mL)
Molarity: 154.54 Β΅M
Total Yield: 1.8036 mg (1,803.6 Β΅g)
=================================================================
Performs thermodynamic primer pair design on target DNA sequences using SantaLucia nearest-neighbor parameters, reporting
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sequence |
String | Required | Target template DNA sequence |
--target-tm |
Float | 60.0 |
Target melting temperature (Β°C) |
biolabcalc primers -s "ATGCCGTCCAGGCTGCTGGTCCTCGCTCTGCTGCCACTGCTGCTGAGCCAGGCAGTGAGCGTGTCACCACTGG" --target-tm 60.0======================================================================
THERMODYNAMIC PRIMER DESIGN RESULTS (5 pairs found)
======================================================================
Pair #1 (Score: 94.2, Amplicon: 74 bp, ΞTm: 0.8Β°C):
Forward: ATGCCGTCCAGGCTGCT (Tm: 60.4Β°C, GC: 64.7%, Clamp: True)
Reverse: CCAGTGGTGACACGCTC (Tm: 59.6Β°C, GC: 64.7%, Clamp: True)
======================================================================
Calculates pipetting recipes to achieve target micromolar concentrations and predicts exact expected NanoDrop readings, including raw 1 mm pedestal values and sequence-specific extinction corrections.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-u, -m
|
--molarity-um |
Float | Required | Target molarity in Β΅M (e.g., 4.0) |
-v |
--volume-ul |
Float | Required | Target volume in Β΅L (e.g., 500.0) |
-t |
--type |
Choice | rna |
rna, dna, ssdna, dsdna, protein
|
-s |
--sequence |
String | None |
Optional sequence string |
-l |
--length |
Integer | 100 |
Sequence length (used if sequence omitted) |
--stock-ng-ul, --stock
|
Float | None |
Stock concentration for dilution | |
--end-5, --end5
|
Choice | hydroxyl |
5' state: hydroxyl, monophosphate, triphosphate
|
|
--log-report |
String | None |
Append solution recipe, target molarity, and expected A260 to report file (.md or .json) |
biolabcalc nanodrop -u 4.0 -v 500.0 -t rna --length 36 --stock-ng-ul 600.0======================================================================
STANDARDIZED SOLUTION PREPARATION & NANODROP PREDICTIONS
======================================================================
Target Solution: 4.0 Β΅M in 500.0 Β΅L (ssRNA)
Biomolecule MW: 11,610.00 g/mol (Da)
Required Moles: 2.000 nmol (2,000.0 pmol)
Required Mass: 23.220 Β΅g (23,220.0 ng)
Actual Physical Conc.: 46.44 ng/Β΅L
----------------------------------------------------------------------
WHAT YOU SHOULD GET AT THE NANODROP:
Expected A260 (10 mm path): 1.161 AU (Generic factor mode)
Expected A260 (1 mm pedestal): 0.1161 AU (Raw pedestal reading)
Reading in NanoDrop RNA-40 Mode:46.44 ng/Β΅L
Expected A260/A280 Ratio: ~2.00 (Pure RNA)
----------------------------------------------------------------------
Protocol: Dilute 38.70 Β΅L of 600.0 ng/Β΅L stock with 461.30 Β΅L buffer to reach 500.0 Β΅L.
======================================================================
Calculates molecular weight increments and spectral parameters (excitation, emission, extinction coefficients, and correction factors $\text{CF}{260}/\text{CF}{280}$) for fluorophore-conjugated molecules.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sequence |
String | None |
Macromolecular sequence |
-t |
--type |
Choice | dna |
dna, rna, or protein
|
-d |
--dye |
String | None |
Dye identifier (e.g., FAM, Cy3, Cy5, Alexa488) |
--info |
String | None |
Query fluorophore database parameters (e.g. --info FAM) |
|
--dol |
Flag | False |
Calculate Degree of Labeling (DOL) | |
--a-dye |
Float | None |
Absorbance at dye absorbance maximum ( |
|
--a280 |
Float | None |
Absorbance at 280 nm for protein conjugate | |
--a260 |
Float | None |
Absorbance at 260 nm for oligonucleotide conjugate | |
--prot-e280 |
Float | None |
Protein extinction coefficient |
|
--dna-e260 |
Float | None |
Oligo extinction coefficient |
|
--pathlength |
Float | 1.0 |
Cuvette pathlength in cm |
Fluorophore Modification:
biolabcalc fluo -s "ATGCCGTCCAGGCTGCT" -t dna -d FAM============================================================
FLUOROPHORE MODIFICATION: 6-FAM
============================================================
Unmodified MW: 5,248.40 Da
Modified MW: 5,785.90 Da (+537.5 Da)
Excitation / Emission:495 nm / 520 nm (Green / FITC channel)
Extinction Coeff: 75,000 M^-1 cm^-1
Correction Factors: CF260 = 0.30 | CF280 = 0.17
============================================================
Fluorophore Information Query:
biolabcalc fluo --info FAMDegree of Labeling (DOL) Calculation:
biolabcalc fluo --dol -d ALEXA488 --a-dye 0.820 --a280 0.640 --prot-e280 210000Simulates relative electrophoretic migration (
BioLabCalc includes 7 standard molecular weight ladder catalogs spanning DNA, RNA, and protein electrophoresis:
| Ladder Key | Formal Catalog Name | Unit | Size Range | Reference Bands | Optimal Matrix |
|---|---|---|---|---|---|
1kb_dna |
1 kb DNA Ladder | bp | 500 β 10,000 bp | 3,000 bp, 1,000 bp | 0.8% β 1.2% Agarose |
100bp_dna |
100 bp DNA Ladder | bp | 100 β 1,517 bp | 500 bp | 1.5% β 2.0% Agarose |
low_range_ssdna |
Low Range ssDNA/RNA Oligo Ladder | nt | 10 β 100 nt | 50 nt | 10% β 15% Urea-PAGE |
protein_broad |
Broad Range Prestained Protein Ladder | kDa | 10 β 250 kDa | 70 kDa, 25 kDa | 4% β 20% SDS-PAGE |
ssrna_ladder |
ssRNA High Range Ladder | nt | 500 β 9,000 nt | 1,000 nt | 1.2% Formaldehyde/MOPS |
low_range_ssrna |
Low Range ssRNA Ladder | nt | 50 β 1,000 nt | 500 nt | 2.0% Formaldehyde/MOPS |
microrna_ladder |
microRNA / Small RNA Ladder | nt | 17 β 25 nt | 21 nt | 15% Urea-PAGE |
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sizes |
Float list | Required | Space-separated band sizes (bp, nt, or kDa) |
-l |
--ladder |
Choice | 1kb_dna |
Choice of 7 ladders: 1kb_dna, 100bp_dna, low_range_ssdna, protein_broad, ssrna_ladder, low_range_ssrna, microrna_ladder
|
biolabcalc gel -s 500 1200 3500 -l 1kb_dnaCalculates bacterial culture generation times, hours required to reach induction
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
--init-od |
Float | 0.05 |
Initial culture |
|
--target-od |
Float | 0.60 |
Target induction |
|
--temp |
Float | 37.0 |
Growth temperature (Β°C) | |
--media |
Choice | LB |
Growth media: LB, 2xYT, TB, M9
|
|
--plasmid |
String | pUC |
Plasmid replicon type: pUC, pET, pBR322
|
|
--vol-ml |
Float | 1000.0 |
Culture volume in mL |
biolabcalc ecoli --init-od 0.05 --target-od 0.65 --media LB --vol-ml 500============================================================
E. COLI GROWTH & PLASMID OPTIMIZATION
============================================================
Doubling Time: 20.0 min (LB at 37.0Β°C)
Time from OD 0.05 to 0.65: 1h 14m (3.7 doublings)
Cell Density at Target OD: 520,000,000 cells/mL
------------------------------------------------------------
Estimated Plasmid Yield (pUC, 500 mL culture):
Theoretical Yield: 1,450.0 Β΅g
Typical Kit Recovery: 797.5 Β΅g
============================================================
Generates an authoritative, 7-sheet dynamic laboratory notebook template (.xlsx) populated with formulas, conditional formatting, and standard curve regression engines.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-o |
--output |
String | biolabcalc_notebook.xlsx |
Output Excel file path |
biolabcalc excel-template -o "Q4_Project_Notebook.xlsx"Renders publication-ready annotated gel figures (PNG) from raw gel images or synthetic schematics. Supports lane labeling, ladder mapping, callout arrows, and embedding directly into an Excel workbook.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-i |
--image |
String | None |
Path to raw gel image (TIFF, PNG, JPG). If omitted, renders synthetic gel. |
-l |
--lanes |
String | Ladder,Ctrl,Sample1,Sample2 |
Comma-separated lane names |
--ladder |
Choice | 1kb_dna |
Ladder type: 1kb_dna, 100bp_dna, low_range_ssdna, protein_broad_range
|
|
--ladder-lane |
Integer | 1 |
1-based ladder lane number | |
--ladder-side |
Choice | left |
MW scale placement: left or right
|
|
-b |
--bands |
String | None |
Bands to annotate: 'lane:size:label' separated by commas |
-t |
--title |
String | Agarose Gel Electrophoresis Analysis |
Figure title |
--info |
String | 1.0% Agarose... |
Subtitle describing gel conditions | |
-o |
--output |
String | annotated_gel.png |
Output figure path |
--excel |
String | None |
Target Excel file to embed figure and lane table | |
--invert |
Flag | False |
Inverts image colors | |
--font-family |
String | Arial, Helvetica, sans-serif |
Font family for all canvas text and badges | |
--font-scale |
Float | 1.0 |
Font scaling factor ( |
|
--show-lane-numbers |
Flag | True |
Displays lane number badge indicators | |
--hide-lane-numbers |
Flag | False |
Suppresses lane number badges | |
--lane-number-style |
Choice | circle |
Badge style: circle, square, or plain
|
|
--lane-number-format |
Choice | numeric |
Format: numeric (1), prefixed_L (L1), prefixed_lane (Lane 1), alpha (A), roman (I) |
|
--include-table |
Flag | False |
Appends formatted lane sample designation table below the gel figure |
biolabcalc annotate-gel \
-l "Ladder,Uncut,Digest" \
--ladder 1kb_dna \
-b "3:3200:Backbone,3:850:Insert" \
-t "Cloning Verification" \
--font-family "Arial, Helvetica, sans-serif" \
--font-scale 1.1 \
--lane-number-style circle \
--lane-number-format prefixed_L \
--include-table \
-o "annotated_clones.png" \
--excel "Cloning_Log.xlsx"Launches the client-side drag-and-drop gel annotator and molecular weight calculator in a web browser, or exports the standalone offline HTML file.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-p |
--port |
Integer | 8501 |
Local web server port |
--save-html |
String | None |
Path to export self-contained offline HTML file | |
--no-browser |
Flag | False |
Suppresses automatic browser launch |
# Launch interactive local server
biolabcalc interactive-gel --port 8501
# Or export standalone HTML for air-gapped computers
biolabcalc interactive-gel --save-html "gel_tool.html"Reads a multi-row sequence table from an Excel file (.xlsx), validates sequences, computes molecular weights, extinction coefficients, and molar equivalents, and writes an annotated results workbook.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-i |
--input |
String | Required | Input .xlsx file containing sequence records |
-o |
--output |
String | batch_results.xlsx |
Output annotated .xlsx file path |
biolabcalc batch-excel -i "oligo_order.xlsx" -o "oligo_analysis.xlsx"Plans single or double restriction endonuclease digestion reactions, identifying compatible buffers (rCutSmart, NEBuffer series), incubation temperatures, heat-inactivation protocols, and pipetting recipes.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
--dna-ug |
Float | Required | Substrate DNA mass in Β΅g | |
-v |
--volume |
Float | 50.0 |
Total reaction volume in Β΅L |
-e1 |
--enzyme-1 |
String | EcoRI |
First restriction enzyme name |
-e2 |
--enzyme-2 |
String | None |
Optional second enzyme for double digest |
--dna-conc |
Float | None |
Stock DNA concentration (ng/Β΅L) | |
--log-report |
String | None |
Append digestion reaction parameters and enzyme volumes to report file (.md or .json) |
biolabcalc digest --dna-ug 2.0 -v 50.0 -e1 EcoRI-HF -e2 BamHI-HF --dna-conc 250.0=================================================================
RESTRICTION DIGESTION SETUP
=================================================================
Enzyme 1: EcoRI-HF (G^AATTC, 5_prime_sticky)
Enzyme 2: BamHI-HF (G^GATCC, 5_prime_sticky)
Recommended Buffer: rCutSmart Buffer (100% activity for both enzymes)
Incubation: 37Β°C for 60 min
Heat Inactivation: Inactivate at 80Β°C for 20 min (or column purify)
-----------------------------------------------------------------
Pipetting Recipe:
DNA Template (250.0 ng/Β΅L) : 8.00 Β΅L
10X rCutSmart Buffer : 5.00 Β΅L
EcoRI-HF (20 U/Β΅L) : 1.00 Β΅L (20 U)
BamHI-HF (20 U/Β΅L) : 1.00 Β΅L (20 U)
Nuclease-Free Water : 35.00 Β΅L
Total Reaction Volume : 50.00 Β΅L
=================================================================
Calculates required insert DNA mass and pipetting setup for sticky- or blunt-end T4 DNA ligations based on vector size, insert size, and target molar ratio.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
--vec-bp |
Integer | Required | Vector length in base pairs | |
--ins-bp |
Integer | Required | Insert length in base pairs | |
--vec-ng |
Float | 50.0 |
Vector mass in ng | |
-r |
--ratio |
Float | 3.0 |
Insert:vector molar ratio |
-v |
--volume |
Float | 20.0 |
Reaction volume in Β΅L |
biolabcalc ligate --vec-bp 4200 --ins-bp 850 --vec-ng 50 --ratio 3.0=================================================================
DNA LIGATION SETUP
=================================================================
Vector (4200 bp): 50.0 ng (0.018 pmol)
Insert (850 bp): 30.4 ng (0.054 pmol)
Molar Ratio (Insert:Vector):3.0 : 1
-----------------------------------------------------------------
Pipetting Recipe:
Vector DNA : 2.00 Β΅L
Insert DNA : 3.04 Β΅L
10X T4 DNA Ligase Buffer : 2.00 Β΅L
T4 DNA Ligase (400 U/Β΅L) : 1.00 Β΅L
Nuclease-Free Water : 11.96 Β΅L
Protocol: Incubate at 16Β°C for 2-16 hours or room temp (22Β°C) for 2 hours.
=================================================================
Formulates multi-fragment isothermal assembly reactions (Gibson Assembly / NEBuilder HiFi), computing picomolar quantities, fragment masses, and master mix pipetting volumes.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
--vec-bp |
Integer | Required | Destination vector length in bp | |
--ins-bp |
Int list | Required | Space-separated insert lengths in bp | |
--vec-ng |
Float | 100.0 |
Vector mass in ng | |
-r |
--ratio |
Float | 2.0 |
Molar ratio of inserts to vector |
biolabcalc gibson --vec-bp 5000 --ins-bp 1200 800 --vec-ng 100 --ratio 2.0=================================================================
GIBSON ASSEMBLY / NEBUILDER SETUP
=================================================================
Vector (5000 bp): 100.0 ng
Insert #1 (1200 bp): 48.0 ng
Insert #2 (800 bp): 32.0 ng
Total DNA Input: 0.092 pmol (Optimal: 0.02 - 0.2 pmol)
-----------------------------------------------------------------
Pipetting Recipe:
DNA Fragment Pool : 10.00 Β΅L
2X NEBuilder / Gibson Master Mix : 10.00 Β΅L
Protocol: Incubate at 50Β°C for 60 minutes in a thermocycler with heated lid.
=================================================================
Calculates chemical masses, stock volumes, and pH adjustment instructions for standard and custom laboratory buffers. Supports volume scaling and an interactive custom buffer builder.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-b |
--buffer |
String | None |
Buffer name (e.g., 50X_TAE, 10X_PBS, 10X_HEPES_IVT) |
-v |
--volume-ml |
Float | 1000.0 |
Target preparation volume in mL |
--custom |
Flag | False |
Launches interactive custom buffer builder | |
--list |
Flag | False |
Lists all standard and custom buffers | |
--list-custom |
Flag | False |
Lists custom buffers saved on disk |
biolabcalc buffer -b "10X_PBS" -v 2000=================================================================
BUFFER RECIPE: 10X Phosphate Buffered Saline (PBS)
=================================================================
Target Volume: 2,000 mL (2.00 L)
Target pH: 7.4 Β± 0.1 at 25Β°C
Storage: Room temperature (15-25Β°C)
-----------------------------------------------------------------
Reagent Formulations:
Sodium chloride (NaCl) : 160.000 g [1.37 M] (7647-14-5)
Potassium chloride (KCl) : 4.000 g [27 mM] (7447-40-7)
Disodium phosphate (Na2HPO4): 28.800 g [100 mM] (7558-79-4)
Monopotassium phosphate : 4.900 g [18 mM] (7778-77-0)
-----------------------------------------------------------------
Preparation Instructions:
1. Dissolve reagents in 1600 mL distilled H2O.
2. Adjust pH to 7.4 with concentrated HCl or NaOH.
3. Add distilled H2O to final volume of 2000 mL. Autoclave or filter sterilize.
=================================================================
Generates volume-scaled ethanol or isopropanol precipitation protocols for DNA or RNA, including salt choices, glycogen carrier additions, and centrifugation speeds.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-v |
--volume-ul |
Float | Required | Aqueous sample volume in Β΅L |
-t |
--type |
Choice | dna |
Nucleic acid type: dna or rna
|
-a |
--alcohol |
Choice | ethanol |
Alcohol: ethanol or isopropanol
|
-s |
--salt |
Choice | naoac |
Salt: naoac, nh4oac, licl, nacl
|
--carrier / --no-carrier
|
Flag | True |
Include or exclude glycogen carrier |
biolabcalc precipitate -v 100 -t rna -a ethanol -s naoac=================================================================
NUCLEIC ACID PRECIPITATION PROTOCOL (ssRNA)
=================================================================
Sample Volume: 100.0 Β΅L
Salt Added: Sodium Acetate 3M pH 5.2 (10.0 Β΅L, 0.1 vol)
Alcohol Added: 100% Cold Ethanol (275.0 Β΅L, 2.5 vol)
Carrier Added: Glycogen (20 mg/mL) (1.0 Β΅L)
-----------------------------------------------------------------
Procedure:
1. Incubation: -20Β°C for 1 hour or -80Β°C for 30 minutes.
2. Centrifuge: Spin at β₯ 16,000 x g for 30 min at 4Β°C.
3. Supernatant: Carefully aspirate supernatant without dislodging pellet.
4. Wash: Add 200 Β΅L 70% ethanol, spin 5 min, remove supernatant.
5. Dry: Air-dry pellet for 5-10 min (do not over-dry).
6. Resuspend: Resuspend in nuclease-free water or 1 mM sodium citrate pH 6.4.
=================================================================
Calculates the exact volume of sodium hydroxide (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-v, -v1
|
--initial-vol |
Float | 4.0 |
Initial stock volume in mL |
-c, -c1
|
--initial-conc |
Float | 100.0 |
Initial stock concentration in mM |
-V, -v2
|
--target-vol |
Float | 16.0 |
Target final volume in mL |
-C, -c2
|
--target-conc |
Float | 25.0 |
Target final concentration in mM |
-p |
--target-ph, --ph
|
Float | 7.5 |
Target pH |
-f |
--form, --starting-form
|
Choice | disodium_salt |
Chemical form: disodium_salt, pre_neutralized, free_acid
|
-s |
--species |
Choice | equimolar_mix |
equimolar_mix, ATP, CTP, GTP, UTP
|
-b |
--base-molarity |
Float | 5.0 |
Molarity of NaOH stock in M |
biolabcalc ntp-ph -v 4.0 -c 100.0 -V 16.0 -C 25.0 -f disodium_salt=================================================================
NTP SOLUTION PREPARATION & pH ADJUSTMENT
=================================================================
Target Solution: 25.0 mM equimolar_mix (Total Volume: 16.0 mL)
Target pH: 7.50
Starting Stock: 4.0 mL @ 100.0 mM (disodium_salt)
Total NTP Quantity: 400.0 Β΅mol (0.400 mmol)
OH- Equivalents: 0.850 eq / mol NTP
Total NaOH Required: 340.0 Β΅mol (0.3400 mmol)
-----------------------------------------------------------------
Calculated NaOH Volumes by Stock Concentration:
5M NaOH: 68.0 Β΅L (0.068 mL)
10M NaOH: 34.0 Β΅L (0.034 mL)
Diluent Water (approx): 11.932 mL (bring to 16.0 mL mark)
=================================================================
Calculates one-pot assembly stoichiometry and thermocycling schedules for Golden Gate cloning using Type IIS restriction enzymes (BsaI, BsmBI, BbsI).
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
--vec-bp |
Integer | Required | Destination vector length in bp | |
--ins-bp |
Int list | Required | Space-separated insert lengths in bp | |
--fmol |
Float | 20.0 |
Target vector quantity in fmol | |
--enzyme |
String | BsaI-HFv2 |
Type IIS enzyme name | |
--ratio |
Float | 2.0 |
Insert:vector molar ratio |
biolabcalc golden-gate --vec-bp 4500 --ins-bp 1200 650 --fmol 20 --enzyme BsaI-HFv2=================================================================
GOLDEN GATE ASSEMBLY SETUP (BsaI-HFv2)
=================================================================
Vector (4500 bp): 59.2 ng (20.0 fmol)
Insert #1 (1200 bp): 31.6 ng (40.0 fmol)
Insert #2 (650 bp): 17.1 ng (40.0 fmol)
Insert:Vector Molar Ratio: 2.0 : 1
Total DNA Mass: 107.9 ng
-----------------------------------------------------------------
1-Pot Pipetting Recipe:
T4 DNA Ligase Buffer (10X) : 2.00 Β΅L
T4 DNA Ligase : 1.00 Β΅L
Type IIS Enzyme (BsaI-HFv2) : 1.00 Β΅L
DNA Pool (Vector + Inserts) : 10.00 Β΅L
Nuclease-Free Water : 6.00 Β΅L
-----------------------------------------------------------------
Thermocycling Schedule:
30 cycles of: 37Β°C for 3 min (digest) -> 16Β°C for 4 min (ligate)
Final digestion: 50Β°C for 5 min
Heat inactivation: 80Β°C for 10 min
=================================================================
Analyzes micro-volume spectrophotometer absorbance readings (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
--a260 |
Float | Required | Absorbance at 260 nm | |
--a280 |
Float | Required | Absorbance at 280 nm | |
--a230 |
Float | Required | Absorbance at 230 nm | |
-t |
--type |
Choice | rna |
Sample type: rna or dna
|
--log-report |
String | None |
Append A260/A280, A260/A230 ratios and purity metrics to report file (.md or .json) |
biolabcalc purity --a260 1.250 --a280 0.625 --a230 0.580 -t rna=================================================================
NANODROP NUCLEIC ACID PURITY ASSESSMENT (ssRNA)
=================================================================
Absorbance Readings: A260 = 1.250 | A280 = 0.625 | A230 = 0.580
A260 / A280 Ratio: 2.00 (Ideal: ~2.0 for RNA, ~1.8 for DNA)
A260 / A230 Ratio: 2.16 (Ideal: 2.0 β 2.2)
Purity Status: PURE
Estimated True Conc.: 50.0 ng/Β΅L
-----------------------------------------------------------------
Diagnostic Observations:
* Pure RNA spectrum. Ratios match standard benchmarks.
=================================================================
Formulates Phenol:Chloroform:Isoamyl alcohol (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-v |
--volume |
Float | Required | Aqueous sample volume in Β΅L |
-t |
--type |
Choice | rna |
Target: rna or dna
|
--ph |
Float | None |
Phenol pH (4.5 for RNA, 8.0 for DNA) |
biolabcalc pci -v 200 -t rna=================================================================
PHENOL:CHLOROFORM EXTRACTION PROTOCOL
=================================================================
Reagent Grade: Acid Phenol:Chloroform (pH 4.5 Β± 0.2)
Target Nucleic Acid: RNA (DNA partitions into organic/interphase)
Aqueous Phase Behavior: Upper aqueous phase contains target RNA
-----------------------------------------------------------------
Pipetting Recipe:
Acid Phenol:Chloroform (25:24:1) : 200.00 Β΅L (1:1 vol)
Chloroform:Isoamyl Alcohol (24:1) : 200.00 Β΅L (back extraction)
-----------------------------------------------------------------
Protocol Steps:
1. Add 200.0 Β΅L Acid Phenol:Chloroform to 200.0 Β΅L sample.
2. Vortex vigorously for 30 seconds.
3. Centrifuge at 16,000 x g for 5 minutes at 4Β°C.
4. Transfer upper aqueous phase (~180 Β΅L) to fresh tube.
5. Add 180.0 Β΅L Chloroform:Isoamyl alcohol to remove residual phenol.
6. Centrifuge 5 min at 4Β°C and recover final aqueous phase.
=================================================================
Predicts the kinetic trajectory of in vitro transcription reactions, recommending incubation times that maximize full-length yield while minimizing
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-l |
--length |
Integer | Required | Transcript length in nucleotides |
--temp |
Float | 37.0 |
Incubation temperature (Β°C) | |
--no-ipp |
Flag | False |
Omits inorganic pyrophosphatase (IPP) |
biolabcalc ivt-time -l 1500 --temp 37.0=================================================================
IVT TRANSCRIPTION TIME & KINETIC OPTIMIZATION (1500 nt)
=================================================================
Incubation Temperature: 37.0 Β°C (Standard T7)
Recommended Reaction Time: 2.00 hours (Window: 1.5β2.5 h)
Plateau Time: ~2.50 hours
3' Heterogeneity Hazard: Low (Reaction terminated before NTP starvation)
Degradation Hazard: Low
-----------------------------------------------------------------
Predicted Synthesis Trajectory:
0.50 h : 35.0% yield -> Exponential Phase
1.00 h : 68.0% yield -> Linear Phase
1.50 h : 88.0% yield -> Deceleration Phase
2.00 h : 96.0% yield -> Near Plateau
2.50 h : 100.0% yield -> Full Plateau
=================================================================
Calculates recipes for concentrated (10X or 5X) HEPES-KOH IVT reaction buffers, compensating for temperature-dependent ionization shifts (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-v |
--volume |
String | 50 mL |
Buffer stock preparation volume |
--stock |
Integer | 10 |
Concentration factor (e.g., 10 for 10X) |
|
--ph |
Float | 7.50 |
Target pH at reaction temperature (37Β°C) |
biolabcalc hepes -v "50 mL" --stock 10 --ph 7.50======================================================================
10X HEPES-KOH IVT REACTION BUFFER RECIPE (50.0 mL)
======================================================================
Target Reaction pH (37Β°C): 7.50
Preparation pH (25Β°C): 7.67 (compensates for ΞpKa/ΞT = -0.014/Β°C)
----------------------------------------------------------------------
Component Formula & Concentrations:
HEPES free acid : 4.766 g (400 mM in 10X)
KOH pellets (or 5M KOH) : Adjust to pH 7.67 at 25Β°C
Magnesium acetate : 2.145 g (200 mM in 10X)
Spermidine : 0.145 g (20 mM in 10X)
DTT : 0.771 g (100 mM in 10X)
----------------------------------------------------------------------
Buffer Advantage: HEPES does not chelate Mg2+ and maintains pH during H+ release.
======================================================================
Generates experimental plans for Western blotting (SDS-PAGE matrix percentage, transfer parameters, lysate loading recipes, antibody dilutions) and diagnoses common blot artifacts.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-n, -target
|
--name, --target
|
String | Target Protein |
Target protein name |
-m |
--mw |
Float | None |
Target molecular weight in kDa |
-c |
--conc |
Float | 2.5 |
Lysate concentration in mg/mL |
-l, --ug
|
--load-ug |
Float | 20.0 |
Target protein mass per lane (Β΅g) |
--phospho |
Flag | False |
Phospho-specific target (enforces BSA blocking) | |
--membrane-protein, --membrane
|
Flag | False |
Transmembrane target (enforces 70Β°C denaturation) | |
--transfer |
Choice | wet_tank |
Transfer method: wet_tank, semi_dry, fast_semi_dry
|
|
--membrane |
Choice | pvdf |
Membrane: pvdf or nitrocellulose
|
|
--troubleshoot |
String | None |
Artifact symptom to diagnose |
biolabcalc western -n "GluK2 Kainate Receptor" -m 100.0 -c 2.5 -l 25.0 --membrane-protein======================================================================
WESTERN BLOT EXPERIMENTAL PLAN: GluK2 Kainate Receptor (100.0 kDa)
======================================================================
1. GEL RESOLUTION & RUNNING CONDITIONS:
Recommended Matrix: 8% SDS-PAGE (Tris-Glycine)
Running Parameters: 80V through stacking gel (20 min), then 120V (70 min)
----------------------------------------------------------------------
2. SAMPLE PREPARATION & LOADING (Target: 25.0 Β΅g / lane):
Lysate Stock Conc: 2.50 mg/mL
Per-Lane Volumes: 10.00 Β΅L Lysate + 3.33 Β΅L 4X Sample Buffer
Denaturation: 70Β°C for 10 minutes (transmembrane protein: DO NOT BOIL)
----------------------------------------------------------------------
3. ELECTROTRANSFER CONDITIONS (WET_TANK -> PVDF):
Membrane Pore Size: 0.45 Β΅m
Membrane Activation: Pre-wet in 100% Methanol for 30 sec, then equilibrate in transfer buffer
Transfer Buffer: Towbin Buffer with 10% Methanol + 0.05% SDS
Transfer Run: 100V constant for 90 min at 4Β°C with ice pack
----------------------------------------------------------------------
4. IMMUNODETECTION & BLOCKING:
Blocking Solution: 5% Non-fat Dry Milk in 1X TBST (1 hour at RT)
Primary Antibody: 1:1000 dilution in 5% BSA/TBST (Overnight at 4Β°C)
======================================================================
biolabcalc western --troubleshoot ghost_bands======================================================================
WESTERN BLOT DIAGNOSTIC & TROUBLESHOOTING: ghost_bands
======================================================================
Likely Root Causes:
* Substrate burnout / ECL substrate exhaustion due to excessive HRP activity
* Excessive secondary antibody concentration
Corrective Actions:
[+] Dilute secondary antibody 2- to 5-fold further (e.g. 1:10,000 instead of 1:2,000)
[+] Reduce exposure time or re-incubate membrane with fresh ECL substrate
======================================================================
Records wet-lab measurements against target specifications, applies automated QC tolerance evaluations (PASS, FLAGGED, FAIL), and exports structured reports to Markdown, Excel, CSV, or JSON.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-t |
--title |
String | Laboratory Experiment Report |
Experiment title |
-r |
--researcher |
String | Researcher |
Experimenter name |
-p |
--project |
String | General |
Project / notebook ID |
--obj, --objective
|
String | "" |
Experimental objective | |
-s |
--sample |
String | None |
Sample ID (e.g., Sample_1) |
--param |
String | None |
Assay or parameter (e.g., Yield) |
|
-v |
--value, --val
|
Float | None |
Measured value |
-u |
--unit |
String | "" |
Measurement unit |
--target |
Float | None |
Expected target value | |
--tolerance, --tol
|
Float | None |
Deviation tolerance (%) | |
--conclusion |
String | None |
Add conclusion or key takeaway | |
-o |
--output |
String | None |
Output path (.md, .xlsx, .csv, .json) |
--interactive |
Flag | False |
Launches interactive terminal data recorder |
biolabcalc report \
-t "IVT Batch QC" \
-r "K. Vance" \
-s "IVT_Batch_01" \
--param "RNA_Yield" \
-v 48.2 \
-u "ug" \
--target 50.0 \
--tolerance 10.0 \
-o "Batch_01_QC.md"Launches the Electronic Lab Notebook (ELN) and Laboratory Information Management System (LIMS) web server.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-p |
--port |
Integer | 8080 |
Local HTTP port |
--host |
String | 127.0.0.1 |
Network interface binding | |
--db-url |
String | None |
SQLite / PostgreSQL connection URL | |
--no-browser |
Flag | False |
Suppresses automatic browser launch | |
-q |
--quiet |
Flag | False |
Quiet mode: suppress startup banners and routing logs to standard output |
biolabcalc eln --port 8080 -qUniversal laboratory unit and stoichiometry converter. Supports intra-domain unit conversions (mass, volume, molarity, substance amount) and cross-domain stoichiometry conversions between mass and moles using molecular weight (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-v |
--val, --value
|
String | Required | Input quantity with unit (e.g., '500 ng', '10 uM', '2.5 mL') |
-t |
--to |
String | Required | Target output unit (e.g., 'pmol', 'ng/ul', 'ul', 'g') |
--mw |
Float | None |
Molecular weight in Da (g/mol) required for mass |
|
--json |
Flag | False |
Output structured machine-readable JSON | |
--compact |
Flag | False |
Output single-line JSON | |
--log-report |
String | None |
Append source and converted stoichiometry measurements to report file (.md or .json) |
# Convert 500 ng of a 50 kDa protein to picomoles
biolabcalc convert -v "500 ng" -t "pmol" --mw 50000
# Convert concentration units
biolabcalc convert -v "10 uM" -t "nM" --jsonHigh-throughput batch sequence analysis engine for tabular data. Reads CSV or TSV files containing sequence columns, strips FASTA headers or formatting artifacts, and generates an annotated output table with sequence lengths, molecular weights, GC percentages, and extinction coefficients.
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-i |
--input |
String | Required | Path to input CSV or TSV file |
-o |
--output |
String | Required | Path to destination annotated CSV or TSV file |
-d |
--delimiter |
String | None |
Explicit delimiter character (e.g., ',' or '\t') |
--json |
Flag | False |
Output execution summary as JSON | |
--compact |
Flag | False |
Output single-line JSON |
biolabcalc batch-csv -i input_oligos.csv -o annotated_oligos.csvComputes the
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sequence |
String | None |
Direct sequence string (or '-' to read from standard input pipe) |
-f |
--file |
String | None |
Path to FASTA or plain-text sequence file |
-t |
--type |
Choice | dna |
Polymer sequence chemistry (dna or rna) |
--json |
Flag | False |
Output structured JSON with length and GC content | |
--compact |
Flag | False |
Output single-line JSON | |
-q |
--quiet |
Flag | False |
Suppress decorative borders, printing only the transformed sequence |
# Direct sequence
biolabcalc rc -s "ATGCGTACGTTAGC"
# Pipe via UNIX standard input
echo "GGGAGACCCAAGCUGGCC" | biolabcalc rc -s - -t rna -qTranslates DNA or RNA nucleotide sequences into amino acid peptide sequences across reading frames (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sequence |
String | None |
Direct sequence string (or '-' for stdin) |
-f |
--file |
String | None |
Path to FASTA or plain-text sequence file |
-m |
--frame |
Integer | 1 |
Reading frame: 1, 2, 3 (forward); -1, -2, -3 (reverse complement) |
--all-frames |
Flag | False |
Translate across all six reading frames concurrently | |
--to-stop |
Flag | False |
Terminate translation upon encountering the first stop codon (*) |
|
--json |
Flag | False |
Output structured translation JSON | |
--compact |
Flag | False |
Output single-line JSON | |
-q |
--quiet |
Flag | False |
Suppress decorative headers, printing only translated amino acids |
# Forward frame +1 translation to first stop codon
biolabcalc translate -s "ATGGGCAGCAGCCATCATCATCATCATCACAGCAGCGGC" --to-stop
# Six-frame translation in JSON
biolabcalc translate -s "ATGCGTACGTTAGC" --all-frames --jsonModern molecular biology campaigns rarely consist of a single standalone calculation. A typical wet-lab workflow transitions through sequential stages: template amplification, restriction digest, UV-Vis purity quantification, in vitro transcription synthesis, and stoichiometric unit conversion.
To eliminate manual data re-entry and provide audit-ready documentation compliant with regulatory standards (see GxP Compliance & Audit Trails), BioLabCalc supports the --log-report <filepath> option across analytical subcommands:
-
pcr: Amplicon size, template input, yield ($\text{ng}$ and$\text{pmol}$ ), amplification efficiency, and dNTP consumption. -
ivt: Transcript length, RNA molecular weight, predicted microgram yield, turnover ratio, NTP incorporation efficiency, and pyrophosphate release. -
protein: Protein concentration ($\text{mg/mL}$ ), molarity ($\mu\text{M}$ ), total yield ($\text{mg}$ ), and extinction coefficients. -
digest: Substrate DNA mass, reaction volume, incubation temperature, incubation duration, and enzyme quantities. -
nanodrop: Target molarity, required template mass, actual concentration, and sequence-specific expected$A_{260}$ . -
purity: Absorbance readings ($A_{260}$ ,$A_{280}$ ,$A_{230}$ ),$A_{260}/A_{280}$ and$A_{260}/A_{230}$ purity ratios, and corrected concentrations. -
convert: Input quantity, target unit, converted stoichiometric value, and molecular weight conversion basis.
When --log-report <filepath> is supplied, BioLabCalc inspects <filepath>. If the report file already exists, newly calculated measurements are appended to the existing session ledger; if the file does not yet exist, a new session report is initialized.
# Step 1: PCR Amplification kinetics simulation
biolabcalc pcr -l 1200 -t 10 -c 30 --log-report session.md
# Step 2: Restriction Digestion reaction planning
biolabcalc digest --dna-ug 2.0 -v 50.0 -e1 EcoRI-HF -e2 BamHI-HF --dna-conc 250.0 --log-report session.md
# Step 3: NanoDrop UV-Vis Purity assessment
biolabcalc purity --a260 1.250 --a280 0.625 --a230 0.580 -t rna --log-report session.md
# Step 4: In Vitro Transcription synthesis yield calculation
biolabcalc ivt -s "GGGAGACCCAAGCUGGCC" -v "20 uL" -y "48 ug" --ntp-mm 5.0 --log-report session.md
# Step 5: Universal unit & stoichiometry conversion
biolabcalc convert -v "48 ug" -t "pmol" --mw 5966.62 --log-report session.mdRunning the 5 commands above sequentially yields an accumulated, formatted Markdown report ready for inclusion in electronic laboratory notebooks (see Electronic Lab Notebook (ELN)):
# Laboratory Experiment Report
- **Date:** 2026-11-12
- **Experimenter:** Researcher
- **Project:** General Molecular Workflow
## Measurement Records
| Sample ID | Parameter | Value | Unit | Target | Tolerance | Status | Timestamp | Notes |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Sample-1 | Amplicon Length | 1200.0 | bp | β | β | PASS | 2026-11-12 14:10:05 | PCR Kinetics |
| Sample-1 | Template Input | 10.0 | ng | β | β | PASS | 2026-11-12 14:10:05 | PCR Kinetics |
| Sample-1 | Amplicon Yield | 1850.4 | ng | β | β | PASS | 2026-11-12 14:10:05 | PCR Kinetics |
| Sample-1 | PCR Efficiency | 95.0 | % | 100.0 | Β±20.0% | PASS | 2026-11-12 14:10:05 | PCR Kinetics |
| Sample-1 | DNA Mass | 2.0 | Β΅g | β | β | PASS | 2026-11-12 14:10:12 | Digestion Setup |
| Sample-1 | Incubation Temp | 37.0 | Β°C | β | β | PASS | 2026-11-12 14:10:12 | Digestion Setup |
| Sample-1 | Incubation Time | 60.0 | min | β | β | PASS | 2026-11-12 14:10:12 | Digestion Setup |
| Sample-1 | A260 | 1.25 | AU | β | β | PASS | 2026-11-12 14:10:18 | NanoDrop Purity |
| Sample-1 | A260/A280 | 2.0 | ratio | 2.0 | Β±15.0% | PASS | 2026-11-12 14:10:18 | NanoDrop Purity |
| Sample-1 | A260/A230 | 2.16 | ratio | 2.0 | Β±20.0% | PASS | 2026-11-12 14:10:18 | NanoDrop Purity |
| Sample-1 | RNA Length | 18.0 | nt | β | β | PASS | 2026-11-12 14:10:25 | IVT Yield |
| Sample-1 | RNA Yield | 48.0 | Β΅g | β | β | PASS | 2026-11-12 14:10:25 | IVT Yield |
| Sample-1 | Turnover Ratio | 240.0 | x | β | β | PASS | 2026-11-12 14:10:25 | IVT Yield |
| Sample-1 | NTP Incorporation | 72.4 | % | 100.0 | Β±30.0% | PASS | 2026-11-12 14:10:25 | IVT Yield |
| Sample-1 | Converted Amount | 8044.72 | pmol | β | β | PASS | 2026-11-12 14:10:31 | Unit Conversion |When targeting a .json file (--log-report session.json), each CLI execution loads the serialized LabReport JSON schema, appends new records, re-evaluates tolerance thresholds, and atomically writes the updated ledger back to disk.
The resulting JSON file can be reloaded in Python using LabReport.from_json("session.json") or LabReport.load_or_create("session.json") (see Python API Reference):
from biolabcalc.lab_report import LabReport
# Load accumulated multi-step CLI session
report = LabReport.from_json("session.json")
print(f"Loaded {len(report.records)} QC records from CLI session.")
for record in report.records:
print(f"[{record.status}] {record.parameter}: {record.value} {record.unit} (Target: {record.target_or_expected})")
# Export to Excel spreadsheet
report.to_excel("multi_step_experiment.xlsx")Initializes and configures BioLabCalc for multi-user shared laboratory drives or local workstations.
# Launch interactive terminal setup wizard
python run.py setup
# Automated non-interactive setup pointing to network share
python run.py setup --shared-dir "Z:\BioLabCalc_Data" --role "Active Researcher" --host "127.0.0.1" --port 8080-
--shared-dir <PATH>: Path to shared laboratory folder (UNC e.g.\\server\share\dataor mapped driveZ:\...). -
--role <ROLE>: Default user role (Active Researcher,Principal Investigator,Lab Manager). -
--host <HOST>: Listening host interface (default:127.0.0.1). -
-p, --port <PORT>: Web server port (default:8080). -
--non-interactive: Execute automated setup without prompting.
Inspects the automated, git-ignored diagnostic failure ledger to explain system issues in plain English and provide actionable remediation steps.
# Inspect the last 10 system/network failure reports
python run.py diagnostics
# View raw structured JSON output
python run.py diagnostics --json
# Clear the diagnostic log
python run.py diagnostics --clear-
--tail <N>: Number of recent failure reports to display (default:10). -
--json: Output machine-readable JSON array of failure records. -
--clear: Clear recorded failure logs (failures.logandfailures.jsonl).
Inspects active storage mode, shared folder mount status, CAS blob directory, and lock acquisition settings.
python run.py portableManages immutable biological sequence records, FASTA import/export, and biophysical properties.
# List all pre-seeded and custom sequences
biolabcalc seq --list
# Inspect a sequence by ID
biolabcalc seq --get EGFP_CDS
# Import a sequence from FASTA file
biolabcalc seq --import-fasta my_insert.fasta --type dna-
--list: Enumerate all registered sequence records. -
--get <ID>: Display details and biophysical properties for a sequence. -
--import-fasta <FILE>: Import sequence from FASTA file. -
--type <TYPE>: Sequence type (dna,rna,protein).
Inspects circular plasmid records, calculates origin-spanning coordinates, and parses/exports GenBank flatfiles.
# List all standard catalog plasmids
biolabcalc plasmid --list
# Inspect pUC19 features, GC%, and molecular weight
biolabcalc plasmid --get pUC19 --info
# Export plasmid to GenBank format
biolabcalc plasmid --get pET-28a(+) --export-gb pet28a.gb-
--list: List all available plasmids in catalog. -
--get <ID>: Target plasmid identifier or name. -
--info: Output full feature table, restriction map, and biophysical properties. -
--export-gb <PATH>: Export plasmid as a GenBank flatfile.
Automates expression cassette design with reading frame synchronization, silent restriction domestication, and 7-point quality audit.
# Assemble EGFP into pET-28a(+) via restriction ligation
biolabcalc clone-gene \
--vector "pET-28a(+)" \
--insert "ATGGTGAGCAAGGGCGAGGAGCTG..." \
--gene-name "EGFP" \
--mode restriction_ligation \
--e5 BamHI \
--e3 XhoI \
--tag "6xHis"-
--vector <NAME>: Target recipient vector from catalog or file. -
--insert <SEQ>: Target gene coding sequence or amino acid string. -
--gene-name <NAME>: Display name for the target gene. -
--mode <MODE>: Assembly mode (restriction_ligation,gibson,golden_gate). -
--e5 <ENZYME>: 5' restriction enzyme. -
--e3 <ENZYME>: 3' restriction enzyme. -
--tag <TAG>: N-terminal affinity tag (6xHis,FLAG, etc.).
Launches or exports the responsive Elm Architecture (TEA) circular plasmid workbench.
# Export standalone HTML5/SVG workbench
biolabcalc interactive-plasmid --plasmid pUC19 --output pUC19_map.html
# Launch directly in browser
biolabcalc interactive-plasmid --plasmid "pET-28a(+)" --open-browser-
--plasmid <ID>: Plasmid name or path to GenBank file. -
-o, --output <PATH>: Output HTML file path. -
--open-browser: Automatically open generated workbench in default browser.
Generates print-optimized HTML5/CSS documents (@media print) designed for physical lab bench use, biosafety hoods, and physical laboratory notebook tape-ins. Enforces the 7-stage thermodynamic "Enzyme-Last" addition hierarchy, computes master mix pipetting overage, assigns recommended pipette tool sizes (P2βP1000), formats visual plate maps with orientation chamfer notches, and embeds GLP archival sign-off blocks.
# Generate a 24-reaction PCR bench protocol with 10% overage and 96-well plate map
biolabcalc print-protocol \
--title "Q5 Colony PCR Screening" \
--reactions 24 \
--overage 10 \
--template pcr \
--plate-type 96-well \
--trim-size 8x10 \
--output "colony_pcr_protocol.html" \
--open-browser-
-t, --title <TEXT>: Experiment or protocol title (default:'Q5 High-Fidelity PCR Amplification'). -
-n, --reactions <INT>: Total number of experimental reactions (default:24). -
--overage <FLOAT>: Master mix overage percentage (default:10.0). -
--template <PRESET>: Reaction formulation template (pcr,qpcr,digest,custom). -
--plate-type <TYPE>: Benchware plate or rack layout (96-well,384-well,24-tube,8-strip). -
-s, --samples <LIST>: Comma-separated list of sample names to populate onto the plate map. -
--trim-size <SIZE>: Physical notebook tape-in trim boundary (8x10,7.5x9.5,full-page). -
-o, --output <PATH>: Output HTML document path (default:'bench_protocol.html'). -
--operator <NAME>: Operator name for GLP compliance sign-off. -
--project <ID>: Project or grant identifier. -
--protocol-id <ID>: Standard operating procedure ID (default:'SOP-BIO-01'). -
--open-browser: Automatically open the rendered protocol in the default web browser.
- Electronic Lab Notebook (ELN) β Interactive web interface and cross-section reactive routing.
-
Python API Reference β Python functions, workflows, and
auto_recordspecification. - GxP Compliance & Audit Trails β 21 CFR Part 11 electronic records and hash validation.
BioLabCalc Documentation Wiki | Licensed under the MIT License | GitHub Repository Research Use Only (RUO). Not intended for clinical or diagnostic procedures.
- Core Calculators & Stoichiometry
- Solution Prep & Spectroscopy
- Buffers & Precipitation
- Protein Quantification & Assays
- Fluorophores & Dye Labeling
- Molecular Cloning & Assembly
- Plasmid Engineering & Workbench
- PCR Kinetics & Primer Design
- In Vitro Transcription (IVT)
- Western Blotting Suite
- Bacterial Growth & Kinetics
- ELN System Architecture
- SOP & Protocol Management
- Instrument Data Parsers
- Inventory & Freezer LIMS
- Local RAG Knowledge Engine
- GxP Compliance & Audit Trails