v1.0FreeRuns in your browserEncrypted accounts

Raw lab data in. Publication figures out.

Serpentine runs the statistics and draws the figures for you, using the same Python tools behind countless published studies. You choose everything from plain menus and never write a line of code. Your data stays on your computer, and if you want your projects everywhere, a free account keeps them online, end-to-end encrypted.

Open Serpentine Download for Mac & Windows No install · Account optional · Try the built-in examples
Serpentine showing heart-rate recordings after water or an energy drink, with a time-course plot, an endpoint bar chart, a paired t-test result, the Style controls, and Board and Sign in buttons in the top bar.
14analyses, from t-tests to ROC curves
10plot types, each fully adjustable
0lines of code to write
0 KBof your data readable by anyone else
How it works

Four steps from spreadsheet to figure

The figure redraws every time you change a setting, so you can see what each choice does.

  1. 01

    Pick an analysis

    Compare groups or two factors at once, follow animals over weeks, fit any curve, read an ELISA, quantify qPCR, test a biomarker, compare two instruments, draw survival curves or plan your sample size.

  2. 02

    Add your data

    Paste straight from Excel, Prism or a LabChart Data Pad, drop in CSV and Excel files, or paste a 96- or 384-well plate with its plate map.

  3. 03

    Set the analysis

    Baselines, exclusions, normalization, tests and comparisons, each one a plain setting.

  4. 04

    Style and export

    Choose a look, fine-tune colors and labels, combine figures into one lettered multi-panel figure, then export figures, tables and methods text.

Analyses

What Serpentine can analyze

Every figure on this page was made by Serpentine from its built-in example data, which you can load with one click.

A four-panel figure lettered A to D combining a raincloud plot, a two-way ANOVA, dose-response curves and qPCR fold changes.

Figure board: multi-panel figures

Press + Board on any figure to collect it. Panels from different analyses and datasets are laid out at journal widths (89, 140 or 183 mm), lettered A, B, C and exported as one PNG, TIFF, PDF or editable SVG. Every panel keeps its own data and style and can be reopened and edited later.

Fig. 13 | Four analyses, one figure, made entirely in Serpentine.
Figures

Same data. Twelve completely different figures.

Python gives you full control over a figure, and so does Serpentine, without the code. Every one of these was made from the same experiment by changing settings in the Style step: plot type, direction, fonts, colors, fills and patterns, markers, axis lines, ticks, gridlines, reference lines and more.

Bar chart with light fills, points and SEM error bars.
Cleanbar · SEM
Strip plot with floating, trimmed axes in Fira Sans.
Minimalstrip · floating axes
Scatter dot plot in Crimson Text with dotted gridlines and a left-aligned title.
Editorialserif · no y-axis line
Violin plots inside a full frame with inward and minor ticks.
Boxedviolin · ticks in
Grayscale box plots with hatch patterns in Courier Prime.
Typewriterbox · hatch patterns
Raincloud plot in neon colors on a black background.
Neonraincloud · dark
Lollipop chart in Comic Neue with star, square and diamond markers.
Sketchlollipop · custom markers
Horizontal beeswarm plot in viridis colors with exact p-values.
Horizontalbeeswarm · viridis · exact p
Solid bars from the magma colormap with one-sided SD bars, a renamed group, a reference line and a panel letter.
Custommagma · reference line · panel B
Rounded solid bars in candy colors with drop shadows and the mean printed above each bar.
Poprounded bars · shadows · values
Notched box plots with mean diamonds, drawn in pale lines on a navy background with dashed gridlines.
Blueprintnotched box · mean marks
Horizontal lollipop chart in warm colors on cream paper with striped background bands and a serif font.
Retrolollipop · stripes · cream
Fig. 7 | One dataset, twelve looks. Not sure where to start? Surprise me deals out a new random look each time you press it. Save any look as your own style, or share a style file so a whole lab uses the same house style. Export as PNG or TIFF up to 1200 dpi, SVG with editable text, PDF, EPS or JPG, or copy straight into slides.

