nci-cidc-schemas 0.28.3__py2.py3-none-any.whl → 0.28.13__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.
- cidc_schemas/__init__.py +1 -1
- cidc_schemas/ngs_pipeline_api/__init__.py +0 -1
- cidc_schemas/ngs_pipeline_api/wes/wes_output_API.py +1 -1
- cidc_schemas/prism/constants.py +7 -8
- cidc_schemas/prism/pipelines.py +2 -24
- cidc_schemas/schemas/artifacts/artifact_ibd.json +51 -0
- cidc_schemas/schemas/artifacts/artifact_imzml.json +51 -0
- cidc_schemas/schemas/artifacts/artifact_parquet.json +51 -0
- cidc_schemas/schemas/assays/atacseq_assay.json +4 -0
- cidc_schemas/schemas/assays/components/available_assays.json +34 -1
- cidc_schemas/schemas/assays/components/maldi_glycan_input.json +28 -0
- cidc_schemas/schemas/assays/components/ngs/atacseq/atacseq_analysis.json +4 -0
- cidc_schemas/schemas/assays/components/ngs/rna/rna_analysis.json +10 -1
- cidc_schemas/schemas/assays/components/ngs_assay_core.json +2 -1
- cidc_schemas/schemas/assays/ctdna_assay.json +4 -0
- cidc_schemas/schemas/assays/cytof_assay.json +4 -0
- cidc_schemas/schemas/assays/cytof_assay_core.json +4 -0
- cidc_schemas/schemas/assays/elisa_assay.json +8 -4
- cidc_schemas/schemas/assays/hande_assay.json +18 -1
- cidc_schemas/schemas/assays/ihc_assay.json +9 -1
- cidc_schemas/schemas/assays/maldi_glycan_assay.json +72 -0
- cidc_schemas/schemas/assays/mibi_assay.json +4 -0
- cidc_schemas/schemas/assays/microbiome_assay.json +5 -1
- cidc_schemas/schemas/assays/mif_assay.json +10 -3
- cidc_schemas/schemas/assays/mihc_assay.json +4 -1
- cidc_schemas/schemas/assays/misc_data.json +9 -1
- cidc_schemas/schemas/assays/nanostring_assay.json +5 -1
- cidc_schemas/schemas/assays/nulisa_assay.json +4 -0
- cidc_schemas/schemas/assays/olink_assay.json +4 -0
- cidc_schemas/schemas/assays/olink_ht_assay.json +100 -0
- cidc_schemas/schemas/assays/rna_assay-v0.json +9 -0
- cidc_schemas/schemas/assays/scrnaseq_analysis.json +4 -0
- cidc_schemas/schemas/assays/scrnaseq_assay.json +4 -0
- cidc_schemas/schemas/assays/tcr_analysis.json +4 -0
- cidc_schemas/schemas/assays/tcr_assay.json +4 -0
- cidc_schemas/schemas/assays/tcrseq_rna_assay.json +64 -0
- cidc_schemas/schemas/assays/visium_analysis.json +4 -0
- cidc_schemas/schemas/assays/visium_assay.json +4 -0
- cidc_schemas/schemas/assays/wes_analysis.json +9 -1
- cidc_schemas/schemas/assays/wes_assay.json +25 -3
- cidc_schemas/schemas/assays/wes_tumor_only_analysis.json +9 -1
- cidc_schemas/schemas/clinical_data.json +8 -0
- cidc_schemas/schemas/shipping_core.json +3 -1
- cidc_schemas/schemas/templates/analyses/atacseq_analysis_template.json +6 -2
- cidc_schemas/schemas/templates/analyses/cytof_analysis_template.json +16 -12
- cidc_schemas/schemas/templates/analyses/rna_level1_analysis_template.json +9 -1
- cidc_schemas/schemas/templates/analyses/scrnaseq_analysis_template.json +32 -28
- cidc_schemas/schemas/templates/analyses/tcr_analysis_template.json +9 -5
- cidc_schemas/schemas/templates/analyses/visium_analysis_template.json +11 -7
- cidc_schemas/schemas/templates/analyses/wes_analysis_template.json +9 -1
- cidc_schemas/schemas/templates/analyses/wes_tumor_only_analysis_template.json +9 -1
- cidc_schemas/schemas/templates/assays/atacseq_fastq_template.json +6 -2
- cidc_schemas/schemas/templates/assays/clinical_data_template.json +8 -0
- cidc_schemas/schemas/templates/assays/ctdna_template.json +15 -11
- cidc_schemas/schemas/templates/assays/cytof_template.json +9 -4
- cidc_schemas/schemas/templates/assays/elisa_template.json +8 -4
- cidc_schemas/schemas/templates/assays/hande_template.json +10 -2
- cidc_schemas/schemas/templates/assays/ihc_template.json +8 -0
- cidc_schemas/schemas/templates/assays/maldi_glycan_template.json +143 -0
- cidc_schemas/schemas/templates/assays/mibi_template.json +8 -4
- cidc_schemas/schemas/templates/assays/microbiome_template.json +12 -8
- cidc_schemas/schemas/templates/assays/mif_template.json +8 -0
- cidc_schemas/schemas/templates/assays/mihc_template.json +6 -2
- cidc_schemas/schemas/templates/assays/misc_data_template.json +8 -0
- cidc_schemas/schemas/templates/assays/nanostring_template.json +10 -6
- cidc_schemas/schemas/templates/assays/nulisa_template.json +8 -4
- cidc_schemas/schemas/templates/assays/olink_ht_template.json +86 -0
- cidc_schemas/schemas/templates/assays/olink_template.json +8 -4
- cidc_schemas/schemas/templates/assays/rna_bam_template.json +9 -1
- cidc_schemas/schemas/templates/assays/rna_fastq_template.json +9 -1
- cidc_schemas/schemas/templates/assays/scrnaseq_template.json +8 -4
- cidc_schemas/schemas/templates/assays/tcr_adaptive_template.json +9 -5
- cidc_schemas/schemas/templates/assays/tcr_fastq_template.json +10 -6
- cidc_schemas/schemas/templates/assays/tcrseq_rna_template.json +59 -0
- cidc_schemas/schemas/templates/assays/visium_template.json +13 -9
- cidc_schemas/schemas/templates/assays/wes_bam_template.json +8 -0
- cidc_schemas/schemas/templates/assays/wes_fastq_template.json +8 -0
- cidc_schemas/template.py +0 -4
- cidc_schemas/unprism.py +3 -3
- {nci_cidc_schemas-0.28.3.dist-info → nci_cidc_schemas-0.28.13.dist-info}/METADATA +21 -15
- {nci_cidc_schemas-0.28.3.dist-info → nci_cidc_schemas-0.28.13.dist-info}/RECORD +85 -76
- {nci_cidc_schemas-0.28.3.dist-info → nci_cidc_schemas-0.28.13.dist-info}/WHEEL +1 -1
- cidc_schemas/schemas/templates/manifests/tumor_normal_pairing_template.json +0 -63
- {nci_cidc_schemas-0.28.3.dist-info → nci_cidc_schemas-0.28.13.dist-info}/entry_points.txt +0 -0
- {nci_cidc_schemas-0.28.3.dist-info → nci_cidc_schemas-0.28.13.dist-info}/licenses/LICENSE +0 -0
- {nci_cidc_schemas-0.28.3.dist-info → nci_cidc_schemas-0.28.13.dist-info}/top_level.txt +0 -0
|
@@ -19,10 +19,14 @@
|
|
|
19
19
|
"merge_pointer": "0/sequencer_platform",
|
|
20
20
|
"type_ref": "assays/components/ngs_assay_core.json#properties/sequencer_platform"
|
|
21
21
|
},
|
|
22
|
-
"
|
|
22
|
+
"CIMAC Batch ID": {
|
|
23
23
|
"merge_pointer": "0/batch_id",
|
|
24
24
|
"type_ref": "assays/tcr_assay.json#properties/batch_id"
|
|
25
25
|
},
|
|
26
|
+
"CIDC Submission ID": {
|
|
27
|
+
"merge_pointer": "0/optional_id",
|
|
28
|
+
"type_ref": "assays/tcr_assay.json#properties/optional_id"
|
|
29
|
+
},
|
|
26
30
|
"sequencing run date": {
|
|
27
31
|
"merge_pointer": "0/sequencing_run_date",
|
|
28
32
|
"type_ref": "assays/tcr_assay.json#properties/sequencing_run_date",
|
|
@@ -30,7 +34,7 @@
|
|
|
30
34
|
},
|
|
31
35
|
"sample sheet": {
|
|
32
36
|
"merge_pointer": "0/sample_sheet",
|
|
33
|
-
"gcs_uri_format": "{protocol identifier}/tcr/{batch id}/SampleSheet.csv",
|
|
37
|
+
"gcs_uri_format": "{protocol identifier}/tcr/{cimac batch id}/SampleSheet.csv",
|
|
34
38
|
"is_artifact": 1,
|
|
35
39
|
"type_ref": "assays/components/local_file.json#properties/file_path",
|
|
36
40
|
"allow_empty": true
|
|
@@ -45,7 +49,7 @@
|
|
|
45
49
|
},
|
|
46
50
|
"tsv reads": {
|
|
47
51
|
"merge_pointer": "0/tsv_file",
|
|
48
|
-
"gcs_uri_format": "{protocol identifier}/tcr/{batch id}/{cimac id}/reads.tsv",
|
|
52
|
+
"gcs_uri_format": "{protocol identifier}/tcr/{cimac batch id}/{cimac id}/reads.tsv",
|
|
49
53
|
"is_artifact": "1",
|
|
50
54
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
51
55
|
}
|
|
@@ -60,7 +64,7 @@
|
|
|
60
64
|
"merge_pointer": "3/protocol_identifier",
|
|
61
65
|
"type_ref": "clinical_trial.json#properties/protocol_identifier"
|
|
62
66
|
},
|
|
63
|
-
"
|
|
67
|
+
"CIMAC Batch ID": {
|
|
64
68
|
"merge_pointer": "0/batch_id",
|
|
65
69
|
"type_ref": "assays/tcr_assay.json#properties/batch_id"
|
|
66
70
|
}
|
|
@@ -74,7 +78,7 @@
|
|
|
74
78
|
},
|
|
75
79
|
"tsv reads": {
|
|
76
80
|
"merge_pointer": "0/tsv_file",
|
|
77
|
-
"gcs_uri_format": "{protocol identifier}/tcr/{batch id}/controls/{control id}/reads.tsv",
|
|
81
|
+
"gcs_uri_format": "{protocol identifier}/tcr/{cimac batch id}/controls/{control id}/reads.tsv",
|
|
78
82
|
"is_artifact": "1",
|
|
79
83
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
80
84
|
}
|
|
@@ -19,17 +19,21 @@
|
|
|
19
19
|
"merge_pointer": "0/sequencer_platform",
|
|
20
20
|
"type_ref": "assays/components/ngs_assay_core.json#properties/sequencer_platform"
|
|
21
21
|
},
|
|
22
|
-
"
|
|
22
|
+
"CIMAC Batch ID": {
|
|
23
23
|
"merge_pointer": "0/batch_id",
|
|
24
24
|
"type_ref": "assays/tcr_assay.json#properties/batch_id"
|
|
25
25
|
},
|
|
26
|
+
"CIDC Submission ID": {
|
|
27
|
+
"merge_pointer": "0/optional_id",
|
|
28
|
+
"type_ref": "assays/tcr_assay.json#properties/optional_id"
|
|
29
|
+
},
|
|
26
30
|
"sequencing run date": {
|
|
27
31
|
"merge_pointer": "0/sequencing_run_date",
|
|
28
32
|
"type_ref": "assays/tcr_assay.json#properties/sequencing_run_date"
|
|
29
33
|
},
|
|
30
34
|
"sample sheet": {
|
|
31
35
|
"merge_pointer": "0/sample_sheet",
|
|
32
|
-
"gcs_uri_format": "{protocol identifier}/tcr/{batch id}/SampleSheet.csv",
|
|
36
|
+
"gcs_uri_format": "{protocol identifier}/tcr/{cimac batch id}/SampleSheet.csv",
|
|
33
37
|
"is_artifact": 1,
|
|
34
38
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
35
39
|
}
|
|
@@ -47,25 +51,25 @@
|
|
|
47
51
|
},
|
|
48
52
|
"read 1": {
|
|
49
53
|
"merge_pointer": "0/r1/-",
|
|
50
|
-
"gcs_uri_format": "{protocol identifier}/tcr/{batch id}/{cimac id}/replicate_{replicate id}/r1.fastq.gz",
|
|
54
|
+
"gcs_uri_format": "{protocol identifier}/tcr/{cimac batch id}/{cimac id}/replicate_{replicate id}/r1.fastq.gz",
|
|
51
55
|
"is_artifact": "1",
|
|
52
56
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
53
57
|
},
|
|
54
58
|
"read 2": {
|
|
55
59
|
"merge_pointer": "0/r2/-",
|
|
56
|
-
"gcs_uri_format": "{protocol identifier}/tcr/{batch id}/{cimac id}/replicate_{replicate id}/r2.fastq.gz",
|
|
60
|
+
"gcs_uri_format": "{protocol identifier}/tcr/{cimac batch id}/{cimac id}/replicate_{replicate id}/r2.fastq.gz",
|
|
57
61
|
"is_artifact" : "1",
|
|
58
62
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
59
63
|
},
|
|
60
64
|
"index 1": {
|
|
61
65
|
"merge_pointer": "0/i1/-",
|
|
62
|
-
"gcs_uri_format": "{protocol identifier}/tcr/{batch id}/{cimac id}/replicate_{replicate id}/i1.fastq.gz",
|
|
66
|
+
"gcs_uri_format": "{protocol identifier}/tcr/{cimac batch id}/{cimac id}/replicate_{replicate id}/i1.fastq.gz",
|
|
63
67
|
"is_artifact": "1",
|
|
64
68
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
65
69
|
},
|
|
66
70
|
"index 2": {
|
|
67
71
|
"merge_pointer": "0/i2/-",
|
|
68
|
-
"gcs_uri_format": "{protocol identifier}/tcr/{batch id}/{cimac id}/replicate_{replicate id}/i2.fastq.gz",
|
|
72
|
+
"gcs_uri_format": "{protocol identifier}/tcr/{cimac batch id}/{cimac id}/replicate_{replicate id}/i2.fastq.gz",
|
|
69
73
|
"is_artifact" : "1",
|
|
70
74
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
71
75
|
},
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "TCR RNA assay template",
|
|
3
|
+
"description": "TCR RNA submission.",
|
|
4
|
+
"prism_template_root_object_schema": "assays/tcrseq_rna_assay.json",
|
|
5
|
+
"prism_template_root_object_pointer": "/assays/tcrseq_rna/0",
|
|
6
|
+
"properties": {
|
|
7
|
+
"worksheets": {
|
|
8
|
+
"TCR RNA": {
|
|
9
|
+
"prism_data_object_pointer": "/records/-",
|
|
10
|
+
"preamble_rows": {
|
|
11
|
+
"protocol identifier": {
|
|
12
|
+
"merge_pointer": "3/protocol_identifier",
|
|
13
|
+
"type_ref": "clinical_trial.json#properties/protocol_identifier"
|
|
14
|
+
},
|
|
15
|
+
"CIMAC Batch ID": {
|
|
16
|
+
"merge_pointer": "0/batch_id",
|
|
17
|
+
"type_ref": "assays/mibi_assay.json#properties/batch_id"
|
|
18
|
+
},
|
|
19
|
+
"CIDC Submission ID": {
|
|
20
|
+
"merge_pointer": "0/optional_id",
|
|
21
|
+
"type_ref": "assays/mibi_assay.json#properties/optional_id"
|
|
22
|
+
},
|
|
23
|
+
"assay creator": {
|
|
24
|
+
"merge_pointer": "0/assay_creator",
|
|
25
|
+
"type_ref": "assays/components/assay_core.json#properties/assay_creator"
|
|
26
|
+
},
|
|
27
|
+
"sequencer platform": {
|
|
28
|
+
"merge_pointer": "0/sequencer_platform",
|
|
29
|
+
"type_ref": "assays/components/ngs_assay_core.json#properties/sequencer_platform"
|
|
30
|
+
},
|
|
31
|
+
"sequencing run date": {
|
|
32
|
+
"merge_pointer": "0/sequencing_run_date",
|
|
33
|
+
"type_ref": "assays/tcr_assay.json#properties/sequencing_run_date"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"data_columns": {
|
|
37
|
+
"Samples": {
|
|
38
|
+
"cimac id": {
|
|
39
|
+
"merge_pointer": "0/cimac_id",
|
|
40
|
+
"type_ref": "sample.json#properties/cimac_id"
|
|
41
|
+
},
|
|
42
|
+
"alpha results file": {
|
|
43
|
+
"merge_pointer": "0/alpha_results_file",
|
|
44
|
+
"is_artifact": 1,
|
|
45
|
+
"gcs_uri_format": "{protocol identifier}/tcrseq_rna/{cimac batch id}/{cimac id}/alpha.csv",
|
|
46
|
+
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
47
|
+
},
|
|
48
|
+
"beta results file": {
|
|
49
|
+
"merge_pointer": "0/beta_results_file",
|
|
50
|
+
"is_artifact": 1,
|
|
51
|
+
"gcs_uri_format": "{protocol identifier}/tcrseq_rna/{cimac batch id}/{cimac id}/beta.csv",
|
|
52
|
+
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -20,10 +20,14 @@
|
|
|
20
20
|
"merge_pointer": "0/assay_creator",
|
|
21
21
|
"type_ref": "assays/visium_assay.json#properties/assay_creator"
|
|
22
22
|
},
|
|
23
|
-
"
|
|
23
|
+
"CIMAC Batch ID": {
|
|
24
24
|
"merge_pointer": "0/batch_id",
|
|
25
25
|
"type_ref": "assays/visium_assay.json#properties/batch_id"
|
|
26
26
|
},
|
|
27
|
+
"CIDC Submission ID": {
|
|
28
|
+
"merge_pointer": "0/optional_id",
|
|
29
|
+
"type_ref": "assays/visium_assay.json#properties/optional_id"
|
|
30
|
+
},
|
|
27
31
|
"azimuth reference": {
|
|
28
32
|
"merge_pointer": "0/azimuth_reference",
|
|
29
33
|
"type_ref": "assays/components/scrnaseq_preamble.json#properties/azimuth_reference",
|
|
@@ -46,7 +50,7 @@
|
|
|
46
50
|
},
|
|
47
51
|
"sample metadata csv": {
|
|
48
52
|
"merge_pointer": "0/samples_metadata_csv",
|
|
49
|
-
"gcs_uri_format": "{protocol identifier}/visium/{batch id}/samples_metadata.csv",
|
|
53
|
+
"gcs_uri_format": "{protocol identifier}/visium/{cimac batch id}/samples_metadata.csv",
|
|
50
54
|
"is_artifact": 1,
|
|
51
55
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
52
56
|
}
|
|
@@ -68,19 +72,19 @@
|
|
|
68
72
|
"Read1 fastq gz": {
|
|
69
73
|
"merge_pointer": "0/details/read_1_fastq_gz",
|
|
70
74
|
"is_artifact": 1,
|
|
71
|
-
"gcs_uri_format": "{protocol identifier}/visium/{batch id}/{cimac id}/fastq/S1_L00{lane}_R1_001.fastq.gz",
|
|
75
|
+
"gcs_uri_format": "{protocol identifier}/visium/{cimac batch id}/{cimac id}/fastq/S1_L00{lane}_R1_001.fastq.gz",
|
|
72
76
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
73
77
|
},
|
|
74
78
|
"Read2 fastq gz": {
|
|
75
79
|
"merge_pointer": "0/details/read_2_fastq_gz",
|
|
76
80
|
"is_artifact": 1,
|
|
77
|
-
"gcs_uri_format": "{protocol identifier}/visium/{batch id}/{cimac id}/fastq/S1_L00{lane}_R2_001.fastq.gz",
|
|
81
|
+
"gcs_uri_format": "{protocol identifier}/visium/{cimac batch id}/{cimac id}/fastq/S1_L00{lane}_R2_001.fastq.gz",
|
|
78
82
|
"type_ref": "assays/components/local_file.json#properties/file_path"
|
|
79
83
|
},
|
|
80
84
|
"Loupe alignment file": {
|
|
81
85
|
"merge_pointer": "0/details/loupe_alignment_file",
|
|
82
86
|
"is_artifact": 1,
|
|
83
|
-
"gcs_uri_format": "{protocol identifier}/visium/{batch id}/{cimac id}/loupe_alignment_file.json",
|
|
87
|
+
"gcs_uri_format": "{protocol identifier}/visium/{cimac batch id}/{cimac id}/loupe_alignment_file.json",
|
|
84
88
|
"type_ref": "assays/components/local_file.json#properties/file_path",
|
|
85
89
|
"allow_empty": true
|
|
86
90
|
},
|
|
@@ -106,28 +110,28 @@
|
|
|
106
110
|
"brightfield image": {
|
|
107
111
|
"merge_pointer": "0/details/brightfield_image",
|
|
108
112
|
"is_artifact": 1,
|
|
109
|
-
"gcs_uri_format": "{protocol identifier}/visium/{batch id}/{cimac id}/brightfield.tiff",
|
|
113
|
+
"gcs_uri_format": "{protocol identifier}/visium/{cimac batch id}/{cimac id}/brightfield.tiff",
|
|
110
114
|
"type_ref": "assays/components/local_file.json#properties/file_path",
|
|
111
115
|
"allow_empty": true
|
|
112
116
|
},
|
|
113
117
|
"dark image": {
|
|
114
118
|
"merge_pointer": "0/details/dark_image",
|
|
115
119
|
"is_artifact": 1,
|
|
116
|
-
"gcs_uri_format": "{protocol identifier}/visium/{batch id}/{cimac id}/dark_image.tiff",
|
|
120
|
+
"gcs_uri_format": "{protocol identifier}/visium/{cimac batch id}/{cimac id}/dark_image.tiff",
|
|
117
121
|
"type_ref": "assays/components/local_file.json#properties/file_path",
|
|
118
122
|
"allow_empty": true
|
|
119
123
|
},
|
|
120
124
|
"colorized image": {
|
|
121
125
|
"merge_pointer": "0/details/colorized_image",
|
|
122
126
|
"is_artifact": 1,
|
|
123
|
-
"gcs_uri_format": "{protocol identifier}/visium/{batch id}/{cimac id}/colorized.tiff",
|
|
127
|
+
"gcs_uri_format": "{protocol identifier}/visium/{cimac batch id}/{cimac id}/colorized.tiff",
|
|
124
128
|
"type_ref": "assays/components/local_file.json#properties/file_path",
|
|
125
129
|
"allow_empty": true
|
|
126
130
|
},
|
|
127
131
|
"cytassist image": {
|
|
128
132
|
"merge_pointer": "0/details/cytassist_image",
|
|
129
133
|
"is_artifact": 1,
|
|
130
|
-
"gcs_uri_format": "{protocol identifier}/visium/{batch id}/{cimac id}/cytassist.tiff",
|
|
134
|
+
"gcs_uri_format": "{protocol identifier}/visium/{cimac batch id}/{cimac id}/cytassist.tiff",
|
|
131
135
|
"type_ref": "assays/components/local_file.json#properties/file_path",
|
|
132
136
|
"allow_empty": true
|
|
133
137
|
},
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
"merge_pointer": "0/assay_creator",
|
|
17
17
|
"type_ref": "assays/components/assay_core.json#properties/assay_creator"
|
|
18
18
|
},
|
|
19
|
+
"CIMAC Batch ID": {
|
|
20
|
+
"merge_pointer": "0/batch_id",
|
|
21
|
+
"type_ref": "assays/wes_assay.json#properties/batch_id"
|
|
22
|
+
},
|
|
23
|
+
"CIDC Submission ID": {
|
|
24
|
+
"merge_pointer": "0/optional_id",
|
|
25
|
+
"type_ref": "assays/wes_assay.json#properties/optional_id"
|
|
26
|
+
},
|
|
19
27
|
"sequencing protocol": {
|
|
20
28
|
"merge_pointer": "0/sequencing_protocol",
|
|
21
29
|
"type_ref": "assays/wes_assay.json#properties/sequencing_protocol"
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
"merge_pointer": "0/assay_creator",
|
|
17
17
|
"type_ref": "assays/components/assay_core.json#properties/assay_creator"
|
|
18
18
|
},
|
|
19
|
+
"CIMAC Batch ID": {
|
|
20
|
+
"merge_pointer": "0/batch_id",
|
|
21
|
+
"type_ref": "assays/wes_assay.json#properties/batch_id"
|
|
22
|
+
},
|
|
23
|
+
"CIDC Submission ID": {
|
|
24
|
+
"merge_pointer": "0/optional_id",
|
|
25
|
+
"type_ref": "assays/wes_assay.json#properties/optional_id"
|
|
26
|
+
},
|
|
19
27
|
"sequencing protocol": {
|
|
20
28
|
"merge_pointer": "0/sequencing_protocol",
|
|
21
29
|
"type_ref": "assays/wes_assay.json#properties/sequencing_protocol",
|
cidc_schemas/template.py
CHANGED
|
@@ -912,10 +912,6 @@ class _FieldDef(NamedTuple):
|
|
|
912
912
|
f"Can't format destination gcs uri for {self.key_name!r}: {format}"
|
|
913
913
|
)
|
|
914
914
|
|
|
915
|
-
# remove [ or ] in GCS URI because gsutils treats brackets as a character set
|
|
916
|
-
# and matches multiple file paths, which is not allowed for a target
|
|
917
|
-
gs_key = gs_key.replace("[", "").replace("]", "")
|
|
918
|
-
|
|
919
915
|
# if no . in the GCS URI, don't check file extension as none specified
|
|
920
916
|
if "." in self.gcs_uri_format:
|
|
921
917
|
expected_extension = get_file_ext(gs_key)
|
cidc_schemas/unprism.py
CHANGED
|
@@ -72,10 +72,10 @@ def derive_files(context: DeriveFilesContext) -> Optional[DeriveFilesResult]:
|
|
|
72
72
|
trial_metadata: dict
|
|
73
73
|
|
|
74
74
|
None if context.upload_type does not have a defined file derivation
|
|
75
|
-
all prism.
|
|
75
|
+
all prism.SUPPORTED_MANIFESTS are supported via _shipping_manifest_derivation()
|
|
76
76
|
otherwise use wrapper @_register_derivation(upload_type: str)
|
|
77
77
|
"""
|
|
78
|
-
if context.upload_type in prism.
|
|
78
|
+
if context.upload_type in prism.SUPPORTED_MANIFESTS:
|
|
79
79
|
return _shipping_manifest_derivation(context)
|
|
80
80
|
|
|
81
81
|
if context.upload_type in _upload_type_derivations:
|
|
@@ -353,7 +353,7 @@ def _cytof_analysis_derivation(context: DeriveFilesContext) -> DeriveFilesResult
|
|
|
353
353
|
# and a single row of cell count data.
|
|
354
354
|
df = df.set_index("CellSubset")
|
|
355
355
|
df = df.drop(
|
|
356
|
-
columns="Unnamed: 0"
|
|
356
|
+
columns=["Unnamed: 0"]
|
|
357
357
|
) # Cell counts files contain an unnamed index column
|
|
358
358
|
df = df.transpose()
|
|
359
359
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nci_cidc_schemas
|
|
3
|
-
Version: 0.28.
|
|
3
|
+
Version: 0.28.13
|
|
4
4
|
Summary: The CIDC data model and tools for working with it.
|
|
5
5
|
Home-page: https://github.com/NCI-CIDC/cidc-schemas
|
|
6
6
|
Author: NCI
|
|
@@ -15,17 +15,17 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
15
15
|
Requires-Python: >=3.13,<3.14
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: argparse
|
|
19
|
-
Requires-Dist: dateparser
|
|
20
|
-
Requires-Dist: deepdiff
|
|
21
|
-
Requires-Dist: jinja2
|
|
22
|
-
Requires-Dist: jsonmerge
|
|
23
|
-
Requires-Dist: jsonpointer
|
|
24
|
-
Requires-Dist: jsonschema
|
|
25
|
-
Requires-Dist: openpyxl
|
|
26
|
-
Requires-Dist: pandas
|
|
27
|
-
Requires-Dist: pyyaml
|
|
28
|
-
Requires-Dist: xlsxwriter
|
|
18
|
+
Requires-Dist: argparse~=1.4.0
|
|
19
|
+
Requires-Dist: dateparser~=1.2.2
|
|
20
|
+
Requires-Dist: deepdiff~=8.6.1
|
|
21
|
+
Requires-Dist: jinja2~=3.1.6
|
|
22
|
+
Requires-Dist: jsonmerge~=1.6.1
|
|
23
|
+
Requires-Dist: jsonpointer~=3.0.0
|
|
24
|
+
Requires-Dist: jsonschema~=3.2.0
|
|
25
|
+
Requires-Dist: openpyxl~=3.1.5
|
|
26
|
+
Requires-Dist: pandas~=3.0.0
|
|
27
|
+
Requires-Dist: pyyaml~=6.0.3
|
|
28
|
+
Requires-Dist: xlsxwriter~=3.2.9
|
|
29
29
|
Dynamic: author
|
|
30
30
|
Dynamic: author-email
|
|
31
31
|
Dynamic: classifier
|
|
@@ -131,11 +131,17 @@ python3 -m cidc_schemas.cli [args]
|
|
|
131
131
|
|
|
132
132
|
In order to create a new assay type, your best bet is to just search for an existing assay and copy it.
|
|
133
133
|
|
|
134
|
-
Preferably, look at
|
|
134
|
+
Preferably, look at scrnaseq and copy exactly what it does. Make changes in the assay schema and template for your
|
|
135
135
|
particular assay and/or analysis schema.
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
Once you update and update the version of this repo, update api-gae. You should only need to copy what scrnaseq
|
|
138
|
+
did in api-gae in order for files to show up on the portal. Make sure to update the api-gae version. Update the api-gae version used
|
|
139
|
+
in cloud-functions.
|
|
140
|
+
|
|
141
|
+
Finally, make sure to update the cli tool to include the new assay.
|
|
142
|
+
|
|
143
|
+
There are a lot of gotchas and hidden parsing going on behind the scenes. Listing them all would be hard, so the
|
|
144
|
+
practical advice is to follow an existing working template.
|
|
139
145
|
|
|
140
146
|
Be sure to regenerate the docs after creating your schema, so the new schema is added to the reference docs.
|
|
141
147
|
|