Repository navigation
CLI Reference
BioLabCalc provides a command-line interface via the biolabcalc binary. The CLI provides 30 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| 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 |
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.
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) |
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 |
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 |
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
|
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 (
| Flag | Parameter | Type | Default | Description |
|---|---|---|---|---|
-s |
--sizes |
Float list | Required | Space-separated band sizes (bp or kDa) |
-l |
--ladder |
Choice | 1kb_dna |
1kb_dna, 100bp_dna, low_range_ssdna, protein_broad_range
|
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 |
biolabcalc annotate-gel \
-l "Ladder,Uncut,Digest" \
--ladder 1kb_dna \
-b "3:3200:Backbone,3:850:Insert" \
-t "Cloning Verification" \
-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) |
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
|
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 |
biolabcalc eln --port 8080BioLabCalc 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