Every group, your way

Rename groups and give each its own color, marker, fill pattern and line style.

Any color scheme

Fifteen curated palettes, colorblind-safe options, every matplotlib colormap, or your own hex codes and backgrounds.

Real typefaces

Built-in sans, serif and mono, plus nine web fonts that come through exactly in PNG and PDF exports.

Axes and annotations

Choose which axis lines to draw, offset and trim them, set ticks, log scales and limits, and add reference lines, panel letters and exact p-values.

Just say it

Type “remove gridlines and make Water navy” and the figure changes. Plain-English commands cover colors, labels, axes, plot types, sizes and more.

Write Python if you want

An optional box runs your own matplotlib code on the figure, and raw rcParams settings are one line each. No limits.

Why Serpentine

Made for the way labs actually work

Your data stays private

Python runs inside your browser, so your analysis never touches a server. Projects saved to an account are encrypted on your computer first, so unpublished and patient-adjacent data stays readable only by you.

Reproducible by design

Download any analysis as a standalone Python script with your data and settings built in. A reviewer can rerun it and get the same numbers.

Methods text, written for you

Each result comes with a methods paragraph naming the tests, corrections, normalization and software versions, ready to adapt for your paper.

Reads real lab exports

LabChart Data Pads, Excel ranges, Prism tables, CSV and TSV. It handles multi-row headers, clock times like 10:30, blank cells and decimal commas.

Sensible statistics by default

Normality is checked before a test is chosen, Welch's correction is on, multiple comparisons are corrected, and small samples get a warning.

Results you can reuse

Statistics tables copy straight into Excel or Prism. Projects and styles save to files you can reopen, archive or share with your lab.

Your projects, anywhere

A free account saves every change online as you work, so you can pick up on another computer. Encrypted with your password before upload; a recovery key covers a forgotten password.

Multi-panel figures

Collect figures from any analysis on the board, lay them out at journal widths with A, B, C letters, and export one figure as PNG, TIFF, PDF or SVG.

Undo anything

Every change, including deleted tables and cleared boards, can be undone, with a history list and keyboard shortcuts for the things you do most.

Plate reader import

Paste a 96- or 384-well plate and its plate map. Standards, blanks and replicates are recognized, shown on a live plate, and sent straight to a standard curve.

Encrypted share links

Send a colleague a link that opens your whole analysis in their browser. The key is only in the link, so nobody else, the server included, can read it.

One-click reports

Results, figures, methods and tables on one printable page for your lab notebook, a meeting or a supervisor.

Get Serpentine

Use it online, or keep a copy

Both versions are identical. Either way, the analysis runs on your own computer.

Download a copy

Run Serpentine from a folder on your computer. You need Python 3, which macOS includes; on Windows, install it free from python.org.

Download Serpentine.zip
MacUnzip, then double-click Start Serpentine.command. The first time, macOS may ask you to confirm: right-click the file, choose Open, then Open again.
WindowsUnzip, then double-click Start Serpentine (Windows).bat.
LinuxRun python3 -m http.server 8765 in the folder and open localhost:8765/app.html.
User guide

How to use Serpentine

Everything you need, from your first table to a finished figure.

Getting started

Open Serpentine and wait for the status at the top right to read Python ready. The app opens with an example loaded so you can see a finished analysis right away.

The left column has four numbered steps: Analysis, Data, Settings and Style. Work through them in order the first time; after that, jump to any step. The right side shows your figures, results and tables, and updates as you go.

Not sure which analysis you need? Type into the search box above the list (for example ELISA, half-life or qPCR), or press Help me choose and answer two or three plain questions.

Press Example on any analysis to load sample data for it. It's the quickest way to learn what each setting does.

Choosing an analysis

