Nextflow workflow for the automated creation of a transcript map from ISS image data.
Follow these steps to set up and install the necessary environment and dependencies for your project.
Ensure you have the following installed on your system:
- Git (for cloning the repository)
Clone the project repository from GitHub to your machine.
git clone https://github.com/BioImageTools/iss-nf.gitTo run the workflow you need the following data:
- Image data with naming scheme:
r<Round>_<Channel>.tiff, with<Round>: one-based integer<Channel>: free text without spaces- Example:
r1_DAPI.tiff
- Codebook:
codebook.json, as defined by StarFISH - Experimental metadata:
experimental_metadata.json
- Mouse brain dataset
- Image data, codebook and metadata (~11 GB) are available for download on Zenodo.
- Codebook and metadata are also available in this repo.
- The original data can be found on the BioImage Archive.
- Image data, codebook and metadata (~11 GB) are available for download on Zenodo.
-
Update the Input Directory: In the
nextflow.configfile, locate theINPUTDIRvariable and set it to the path of your dataset.INPUTDIR = "/path/to/your/dataset" -
Prepare the codebook: The workflow uses a
codebook.jsonfile that should be readable by the STARFISH library. Use our default format as a guide when preparing your own codebook.Important note: For automated threshold finding, the algorithm expects 10-20% of your gene panel to consist of empty barcodes. These empty barcodes should be added at the bottom of your
codebook.json. -
Modify the metadata: You’ll also need to update the
experiment_metadata.jsonfile. This file contains metadata about your dataset. Modify it to reflect the specifics of your data (e.g., number of rounds, channels, etc.).
To run the workflow, you need to install Nextflow. After installation, your Nextflow environment needs to be activated, e.g., using conda:
conda activate nextflowOn a computer cluster, it may be possible to access nextflow via easy-build modules:
module load NextflowOnce you’ve updated your configuration files and loaded Nextflow, you can execute the workflow using the following command in your terminal:
nextflow run nf_workflow.nf -profile apptainer This workflow is described in the following preprint:
Vakili, N., Gonzalez-Tirado, S., Kurzawa, N., Dvornikov, D., Mokhtari, Z., Wippich, F., Bergamini, G., Pepperkok, R., Tischer, C., & Vale-Silva, L. A. (2025). iss-nf: A Nextflow-based end-to-end in situ sequencing decoding workflow. bioRxiv. https://www.biorxiv.org/content/10.1101/2025.10.16.682795v1
If you use this repository or its components, please cite the above paper.
You are welcome to ask us by writing an issue.