From 770ef4fdfb60eb905c5f1ac56b97233edd14159f Mon Sep 17 00:00:00 2001 From: Hannah Calkins <43216173+calkinsh@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:38:36 -0400 Subject: [PATCH 1/3] add sample to delete.py and meta.py --- kf_utils/dataservice/delete.py | 1 + kf_utils/dataservice/meta.py | 1 + 2 files changed, 2 insertions(+) diff --git a/kf_utils/dataservice/delete.py b/kf_utils/dataservice/delete.py index 4a8ec30..a9baa3b 100644 --- a/kf_utils/dataservice/delete.py +++ b/kf_utils/dataservice/delete.py @@ -21,6 +21,7 @@ "participants", "family-relationships", "families", + "sample", ] STUDIES = "studies" LOCAL_HOSTS = { diff --git a/kf_utils/dataservice/meta.py b/kf_utils/dataservice/meta.py index 8239e66..e341796 100644 --- a/kf_utils/dataservice/meta.py +++ b/kf_utils/dataservice/meta.py @@ -14,6 +14,7 @@ "PT": "participants", "RF": "read-group-genomic-files", "RG": "read-groups", + "SA": "sample", "SC": "sequencing-centers", "SD": "studies", "SE": "sequencing-experiments", From 10226b92b599a56c607544e36635f8a3c7df738b Mon Sep 17 00:00:00 2001 From: Hannah Calkins <43216173+calkinsh@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:49:22 -0400 Subject: [PATCH 2/3] Update kf_utils/dataservice/meta.py Co-authored-by: Natasha Singh --- kf_utils/dataservice/meta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kf_utils/dataservice/meta.py b/kf_utils/dataservice/meta.py index e341796..300d7e9 100644 --- a/kf_utils/dataservice/meta.py +++ b/kf_utils/dataservice/meta.py @@ -14,7 +14,7 @@ "PT": "participants", "RF": "read-group-genomic-files", "RG": "read-groups", - "SA": "sample", + "SA": "samples", "SC": "sequencing-centers", "SD": "studies", "SE": "sequencing-experiments", From 05ca3b131e5d65e1d863e8590f0c07220aca2d98 Mon Sep 17 00:00:00 2001 From: Hannah Calkins <43216173+calkinsh@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:51:22 -0400 Subject: [PATCH 3/3] reorder and change sample to samples --- kf_utils/dataservice/delete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kf_utils/dataservice/delete.py b/kf_utils/dataservice/delete.py index a9baa3b..40ea2b8 100644 --- a/kf_utils/dataservice/delete.py +++ b/kf_utils/dataservice/delete.py @@ -18,10 +18,10 @@ "outcomes", "phenotypes", "diagnoses", + "samples", "participants", "family-relationships", "families", - "sample", ] STUDIES = "studies" LOCAL_HOSTS = {