If your question is…Use
Do these groups differ?Compare groups. Control vs treatment, several doses, genotypes, before vs after in the same subjects.
How did a signal change after an event?Time course around an event. Breathing, heart rate, blood pressure, temperature, activity or any recording with a time column.
Does one measure track another?Correlation & regression.
How potent is this compound?Dose-response curve.
How long until death, relapse or another event?Survival curve. One row per subject with its time, whether the event happened (1) or it was censored (0), and its group.
Do two factors, like genotype and treatment, interact?Two-way ANOVA. One row per value with both factors, or a Prism-style grouped table.
How did the same animals change over weeks, by group?Repeated measures. One row per measurement with subject ID, group, time point and value.
How well does a marker detect disease?ROC curve. One row per subject with the true outcome and the marker values.
Does a new method agree with the old one?Method comparison. One row per sample measured by both methods.
Did more animals respond in one group?Counts & proportions. A table of counts, or one row per subject.
What is the Km, half-life or doubling time?Curve fitting. Pick a model or type your own equation.
What concentration is in my samples?Standard curve. Standards with known concentrations, unknowns with the concentration left empty.
Did gene expression change?qPCR gene expression. The Ct export from your instrument.
How many subjects do I need?Sample size & power. No data needed.
Not sure?Press Help me choose above the analysis list.

Adding data

In the Data step, either press Paste a new table and paste into the box, press ⌘V / Ctrl+V anywhere on the page, or drop files onto the dashed area. CSV, TSV, TXT and Excel files work. Each Excel sheet becomes its own table.

Put column names in the first row. Serpentine shows how it read your table underneath, labelling each column as number, time or text, so you can check it before going on.

Compare groups: two layouts

