nci-cidc-schemas 0.27.21__py2.py3-none-any.whl → 0.27.24__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nci-cidc-schemas might be problematic. Click here for more details.

Files changed (28) hide show
  1. cidc_schemas/__init__.py +1 -1
  2. cidc_schemas/prism/constants.py +48 -0
  3. cidc_schemas/schemas/artifacts/artifact_html.json +51 -0
  4. cidc_schemas/schemas/artifacts/artifact_mtx.json +51 -0
  5. cidc_schemas/schemas/artifacts/artifact_out.json +51 -0
  6. cidc_schemas/schemas/artifacts/artifact_rds.json +51 -0
  7. cidc_schemas/schemas/artifacts/artifact_stats.json +51 -0
  8. cidc_schemas/schemas/artifacts/artifact_tab.json +51 -0
  9. cidc_schemas/schemas/artifacts/artifact_tiff.json +51 -0
  10. cidc_schemas/schemas/artifacts/artifact_txt.json +51 -0
  11. cidc_schemas/schemas/assays/components/available_assays.json +11 -0
  12. cidc_schemas/schemas/assays/components/available_ngs_analyses.json +22 -0
  13. cidc_schemas/schemas/assays/components/visium_input.json +60 -0
  14. cidc_schemas/schemas/assays/components/visium_preamble.json +27 -0
  15. cidc_schemas/schemas/assays/scrnaseq_analysis.json +102 -0
  16. cidc_schemas/schemas/assays/visium_analysis.json +62 -0
  17. cidc_schemas/schemas/assays/visium_assay.json +68 -0
  18. cidc_schemas/schemas/sample.json +1 -1
  19. cidc_schemas/schemas/templates/analyses/scrnaseq_analysis_template.json +232 -0
  20. cidc_schemas/schemas/templates/analyses/visium_analysis_template.json +103 -0
  21. cidc_schemas/schemas/templates/assays/visium_template.json +150 -0
  22. cidc_schemas/schemas/templates/manifests/normal_blood_dna_template.json +2 -1
  23. {nci_cidc_schemas-0.27.21.dist-info → nci_cidc_schemas-0.27.24.dist-info}/METADATA +1 -1
  24. {nci_cidc_schemas-0.27.21.dist-info → nci_cidc_schemas-0.27.24.dist-info}/RECORD +28 -12
  25. {nci_cidc_schemas-0.27.21.dist-info → nci_cidc_schemas-0.27.24.dist-info}/WHEEL +0 -0
  26. {nci_cidc_schemas-0.27.21.dist-info → nci_cidc_schemas-0.27.24.dist-info}/entry_points.txt +0 -0
  27. {nci_cidc_schemas-0.27.21.dist-info → nci_cidc_schemas-0.27.24.dist-info}/licenses/LICENSE +0 -0
  28. {nci_cidc_schemas-0.27.21.dist-info → nci_cidc_schemas-0.27.24.dist-info}/top_level.txt +0 -0
cidc_schemas/__init__.py CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  __author__ = """NCI"""
4
4
  __email__ = "nci-cidc-tools-admin@mail.nih.gov"
5
- __version__ = "0.27.21"
5
+ __version__ = "0.27.24"
@@ -27,6 +27,7 @@ SUPPORTED_ASSAYS = [
27
27
  "microbiome",
28
28
  "mihc",
29
29
  "scrnaseq",
30
+ "visium",
30
31
  ]
31
32
 
