nci-cidc-api-modules 1.0.13__py3-none-any.whl → 1.0.16__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_api/models/files/details.py +13 -0
- cidc_api/models/files/facets.py +3 -0
- {nci_cidc_api_modules-1.0.13.dist-info → nci_cidc_api_modules-1.0.16.dist-info}/METADATA +6 -5
- {nci_cidc_api_modules-1.0.13.dist-info → nci_cidc_api_modules-1.0.16.dist-info}/RECORD +7 -7
- {nci_cidc_api_modules-1.0.13.dist-info → nci_cidc_api_modules-1.0.16.dist-info}/WHEEL +1 -1
- {nci_cidc_api_modules-1.0.13.dist-info → nci_cidc_api_modules-1.0.16.dist-info}/LICENSE +0 -0
- {nci_cidc_api_modules-1.0.13.dist-info → nci_cidc_api_modules-1.0.16.dist-info}/top_level.txt +0 -0
cidc_api/models/files/details.py
CHANGED
@@ -907,6 +907,19 @@ details_dict = {
|
|
907
907
|
"other possible solutions also calculated by ichorCNA",
|
908
908
|
"",
|
909
909
|
),
|
910
|
+
"/ctdna/OnPrem.RData": FileDetails(
|
911
|
+
"source",
|
912
|
+
"Rdata file generated by ichorCNA",
|
913
|
+
"",
|
914
|
+
),
|
915
|
+
"/ctdna/OnPrem.correctedDepth.txt": FileDetails(
|
916
|
+
"source",
|
917
|
+
"Corrected depth file generated by ichorCNA",
|
918
|
+
"",
|
919
|
+
),
|
920
|
+
"/ctdna/OnPrem.params.txt": FileDetails(
|
921
|
+
"source", "On premise parameters file generated by ichorCNA", ""
|
922
|
+
),
|
910
923
|
# Microbiome Assay
|
911
924
|
"/microbiome/forward.fastq.gz": FileDetails(
|
912
925
|
"source",
|
cidc_api/models/files/facets.py
CHANGED
@@ -473,6 +473,9 @@ assay_facets: Facets = {
|
|
473
473
|
["/ctdna/summary_plots.pdf"],
|
474
474
|
"Plots showing Copy Number Alteration (CNA) across the whole genome for each sample for the top 2 solutions generated by ichorCNA.",
|
475
475
|
),
|
476
|
+
"On Premise Corrected Depth": FacetConfig(["/ctdna/OnPrem.correctedDepth.txt"]),
|
477
|
+
"On Premise Parameters": FacetConfig(["/ctdna/OnPrem.params.txt"]),
|
478
|
+
"On Premise Rdata": FacetConfig(["/ctdna/OnPrem.RData"]),
|
476
479
|
},
|
477
480
|
"Microbiome": {
|
478
481
|
"Source": FacetConfig(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: nci_cidc_api_modules
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.16
|
4
4
|
Summary: SQLAlchemy data models and configuration tools used in the NCI CIDC API
|
5
5
|
Home-page: https://github.com/NCI-CIDC/cidc-api-gae
|
6
6
|
License: MIT license
|
@@ -26,7 +26,7 @@ Requires-Dist: pandas ==1.5.3
|
|
26
26
|
Requires-Dist: python-dotenv ==0.10.3
|
27
27
|
Requires-Dist: requests ==2.32.3
|
28
28
|
Requires-Dist: jinja2 ==3.1.4
|
29
|
-
Requires-Dist: nci-cidc-schemas ==0.26.
|
29
|
+
Requires-Dist: nci-cidc-schemas ==0.26.35
|
30
30
|
|
31
31
|
# NCI CIDC API <!-- omit in TOC -->
|
32
32
|
|
@@ -202,15 +202,16 @@ Install the [Cloud SQL Proxy](https://cloud.google.com/sql/docs/mysql/quickstart
|
|
202
202
|
curl -o /usr/local/bin/cloud_sql_proxy https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.amd64
|
203
203
|
chmod +x /usr/local/bin/cloud_sql_proxy
|
204
204
|
mkdir ~/.cloudsql
|
205
|
+
chmod 777 ~/.cloudsql
|
205
206
|
```
|
206
207
|
|
207
|
-
Proxy to the
|
208
|
+
Proxy to the dev Cloud SQL instance:
|
208
209
|
|
209
210
|
```bash
|
210
|
-
|
211
|
+
cloud-sql-proxy --unix-socket ~/.cloudsql/ nih-nci-cimac-cidc-dev2:us-east4:cidc-postgresql-dev2 &
|
211
212
|
```
|
212
213
|
|
213
|
-
In your `.env` file, comment out `POSTGRES_URI` and uncomment all environment variables prefixed with `CLOUD_SQL_`. Restart your local API instance, and it will connect to the staging Cloud SQL instance via the local proxy.
|
214
|
+
In your `.env` file, comment out `POSTGRES_URI` and uncomment all environment variables prefixed with `CLOUD_SQL_`. Change CLOUD_SQL_SOCKET_DIR to contain a reference to your home directory. Restart your local API instance, and it will connect to the staging Cloud SQL instance via the local proxy.
|
214
215
|
|
215
216
|
If you wish to connect to the staging Cloud SQL instance via the postgres REPL, download and run the CIDC sql proxy tool (a wrapper for `cloud_sql_proxy`):
|
216
217
|
|
@@ -11,15 +11,15 @@ cidc_api/models/migrations.py,sha256=gp9vtkYbA9FFy2s-7woelAmsvQbJ41LO2_DY-YkFIrQ
|
|
11
11
|
cidc_api/models/models.py,sha256=Hjp9sieGdldNbUzneFi-7vRYyo9wwr0D-0m_UbxsDEk,124106
|
12
12
|
cidc_api/models/schemas.py,sha256=7tDYtmULuzTt2kg7RorWhte06ffalgpQKrFiDRGcPEQ,2711
|
13
13
|
cidc_api/models/files/__init__.py,sha256=8BMTnUSHzUbz0lBeEQY6NvApxDD3GMWMduoVMos2g4Y,213
|
14
|
-
cidc_api/models/files/details.py,sha256=
|
15
|
-
cidc_api/models/files/facets.py,sha256=
|
14
|
+
cidc_api/models/files/details.py,sha256=DimrGmyL216j9eB47ZlX19b5GANf2nrD_crl79RPgqg,62699
|
15
|
+
cidc_api/models/files/facets.py,sha256=n2Xi4zaC2pcJQw31gOLFxnF0nwtUBIkvw-5Th21-5uQ,29403
|
16
16
|
cidc_api/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
cidc_api/shared/auth.py,sha256=VMd_3QJE2iG16QxuGzHBV9MzJJItOZNn9gcw0_iUBLI,11647
|
18
18
|
cidc_api/shared/emails.py,sha256=5dyuKlpcg1M4P_RrAt0ss2hiCqb-Y7p2XXR1d9uBXg8,4868
|
19
19
|
cidc_api/shared/gcloud_client.py,sha256=7dDs0crLMJKdIp4IDSfrZBMB3h-zvWNieB81azoeLO4,33746
|
20
20
|
cidc_api/shared/rest_utils.py,sha256=LMfBpvJRjkfQjCzVXuhTTe4Foz4wlvaKg6QntyR-Hkc,6648
|
21
|
-
nci_cidc_api_modules-1.0.
|
22
|
-
nci_cidc_api_modules-1.0.
|
23
|
-
nci_cidc_api_modules-1.0.
|
24
|
-
nci_cidc_api_modules-1.0.
|
25
|
-
nci_cidc_api_modules-1.0.
|
21
|
+
nci_cidc_api_modules-1.0.16.dist-info/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
|
22
|
+
nci_cidc_api_modules-1.0.16.dist-info/METADATA,sha256=iseyUVZ1hiy6aXTM4bWY99UIapzfgcFWq24QI0dcHSo,40603
|
23
|
+
nci_cidc_api_modules-1.0.16.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
24
|
+
nci_cidc_api_modules-1.0.16.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
|
25
|
+
nci_cidc_api_modules-1.0.16.dist-info/RECORD,,
|
File without changes
|
{nci_cidc_api_modules-1.0.13.dist-info → nci_cidc_api_modules-1.0.16.dist-info}/top_level.txt
RENAMED
File without changes
|