One column per group (like Prism's column tables):

Vehicle   Drug 10 mg/kg   Drug 30 mg/kg
812       640             395
905       702             410
…

Values plus a group column (tidy format, common in exported data):

Mouse   Genotype   Weight (g)
M1      WT         26.1
M2      KO         29.4
…

From LabChart

In LabChart, select the rows of your Data Pad, copy them, and paste into Serpentine. Channel, measurement and unit rows become tidy names like Cyclic Rate (BPM), and time columns written as 8:40 or 0:08:40 are read as clock times automatically. If you marked the injection with a LabChart comment, Serpentine uses that comment's time as the event, so you don't have to type it.

From Prism

Grouped tables with several replicate columns under one heading (Control: Rep 1, Rep 2, Rep 3) are combined into one group per heading. Turn this off in Settings if you want every column on its own.

From a plate reader

Press Import a plate in the Data step. Paste the block of readings from any plate reader's export (96 or 384 wells, with or without the A–H letters and 1–12 header), and optionally a plate map in the same layout saying what is in each well:

     1          2          3          4
A    Std 1000   Std 1000   Control 1  Control 1
B    Std 500    Std 500    Control 2  Control 2
…
H    Blank      Blank

Standards are labelled Std 250 or just the concentration, blanks Blank or B, and wells with the same label are replicates. Empty wells are skipped. A live plate preview shows how each well was read. With standards, the table goes straight into a Standard curve with the blank subtracted; without them, choose one row per well or one column per sample for Compare groups.

Technical replicates

If each animal, culture or well was measured several times, use the values + group layout with a column naming the subject, and set Replicates nested in to that column in Settings. Replicates are averaged per subject first, so the test counts biological replicates instead of inflating n (pseudoreplication).

Time-course sessions

For a time course, add one table per recording session. Every session needs the same column names. A sessions sheet then appears in the Data step, where you fill in four things for each one:

FieldWhat to enterExample
GroupThe condition this session belongs to.Treated
SubjectThe animal or participant. Used to pair sessions from the same subject.M101
EventWhen the injection or stimulus happened, in recording time. Use mm:ss, h:mm:ss or seconds.10:30
ExcludeTime ranges to drop, such as a loose wire or movement. Separate several ranges with commas.8:00-8:50, 21:10-22:00

In Settings, choose the measurement, the bin size, the baseline window (for example −5 to 0 min), how to express values (% of baseline, change from baseline, fold, or raw) and the endpoint window that gets tested. A quality column filter lets you keep only rows that pass a check, for example a cycle count of at least 10.

Turn on Pair sessions by subject when the same animals were recorded under each condition, so Serpentine uses a paired test.

Filling in the sessions table quickly

  • Fill group & subject from names: name your tables like Treated 07 or Control_P01 and one click fills in the group and subject.
  • Paste session details: paste a small sheet from Excel with columns such as Session, Group, Subject, Event and Exclude. Rows are matched by session name (or in order if there's no Session column).
  • Sessions still missing an event time are highlighted. Times found in a comment column appear in grey, and anything you type overrides them.

If a window doesn't fit your recordings, Serpentine says so and suggests one that does, for example “Recordings end about 10 min after the event; try an endpoint from 5 to 10 min.”

How tests are chosen

With Test: Automatic, Serpentine checks each group with the Shapiro-Wilk test. If every group looks normal it uses a parametric test, otherwise a rank-based one. You can force either choice.

DesignParametricNon-parametric
2 groupsWelch's t-test (or Student's)Mann-Whitney U
2 pairedPaired t-testWilcoxon signed-rank
3+ groupsOne-way ANOVA + Tukey or DunnettKruskal-Wallis + Holm-corrected Mann-Whitney
3+ pairedRepeated-measures ANOVA + Holm-corrected paired tFriedman + Holm-corrected Wilcoxon

Effect sizes (Hedges' g or Cohen's dz) are reported for two-group tests. Groups with fewer than five values trigger a reminder to show individual points and interpret p-values carefully.

Repeated measures over time

When the same subjects are measured at several time points, use Repeated measures (or add a subject column in Two-way ANOVA). Serpentine works out the design from the subject IDs: a mixed design when each subject stays in one group, or repeated measures on both factors when every subject gets every combination. Sphericity is corrected with Greenhouse-Geisser by default (ε is reported), comparisons within the same subjects use paired t-tests, and Šidák or Holm corrects for multiple comparisons. Results match pingouin and SPSS.

Styling figures

The Style step has everything you would otherwise do in matplotlib, in collapsible sections. Start with a quick style (Clean, Journal, Classic, Minimal, Editorial, Boxed, Typewriter, Soft, Poster, Slides, Neon, Sketch, Pop, Blueprint, Zebra or Retro), or press Surprise me for a random look, then change anything:

  • Plot type: bar, scatter dot, mean ± error, box, violin, box + violin, raincloud, beeswarm, strip or lollipop, vertical or horizontal, with adjustable widths, point spread, fill and outline, rounded bar corners, notched boxes, a mean marker and numbers (mean, median or n) above each group.
  • Effects: flat, drop shadows or a glow, and an optional striped background.
  • Groups: rename any group and give it its own color, marker, hatch pattern and line style.
  • Colors: palettes, any matplotlib colormap (reversible), your own hex codes, and separate figure, plot-area and text colors.
  • Points, lines and error bars: marker shape, size, opacity and outline; line and axis widths; SEM, SD or 95% CI, two-sided or outward, with any cap width.
  • Text: twelve fonts, separate sizes for title, axis labels and ticks, bold options, title position, label angle and a panel letter.
  • Axes: choose each axis line, offset and trim them, tick direction, length and spacing, minor ticks, decimal places, limits and log scales.
  • Grid, reference lines and legend: gridline direction and style; lines such as y=100: Baseline; x=0; legend position, columns, frame and title.
  • Size: width and height in inches with millimetres shown. Journal style fits a single 89 mm column.

Plain-English commands

Above your figure is a command bar. Type what you want and press Enter, for example remove gridlines, make Water navy and Energy drink coral, horizontal violin plot, y axis from 0 to 1000 or title Day 21. Combine several with “and” or commas. Serpentine shows exactly what it changed, and What can I say? lists the kinds of commands it understands. It runs on your computer, so it's instant and private. Press ↑ to bring back an earlier command.

Commands know your column names too: use heart rate, quality column signal quality at least 80, plot glucose against weight, color by genotype, only Control and Treated.

Commands also reach the analysis itself and a few actions: baseline from -2 to 0, 10 second bins, use the nadir, percent of control, use a nonparametric test, put Energy drink first, export as pdf. Describe a feel, like make it look professional or for my presentation, and it picks a matching style. Small typos are corrected, and when it can't tell what you meant it suggests the closest commands.

Your own styles

Name the current look and press Save style to reuse it in any project. Export style file saves it as a file that colleagues can import, so a lab can share one house style.

Advanced: Python

The last section accepts matplotlib settings (one key: value per line) and your own Python code, which runs on each figure with fig, ax, plt, np and pd ready. For example ax.set_yticks([0, 50, 100]). Errors appear as notes instead of breaking the figure, and your code is included in the downloaded Python script.

Changed your mind? Undo and Redo (⌘Z / ⇧⌘Z) step back through every setting.

Exporting results

  • Figures: PNG, SVG and PDF buttons on each figure, with TIFF, JPG and EPS under More. Copy puts the figure on your clipboard for slides and documents. Set resolution and a transparent background in Style.
  • Tables: Copy for Excel puts a table on your clipboard to paste into Excel or Prism; CSV downloads it.
  • Methods text: a paragraph describing what was done. Treat it as a draft and check it against your protocol.
  • Python script: a single file that reproduces the analysis. Run it with pip install numpy scipy pandas matplotlib then python script.py.
  • Report: the Report button above the results opens one page with the results, notes, every figure, the methods and all tables, ready to print or save as a PDF for a lab notebook or meeting.
  • Share link: Share link makes a link that opens a copy of the whole analysis (data, settings, style and board) in anyone's browser. It's encrypted with a key that exists only in the link, so the server can't read it. Choose how long it works (1 day to 1 year) and remove it any time. Making links needs a free account; opening them doesn't.

Multi-panel figures

Press + Board above any figure to add it to the figure board, then open Board in the top bar. Panels can come from different analyses and different data, so a dose-response curve, a time course and a bar chart can sit together in one figure.

  • Choose 1 to 4 columns and a journal width: single column (89 mm), 1.5 columns (140 mm), double column (183 mm) or poster.
  • Pick the panel letter style (A, a, A), (a)) and size, and the gap between panels.
  • Reorder panels with the arrows. Edit loads a panel's data and settings back into the main window; change anything, then press Update panel on the figure.
  • Export the whole figure as PNG or TIFF (300 to 1200 dpi), PDF, or SVG for editing in Illustrator or Inkscape. Each panel is redrawn at full quality.