32
33
  SUPPORTED_SHIPPING_MANIFESTS = [
@@ -53,8 +54,52 @@ SUPPORTED_ANALYSES = [
53
54
  "tcr_analysis",
54
55
  "wes_analysis",
55
56
  "wes_tumor_only_analysis",
57
+ "scrnaseq_analysis",
58
+ "visium_analysis",
56
59
  ]
57
60
 
61
+ """
62
+ Since most of the definitions are json files which don't allow comments, I'm putting
63
+ our scrnaseq_analysis documentation here. These are the files (and folder structure) that are expected in the gcloud
64
+ directory to fully create a record for scRNA analysis:
65
+ ./sample_metadata.csv
66
+ ./config.yaml
67
+ ./R_package_versions.csv
68
+ ./clustering/SRR8318954_clustering.rds
69
+ ./integration/integrated.rds
70
+ ./integration/heatmap_plots.zip
71
+ ./integration/markers.zip
72
+ ./integration/split_percent_plots.zip
73
+ ./integration/split_umap_plots.zip
74
+ ./integration/umap_plots.zip
75
+ ./report/SRR8318954_report.html
76
+ ./star/SRR8318954.Aligned.sortedByCoord.out.bam
77
+ ./star/SRR8318954.Aligned.sortedByCoord.out.bam.bai
78
+ ./star/SRR8318954.Log.final.out
79
+ ./star/SRR8318954.Log.out
80
+ ./star/SRR8318954.Log.progress.out
81
+ ./star/SRR8318954.SJ.out.tab
82
+ ./star/SRR8318954.Solo.out/Barcodes.stats
83
+ ./star/SRR8318954.Solo.out/Gene/Features.stats
84
+ ./star/SRR8318954.Solo.out/Gene/Summary.csv
85
+ ./star/SRR8318954.Solo.out/Gene/UMIperCellSorted.txt
86
+ ./star/SRR8318954.Solo.out/Gene/filtered/features.tsv
87
+ ./star/SRR8318954.Solo.out/Gene/filtered/barcodes.tsv
88
+ ./star/SRR8318954.Solo.out/Gene/filtered/matrix.mtx
89
+ ./star/SRR8318954.Solo.out/Gene/raw/features.tsv
90
+ ./star/SRR8318954.Solo.out/Gene/raw/barcodes.tsv
91
+ ./star/SRR8318954.Solo.out/Gene/raw/matrix.mtx
92
+
93
+ These are the files required for visium analysis:
94
+ ./sample_metadata.csv
95
+ ./config.yaml
96
+ ./R_package_versions.csv
97
+ ./spatial_variable_features/{id}_spatial_variable_features.rds
98
+ ./report/{id}_report.html
99
+ ./merge/merged.rds
100
+ ./{id}_spaceranger.zip
101
+ """
102
+
58
103
  SUPPORTED_TEMPLATES = SUPPORTED_ASSAYS + SUPPORTED_MANIFESTS + SUPPORTED_ANALYSES
59
104
 
60
105
  # provide a way to get file-path prefix for each upload_type
@@ -95,6 +140,9 @@ ASSAY_TO_FILEPATH: Dict[str, str] = {
95
140
  "olink",
96
141
  "mihc",
97
142
  "scrnaseq",
143
+ "scrnaseq_analysis",
144
+ "visium",
145
+ "visium_analysis",
98
146
  ]
99
147
  },
100
148
  }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "html_artifact",
