einarolafsson commited on
Commit
122a7d4
·
verified ·
1 Parent(s): 3eee6b3

spacr-example-ops: spaCR test data from BioImage Archive S-BIAD394 (Funk et al. 2022)

Browse files
Files changed (3) hide show
  1. README.md +79 -0
  2. SHA256SUMS +2 -0
  3. spacr-example-ops.tar +3 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: "spaCR example: optical pooled screen"
4
+ tags:
5
+ - microscopy
6
+ - optical-pooled-screen
7
+ - crispr
8
+ - in-situ-sequencing
9
+ - spacr
10
+ size_categories:
11
+ - n<1K
12
+ source_datasets:
13
+ - "BioImage Archive S-BIAD394"
14
+ ---
15
+
16
+ # spaCR example: optical pooled screen
17
+
18
+ Two neighbouring 10X fields (sites 331 and 332, the last two of the
19
+ 333-field well) of the in-situ sequencing acquisition, with all eleven
20
+ sequencing cycles: `sequencing/c1/` holds cycle 1 as one five-plane stack
21
+ (DAPI, CY3, A594, CY5, CY7) and `sequencing/c2/` ... `c11/` hold each later
22
+ cycle's four base channels as separate files (1,480 x 1,480 px, uint16).
23
+ `library/pool10_prefixes.csv` is the screen's guide library as 11-base
24
+ barcode prefixes. About 394 MB.
25
+
26
+ Sites 331 and 332 are chosen because spaCR's OPS engine takes a well's field
27
+ count from its highest site number, and the last field keeps the measured
28
+ 333-field layout. There are no phenotype images: a 20X phenotype field is
29
+ 280 MB on its own, and placing phenotype fields needs anchors spread over the
30
+ whole well.
31
+
32
+ ## Source and licence
33
+
34
+ A small, **unmodified** sample of the primary fixed-cell optical pooled screen
35
+ of Funk *et al.* 2022, *The phenotypic landscape of essential human genes*,
36
+ Cell 185(24):4634-4653 ([doi:10.1016/j.cell.2022.10.017](https://doi.org/10.1016/j.cell.2022.10.017),
37
+ PMID 36347254), deposited in the BioImage Archive as
38
+ [S-BIAD394](https://www.ebi.ac.uk/biostudies/BioImages/studies/S-BIAD394):
39
+ plate `20200202_6W-LaC024A`, well A1. Every image is byte-identical to the
40
+ archived file; `manifest.csv` inside the archive gives each file's size,
41
+ SHA-256 and its path under
42
+ `https://ftp.ebi.ac.uk/biostudies/fire/S-BIAD/394/S-BIAD394/Files/`.
43
+
44
+ The BioImage Archive releases directly submitted data under CC0 or CC-BY-4.0
45
+ ([policy](https://www.ebi.ac.uk/bioimage-archive/help-policies/)); S-BIAD394
46
+ carries no other licence attribute. This sample is redistributed under
47
+ CC-BY-4.0 with attribution to the original authors. **Cite the paper above**
48
+ if you use it.
49
+
50
+ The guide library is derived from `pool10_design.csv` in the authors' [code repository](https://github.com/lukebfunk/OpticalPooledScreens) (MIT licence) exactly as their Snakefile derives it.
51
+
52
+ ## Use in spaCR
53
+
54
+ In the Mask screen press **OPS**, then **Load test data...** under
55
+ *OPS input*: the set is downloaded into
56
+ `~/.cache/spacr/example_data/ops_screen/` and `genotype_source`, `dst_root`,
57
+ `ops_library` and `plate` are filled in. **Run** stitches the two fields,
58
+ segments the nuclei with Cellpose and decodes each nucleus's barcode against
59
+ the library; the tables go to `ops_output/measurements.db`. From Python:
60
+
61
+ ```python
62
+ from spacr.ops_engine import run_ops
63
+ run_ops({"genotype_source": "<folder>/sequencing",
64
+ "dst_root": "<folder>/ops_output",
65
+ "ops_library": "<folder>/library/pool10_prefixes.csv",
66
+ "plate": "20200202_6W-LaC024A"})
67
+ ```
68
+
69
+ Measured on this sample with spaCR's CPU path (`ops_gpu` off): the stitch
70
+ places both fields on one accepted edge; Cellpose (cpsam) numbers 10,675
71
+ nuclei; decoding finds 22,733 spots over eleven cycles, 80 % of them an exact
72
+ match to a library prefix, and assigns a barcode to 3,729 nuclei, 3,549 of
73
+ them library-exact (95 %). On a CPU the segmentation takes about an hour; on a
74
+ GPU it takes minutes. The decode takes about 20 s.
75
+
76
+ ## Files
77
+
78
+ One uncompressed tar, `spacr-example-ops.tar`, unpacked with Python's tar data filter by
79
+ spaCR. `SHA256SUMS` holds the archive's checksum.
SHA256SUMS ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ 3dbe272e2134fa70c945cd6a3720b34241e1cfeaaa7815856a45ae87f0f28595 spacr-example-ops.tar
2
+ f046682d387c78e3208e689198924463c6d2d6c014dd63ebc9ced57e4b7766d6 README.md
spacr-example-ops.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dbe272e2134fa70c945cd6a3720b34241e1cfeaaa7815856a45ae87f0f28595
3
+ size 395448320