Saving projects & accounts

Serpentine keeps your latest work in this browser automatically. You can also keep it for good in two ways.

As a file. Without an account, Save (⌘S / Ctrl+S) downloads a .serpentine.json file with your data and every setting. Open loads it again on any computer.

In your account. Press Sign in at the top right and create a free account with your email and a password. Then Save stores the project online, and every change after that saves automatically; the dot next to your name shows Saved online. Open your projects from any computer under your name in the top bar. Your saved styles go with you too.

End-to-end encrypted. Projects are encrypted on your computer with your password before they're uploaded, so the server only ever holds scrambled data that nobody else can read, including whoever runs Serpentine. That's also why nobody can reset your password for you: when you create an account you get a recovery key. Download it or write it down. With it, Forgot password? lets you set a new password; without it and your password, your online projects can't be opened.
  • Two tabs or computers: if a project changed somewhere else since you opened it, Serpentine asks which version to keep instead of overwriting.
  • Account settings: change your password, get a new recovery key or delete your account and everything stored online.
  • Signing out removes online projects from that browser, which is useful on shared lab computers.
  • Online storage is 200 MB per account. Large time-course projects are compressed before they're encrypted.

Undo & shortcuts

Undo and Redo cover everything: settings, styles, data tables, examples, opening projects and the figure board. Undo tells you what it reverted, and the clock button next to Redo lists recent steps so you can go back several at once.