4
+ "title": "HTML Artifact",
5
+ "type": "object",
6
+ "description": "Information about a HTML file.",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "data_format": {
10
+ "description": "Data format.",
11
+ "const": "HTML"
12
+ },
13
+ "upload_placeholder": {
14
+ "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
15
+ },
16
+ "artifact_creator": {
17
+ "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
18
+ },
19
+ "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
20
+ "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
21
+ "file_name": {
22
+ "$ref": "artifacts/artifact_core.json#properties/file_name"
23
+ },
24
+ "object_url": {
25
+ "$ref": "artifacts/artifact_core.json#properties/object_url"
26
+ },
27
+ "uploaded_timestamp": {
28
+ "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
29
+ },
30
+ "file_size_bytes": {
31
+ "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
32
+ },
33
+ "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
34
+ "crc32c_hash": {
35
+ "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
36
+ },
37
+ "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
38
+ "artifact_category": {
39
+ "$ref": "artifacts/artifact_core.json#properties/artifact_category"
40
+ },
41
+ "facet_group": {
42
+ "$ref": "artifacts/artifact_core.json#properties/facet_group"
43
+ }
44
+ },
45
+ "allOf": [
46
+ {
47
+ "$ref": "artifacts/artifact_core.json"
48
+ }
49
+ ],
50
+ "mergeStrategy": "objectMerge"
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "mtx_artifact",
4
+ "title": "MTX Artifact",
5
+ "type": "object",
6
+ "description": "Information about a MTX file.",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "data_format": {
10
+ "description": "Data format.",
11
+ "const": "MTX"
12
+ },
13
+ "upload_placeholder": {
14
+ "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
15
+ },
16
+ "artifact_creator": {
17
+ "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
18
+ },
19
+ "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
20
+ "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
21
+ "file_name": {
22
+ "$ref": "artifacts/artifact_core.json#properties/file_name"
23
+ },
24
+ "object_url": {
25
+ "$ref": "artifacts/artifact_core.json#properties/object_url"
26
+ },
27
+ "uploaded_timestamp": {
28
+ "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
29
+ },
30
+ "file_size_bytes": {
31
+ "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
32
+ },
33
+ "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
34
+ "crc32c_hash": {
35
+ "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
36
+ },
37
+ "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
38
+ "artifact_category": {
39
+ "$ref": "artifacts/artifact_core.json#properties/artifact_category"
40
+ },
41
+ "facet_group": {
42
+ "$ref": "artifacts/artifact_core.json#properties/facet_group"
43
+ }
44
+ },
45
+ "allOf": [
46
+ {
47
+ "$ref": "artifacts/artifact_core.json"
48
+ }
49
+ ],
50
+ "mergeStrategy": "objectMerge"
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "out_artifact",
4
+ "title": "OUT Artifact",
5
+ "type": "object",
6
+ "description": "Information about a OUT file.",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "data_format": {
10
+ "description": "Data format.",
11
+ "const": "OUT"
12
+ },
13
+ "upload_placeholder": {
14
+ "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
15
+ },
16
+ "artifact_creator": {
17
+ "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
18
+ },
19
+ "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
20
+ "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
21
+ "file_name": {
22
+ "$ref": "artifacts/artifact_core.json#properties/file_name"
23
+ },
24
+ "object_url": {
25
+ "$ref": "artifacts/artifact_core.json#properties/object_url"
26
+ },
27
+ "uploaded_timestamp": {
28
+ "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
29
+ },
30
+ "file_size_bytes": {
31
+ "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
32
+ },
33
+ "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
34
+ "crc32c_hash": {
35
+ "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
36
+ },
37
+ "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
38
+ "artifact_category": {
39
+ "$ref": "artifacts/artifact_core.json#properties/artifact_category"
40
+ },
41
+ "facet_group": {
42
+ "$ref": "artifacts/artifact_core.json#properties/facet_group"
43
+ }
44
+ },
45
+ "allOf": [
46
+ {
47
+ "$ref": "artifacts/artifact_core.json"
48
+ }
49
+ ],
50
+ "mergeStrategy": "objectMerge"
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "rds_artifact",
4
+ "title": "RDS Artifact",
5
+ "type": "object",
6
+ "description": "Information about a rds file.",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "data_format": {
10
+ "description": "Data format.",
11
+ "const": "RDS"
12
+ },
13
+ "upload_placeholder": {
14
+ "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
15
+ },
16
+ "artifact_creator": {
17
+ "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
18
+ },
19
+ "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
20
+ "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
21
+ "file_name": {
22
+ "$ref": "artifacts/artifact_core.json#properties/file_name"
23
+ },
24
+ "object_url": {
25
+ "$ref": "artifacts/artifact_core.json#properties/object_url"
26
+ },
27
+ "uploaded_timestamp": {
28
+ "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
29
+ },
30
+ "file_size_bytes": {
31
+ "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
32
+ },
33
+ "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
34
+ "crc32c_hash": {
35
+ "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
36
+ },
37
+ "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
38
+ "artifact_category": {
39
+ "$ref": "artifacts/artifact_core.json#properties/artifact_category"
40
+ },
41
+ "facet_group": {
42
+ "$ref": "artifacts/artifact_core.json#properties/facet_group"
43
+ }
44
+ },
45
+ "allOf": [
46
+ {
47
+ "$ref": "artifacts/artifact_core.json"
48
+ }
49
+ ],
50
+ "mergeStrategy": "objectMerge"
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "stats_artifact",
4
+ "title": "Stats Artifact",
5
+ "type": "object",
6
+ "description": "Information about a STATS file.",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "data_format": {
10
+ "description": "Data format.",
11
+ "const": "STATS"
12
+ },
13
+ "upload_placeholder": {
14
+ "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
15
+ },
16
+ "artifact_creator": {
17
+ "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
18
+ },
19
+ "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
20
+ "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
21
+ "file_name": {
22
+ "$ref": "artifacts/artifact_core.json#properties/file_name"
23
+ },
24
+ "object_url": {
25
+ "$ref": "artifacts/artifact_core.json#properties/object_url"
26
+ },
27
+ "uploaded_timestamp": {
28
+ "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
29
+ },
30
+ "file_size_bytes": {
31
+ "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
32
+ },
33
+ "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
34
+ "crc32c_hash": {
35
+ "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
36
+ },
37
+ "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
38
+ "artifact_category": {
39
+ "$ref": "artifacts/artifact_core.json#properties/artifact_category"
40
+ },
41
+ "facet_group": {
42
+ "$ref": "artifacts/artifact_core.json#properties/facet_group"
43
+ }
44
+ },
45
+ "allOf": [
46
+ {
47
+ "$ref": "artifacts/artifact_core.json"
48
+ }
49
+ ],
50
+ "mergeStrategy": "objectMerge"
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "tab_artifact",
4
+ "title": "TAB Artifact",
5
+ "type": "object",
6
+ "description": "Information about a TAB file.",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "data_format": {
10
+ "description": "Data format.",
11
+ "const": "TAB"
12
+ },
13
+ "upload_placeholder": {
14
+ "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
15
+ },
16
+ "artifact_creator": {
17
+ "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
18
+ },
19
+ "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
20
+ "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
21
+ "file_name": {
22
+ "$ref": "artifacts/artifact_core.json#properties/file_name"
23
+ },
24
+ "object_url": {
25
+ "$ref": "artifacts/artifact_core.json#properties/object_url"
26
+ },
27
+ "uploaded_timestamp": {
28
+ "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
29
+ },
30
+ "file_size_bytes": {
31
+ "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
32
+ },
33
+ "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
34
+ "crc32c_hash": {
35
+ "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
36
+ },
37
+ "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
38
+ "artifact_category": {
39
+ "$ref": "artifacts/artifact_core.json#properties/artifact_category"
40
+ },
41
+ "facet_group": {
42
+ "$ref": "artifacts/artifact_core.json#properties/facet_group"
43
+ }
44
+ },
45
+ "allOf": [
46
+ {
47
+ "$ref": "artifacts/artifact_core.json"
48
+ }
49
+ ],
50
+ "mergeStrategy": "objectMerge"
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "tiff_artifact",
4
+ "title": "Tiff Artifact",
5
+ "type": "object",
6
+ "description": "Information about a tiff file.",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "data_format": {
10
+ "description": "Data format.",
11
+ "const": "TIFF"
12
+ },
13
+ "upload_placeholder": {
14
+ "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
15
+ },
16
+ "artifact_creator": {
17
+ "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
18
+ },
19
+ "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
20
+ "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
21
+ "file_name": {
22
+ "$ref": "artifacts/artifact_core.json#properties/file_name"
23
+ },
24
+ "object_url": {
25
+ "$ref": "artifacts/artifact_core.json#properties/object_url"
26
+ },
27
+ "uploaded_timestamp": {
28
+ "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
29
+ },
30
+ "file_size_bytes": {
31
+ "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
32
+ },
33
+ "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
34
+ "crc32c_hash": {
35
+ "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
36
+ },
37
+ "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
38
+ "artifact_category": {
39
+ "$ref": "artifacts/artifact_core.json#properties/artifact_category"
40
+ },
41
+ "facet_group": {
42
+ "$ref": "artifacts/artifact_core.json#properties/facet_group"
43
+ }
44
+ },
45
+ "allOf": [
46
+ {
47
+ "$ref": "artifacts/artifact_core.json"
48
+ }
49
+ ],
50
+ "mergeStrategy": "objectMerge"
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "txt_artifact",
4
+ "title": "Txt Artifact",
5
+ "type": "object",
6
+ "description": "Information about a txt file.",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "data_format": {
10
+ "description": "Data format.",
11
+ "const": "TXT"
12
+ },
13
+ "upload_placeholder": {
14
+ "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
15
+ },
16
+ "artifact_creator": {
17
+ "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
18
+ },
19
+ "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
20
+ "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
21
+ "file_name": {
22
+ "$ref": "artifacts/artifact_core.json#properties/file_name"
23
+ },
24
+ "object_url": {
25
+ "$ref": "artifacts/artifact_core.json#properties/object_url"
26
+ },
27
+ "uploaded_timestamp": {
28
+ "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
29
+ },
30
+ "file_size_bytes": {
31
+ "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
32
+ },
33
+ "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
34
+ "crc32c_hash": {
35
+ "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
36
+ },
37
+ "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
38
+ "artifact_category": {
39
+ "$ref": "artifacts/artifact_core.json#properties/artifact_category"
40
+ },
41
+ "facet_group": {
42
+ "$ref": "artifacts/artifact_core.json#properties/facet_group"
43
+ }
44
+ },
45
+ "allOf": [
46
+ {
47
+ "$ref": "artifacts/artifact_core.json"
48
+ }
49
+ ],
50
+ "mergeStrategy": "objectMerge"
51
+ }
@@ -141,6 +141,17 @@
141
141
  "idRef": "batch_id"
