dictyExpress is an interactive web application for Dictyostelium gene expression. It links curated bulk RNA-seq time courses and comparisons with a developmental single-cell atlas: select genes in a bulk view to see them in single cells, or select cells to rank their marker genes and follow them back to bulk profiles. This repository holds the web client (React, TypeScript, Vite). The services for gene similarity, GO enrichment and cell markers are in dictyexpress-lambdas.
- Public application: https://app.dictyexpress.org/ (no account needed).
- Tutorial: open the application and click Tutorial in the top bar. The 27 steps follow ecmA from bulk profiles into the single-cell atlas, select genes from a bulk contrast, rank markers of selected cells and end with bookmarks and export.
- The info button in each panel header explains its plots, statistics and controls.
- Bookmarks save the datasets, genes, panel settings, selected cells and marker comparison; Export downloads all figures and tables as a ZIP archive.
public/config.js (copied to build/config.js) sets the back-end and service URLs. Without the
service URLs the bulk panels fall back to the Resolwe processes and marker ranking is unavailable.
Use Node.js 20 or later and the bundled Yarn 3.2.4. From the repository root:
node .yarn/releases/yarn-3.2.4.cjs install --immutable
node .yarn/releases/yarn-3.2.4.cjs startOpen the local URL printed by Vite. With the project Yarn available on your path, the same commands are yarn install --immutable and yarn start. The Vite configuration defines the development proxies. The cell-marker workflow requires the configured /cell-de service.
To enable custom pre-push hook, update git configuration to let it know where our hook files lie:
git config core.hooksPath .githooks
In the project directory, you can run:
Starts the Vite development server with hot reload.
Runs ESLint with Prettier check.
Runs ESLint with Prettier combined to apply automatic fixes.
Runs the TypeScript compiler and lint checks.
Runs the unit and integration tests (Vitest). On Node.js 22 or later, run them with
NODE_OPTIONS=--no-experimental-webstorage so Node's built-in localStorage does not hide
jsdom's. CI (.github/workflows/ci.yml) runs lint, tests and the production build on every push.
End-to-end tests (Playwright, Python) for the login flow need an account. Assuming locally running web site (using yarn start or yarn serve). On Windows git-bash is assumed.
# Headed with inspector
LOGIN_EMAIL=myuser@my.com LOGIN_PASSWORD=mysecret PWDEBUG=1 yarn e2e
# Headless
LOGIN_EMAIL=myuser@my.com LOGIN_PASSWORD=mysecret yarn e2e
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Update /build/config.js with appropriate endpoint URLs and your app is ready to be deployed.
To preview the build locally, run yarn serve and open the URL printed by Vite.