Keys (Mac / Windows)Action
⌘Z / Ctrl+ZUndo
⇧⌘Z / Ctrl+YRedo
⌘S / Ctrl+SSave (online when signed in)
⌘O / Ctrl+OOpen a project file
⌘E, ⇧⌘E, ⇧⌘CExport the first figure as PNG, as SVG, or copy it
/ or ⌘KType a plain-English command
1 – 4Go to Analysis, Data, Settings, Style
B, +Open the figure board, add the figure to it
H, T, ?Undo history, switch theme, show all shortcuts

Single-letter shortcuts work when you're not typing in a field. While typing, ⌘Z undoes your text as usual.

Troubleshooting

  • Stuck on “Starting Python”. Serpentine needs an internet connection to load the Python engine the first time. Check your connection and reload.
  • A column reads as text. Usually a stray word inside the numbers. Values with units attached, such as 48.2 mL/min, are read as numbers automatically.
  • “Time jumps back” note. A new LabChart block restarted the clock at 0:00. Serpentine keeps the first block; paste later blocks as their own session if you need them.
  • “Couldn't read the time”. Write event and exclusion times as 10:30, 0:10:30 or plain seconds like 630.
  • The downloaded copy shows a blank page. Start it with the launcher file rather than opening app.html directly, because browsers block the Python engine on pages opened from disk.
FAQ

Questions

Is my data uploaded anywhere?

Not unless you choose to. All parsing, statistics and drawing happen on your computer, and your latest project is kept in your browser's local storage. If you create an account and save projects online, they are encrypted on your computer with your password first (end-to-end encryption), so the server stores only scrambled data that no one else can read, including whoever runs Serpentine.

Can the person I send a share link to see my other projects?

No. A share link opens a copy of one analysis as it was when you made the link. They can change their copy freely; your project and account are untouched. Remove the link in Share link → Your links to stop it working.

I forgot my password. Can you reset it?

Because projects are end-to-end encrypted, nobody can reset it for you. Use Forgot password? with the recovery key you saved when you created the account. Without the recovery key and the password, online projects can't be opened; copies saved as files are unaffected.

Is it free?

Yes. Serpentine is free to use, online or downloaded.

Can I trust the statistics?

Serpentine uses SciPy, the standard open scientific library behind much of published research, for every test, and it reports exactly which test was used. You can also download the Python script and check every step. As with any software, choose an analysis that matches your experimental design.

Will my figures look like everyone else's?

Only if you want them to. Every visual property is a setting, from fonts and axis lines to per-group markers and hatch patterns, and the optional Python box lets you do anything matplotlib can. Save your look as a style so your figures stay recognisably yours.

Does it replace GraphPad Prism?

For the analyses it covers, it can. Serpentine focuses on things Prism handles less well: event-aligned recordings, fully customizable modern plot types such as raincloud and beeswarm plots, reproducible scripts and keeping data local. With fourteen analyses, including two-way and repeated-measures ANOVA, nonlinear curve fitting, standard curves, qPCR, ROC curves and Bland-Altman, it covers what most labs use day to day; Prism still has more specialized analyses.

How do I cite Serpentine?

The methods text names Serpentine and the versions of Python, NumPy, SciPy, pandas and matplotlib used. Cite the software by name and link to github.com/Frizzell-5/Serpentine.

Can I suggest a feature or report a bug?

Yes. Open an issue on GitHub. Repeated-measures two-way ANOVA, axis breaks and direct LabChart file import are on the roadmap.

Your next figure is a paste away.