142
142
  }
143
143
  },
144
+ "visium": {
145
+ "type": "array",
146
+ "description": "Visium",
147
+ "items": {
148
+ "$ref": "assays/visium_assay.json"
149
+ },
150
+ "mergeStrategy": "arrayMergeById",
151
+ "mergeOptions": {
152
+ "idRef": "batch_id"
153
+ }
154
+ },
144
155
  "nanostring": {
145
156
  "type": "array",
146
157
  "description": "Nanostring",
@@ -35,6 +35,28 @@
35
35
  "mergeOptions": {
36
36
  "idRef": "batch_id"
37
37
  }
38
+ },
39
+ "scrnaseq_analysis": {
40
+ "type": "array",
41
+ "description": "Analysis for Assay for scRNA.",
42
+ "items": {
43
+ "$ref": "assays/scrnaseq_analysis.json"
44
+ },
45
+ "mergeStrategy": "arrayMergeById",
46
+ "mergeOptions": {
47
+ "idRef": "batch_id"
48
+ }
49
+ },
50
+ "visium_analysis": {
51
+ "type": "array",
52
+ "description": "Analysis for Assay for visium.",
53
+ "items": {
54
+ "$ref": "assays/visium_analysis.json"
55
+ },
56
+ "mergeStrategy": "arrayMergeById",
57
+ "mergeOptions": {
58
+ "idRef": "batch_id"
59
+ }
38
60
  }
