You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+74-10Lines changed: 74 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,31 @@
1
1
# Single-cell analysis template repository
2
2
3
-
This repository acts as a template notebook for the analysis of single-cell data and methods; the corresponding Jupyter
4
-
Book is rendered [here](https://weilerp.github.io/sc_analysis_template/).
5
-
You can check the [CellRank 2 reproducibility repository](https://github.com/theislab/cellrank2_reproducibility)
6
-
for an example repository following the same outline as this template.
3
+
This repository acts as a template notebook for the analysis of single-cell data and methods; the corresponding Jupyter Book is rendered [here](https://weilerp.github.io/sc_analysis_template/).
7
4
8
-
## Set up
5
+
You can check out the [CellRank 2](https://github.com/theislab/cellrank2_reproducibility) and [CellRank protocol](https://github.com/theislab/cellrank_protocol) reproducibility repositories for example repositories following the same outline as this template, built off an earlier version of this template repo.
6
+
7
+
## Project structure
8
+
9
+
-`data/`
10
+
- Directory containing data relevant to project
11
+
- Contains one subdirectory for each dataset
12
+
- Proposed structure: each dataset has its own subdirectory containing
13
+
-`raw/`: original, unaltered data that always exists unless the data has been loaded from an external data directory
14
+
-`processed/`: processed data from `raw/`
15
+
-`results`: analysis results
16
+
-`figures/`
17
+
- Directory to collect generated figures
18
+
- Contains one subdirectory for each dataset
19
+
-`jobs/`
20
+
- Directory to collect scripts for submitting HPC jobs, e.g., with sbatch, (in `jobs/scripts/`) and their generated output files (in `jobs/logs/`)
21
+
-`notebooks/`
22
+
- Directory containing Jupyter notebooks
23
+
- Contains one subdirectory for each dataset
24
+
-`scripts/`
25
+
- Directory containing Python or R scripts
26
+
- Contains one subdirectory for each dataset
27
+
28
+
## Setup
9
29
10
30
1. Rename `src/fancypackage/`.
11
31
2. Update `pyproject.toml` to include the correct information
@@ -20,20 +40,64 @@ for an example repository following the same outline as this template.
20
40
5. Ensure repository settings are set up correctly to build Jupyter Book:
21
41
- In `Settings > Actions > General > Workflow permissions`: Allow read and write permissions.
22
42
- In `Settings > Pages > Build and deployment`: Set the branch to `gh-pages`.
43
+
6. If you use uv with a custom environment name: update the `UV_PROJECT_ENVIRONMENT` value in `.envrc`
23
44
24
45
## Installation
25
46
47
+
### uv
48
+
49
+
To install the accompanying packages with [uv](https://docs.astral.sh/uv/), you can run
0 commit comments