On scverse.org/learn, we aim at providing a comprehensive overview of analyses that can be performed with scverse core and ecosystem packages.
To this end, this repository contains
a registry for tutorials listed on scverse.org/learn (see
If you believe a tutorial should be added to
scverse.org/learn, please open an issue. We will discuss the request
in the next open community meeting and potentially suggest
To be added to our website, tutorials must fulfill at least the following requirements:
the notebook author agrees to maintain the tutorial in the future and is reachable via zulip.
the notebook contains a backlink to scverse.org/learn
the notebook is self-contained: All required example data is downloaded as part of the tutorial
You can easily check your changes to tutorials or the registry locally:
hatch run docs:build # for tutorial notebooks
hatch run registry:validate # for the tutorials registry
Structure of external tutorials#
While we do not mandate a specific structure for tutorials, a good tutorial typically comprises the following sections:
General header: The tutorial should have a general header that corresponds to the analysis.
Brief introduction: The tutorial should introduce the package, the analysis motivation and potentially biological background.
Requirements to run the notebook: Special computational requirements like memory or GPUs should be specified. Any required input from other notebooks should also be listed here.
Package imports: All required packages should now be imported.
General setup: General settings such as plotting settings or ignored warnings should be set up here.
Data loading: Any required datasets should be loaded here. Ideally with stable links.
Data preprocessing: Any data preprocessing should be done here. Depending on the method this step can be skipped.
Package specific tutorial: The tutorial for the package should contain a healthy mix of text and code to guide the user through the analysis.
Link to other important tutorials/packages/sources of information: Link to any other tutorials that might be of interest or the corresponding https://sc-best-practices.org chapter.
References: Any referenced papers should show up in references section.
Acknowledgements: All contributing authors and experts should be named.