39
61
  }
40
62
  }
@@ -0,0 +1,60 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "visium_input",
4
+ "title": "Visium Input Files and Data",
5
+ "type": "object",
6
+ "description": "Visium assay input files and data",
7
+ "inheritableBase": true,
8
+ "properties": {
9
+ "lane": {
10
+ "description": "Lane used for this run from 1-9",
11
+ "type": "integer",
12
+ "exclusiveMinimum": 0,
13
+ "maximum": 9
14
+ },
15
+ "read_1_fastq_gz": {
16
+ "$ref": "artifacts/artifact_gz.json"
17
+ },
18
+ "read_2_fastq_gz": {
19
+ "$ref": "artifacts/artifact_gz.json"
20
+ },
21
+ "loupe_alignment_file": {
22
+ "$ref": "artifacts/artifact_json.json"
23
+ },
24
+ "slide_serial_code": {
25
+ "type": "string",
26
+ "description": "Visium slide serial number"
27
+ },
28
+ "slide_capture_area": {
29
+ "type": "string",
30
+ "description": "Visium capture area identifier"
31
+ },
32
+ "library_yield_ng": {
33
+ "description": "Resulting yield (in ng) from library construction.",
34
+ "type": "number"
35
+ },
36
+ "dv200": {
37
+ "description": "The percentage of fragments > 200 nucleotides. (0-1)",
38
+ "type": "number",
39
+ "minimum": 0,
40
+ "maximum": 1
41
+ },
42
+ "brightfield_image": { "$ref": "artifacts/artifact_tiff.json"},
43
+ "dark_image": { "$ref": "artifacts/artifact_tiff.json"},
44
+ "colorized_image": { "$ref": "artifacts/artifact_tiff.json"},
45
+ "cytassist_image": { "$ref": "artifacts/artifact_tiff.json"},
46
+ "dapi_index": {
47
+ "type": "integer",
48
+ "description": "Index of DAPI channel (1-indexed) of fluorescence image."
49
+ },
50
+ "comments": {
51
+ "type": "string",
52
+ "description": "Comments on visium run"
53
+ }
54
+ },
55
+ "required": [
56
+ "lane",
57
+ "read_1_fastq_gz",
58
+ "read_2_fastq_gz"
59
+ ]
60
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "metaschema/strict_meta_schema.json#",
3
+ "$id": "visium_preamble",
4
+ "title": "Visium Preamble",
5
+ "description": "Preamble information in a visium assay",
6
+ "type": "object",
7
+ "inheritableBase": true,
8
+ "properties": {
9
+ "spatial_gene_expression_platform": {
10
+ "description": "Visium spatial gene expression platform",
11
+ "type": "string",
12
+ "enum": [
13
+ "Visium Spatial Gene Expression for FFPE",
14
+ "Visium CytAssist Spatial Gene Expression for FFPE",
15
+ "Visium HD Spatial Gene Expression for FFPE"
16
+ ]
17
+ },
18
+ "human_transcriptome_probe_set_version": {
19
+ "description": "Visium human transcriptome probe set version",
20
+ "type": "string",
21
+ "enum": [
22
+ "Visium Human Transcriptome Probe Set v1.0",
23
+ "Visium Human Transcriptome Probe Set v2.0"
24
+ ]
25
+ }
26
+ }
27
+ }