Skip to content

Commit 41c5298

Browse files
authored
Merge pull request #701 from kids-first/add-datatypes
Add new single cell datatypes
2 parents 3438b2b + ffbae8f commit 41c5298

File tree

9 files changed

+20
-7
lines changed

9 files changed

+20
-7
lines changed

kf_lib_data_ingest/common/constants.py

+7
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ class DATA_TYPE:
111111
ISOFORM_EXPRESSION = "Isoform Expression"
112112
SOMATIC_COPY_NUMBER_VARIATIONS = "Somatic Copy Number Variations"
113113
SOMATIC_STRUCTURAL_VARIATIONS = "Somatic Structural Variations"
114+
# single cell data types
115+
QC_METRICS = "QC Metrics"
116+
SPLICE_JUNCTION = "Splice Junction"
117+
EXPRESSION_COUNTS = "Expression Counts"
118+
STAR_SINGLE_CELL_COUNTS = "STAR Single Cell Counts"
119+
STAR_CELL_RANGER_COUNTS = "STAR Cell Ranger Counts"
120+
SINGLE_CELL_QC_METRICS = "Single Cell QC Metrics"
114121

115122
class FORMAT:
116123
BAI = "bai"

kf_lib_data_ingest/templates/my_ingest_package/ingest_package_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Ingest Package Config """
1+
"""Ingest Package Config"""
22

33
# The list of entities that will be loaded into the target service. These
44
# should be class_name values of your target API config's target entity

kf_lib_data_ingest/validation/values.py

+6
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ def inner(x):
167167
constants.GENOMIC_FILE.DATA_TYPE.UNALIGNED_READS,
168168
constants.GENOMIC_FILE.DATA_TYPE.VARIANT_CALLS,
169169
constants.GENOMIC_FILE.DATA_TYPE.VARIANT_CALLS_INDEX,
170+
constants.GENOMIC_FILE.DATA_TYPE.QC_METRICS,
171+
constants.GENOMIC_FILE.DATA_TYPE.SPLICE_JUNCTION,
172+
constants.GENOMIC_FILE.DATA_TYPE.EXPRESSION_COUNTS,
173+
constants.GENOMIC_FILE.DATA_TYPE.STAR_SINGLE_CELL_COUNTS,
174+
constants.GENOMIC_FILE.DATA_TYPE.STAR_CELL_RANGER_COUNTS,
175+
constants.GENOMIC_FILE.DATA_TYPE.SINGLE_CELL_QC_METRICS,
170176
},
171177
CONCEPT.GENOMIC_FILE.SIZE: check_non_negative,
172178
# INVESTIGATOR

tests/data/SD_ME0WME0W/ingest_package_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Ingest Package Config """
1+
"""Ingest Package Config"""
22

33
from kf_lib_data_ingest.common.concept_schema import CONCEPT
44

tests/data/kfid_study/ingest_package_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Dataset Ingest Config """
1+
"""Dataset Ingest Config"""
22

33
# The list of entities that will be loaded into the target service
44
target_service_entities = [

tests/data/sample_registration/ingest_package_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Ingest Package Config """
1+
"""Ingest Package Config"""
22

33
# The list of entities that will be loaded into the target service
44
target_service_entities = ["sample" "biospecimen", "sample_relationship"]

tests/data/simple_study/ingest_package_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Dataset Ingest Config """
1+
"""Dataset Ingest Config"""
22

33
from kf_lib_data_ingest.common.concept_schema import CONCEPT
44

tests/data/test_boyd_study/ingest_package_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Ingest Package Config """
1+
"""Ingest Package Config"""
22

33
# The list of entities that will be loaded into the target service
44
target_service_entities = [

tests/data/test_study/ingest_package_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Ingest Package Config """
1+
"""Ingest Package Config"""
22

33
from kf_lib_data_ingest.common.concept_schema import CONCEPT
44

0 commit comments

Comments
 (0)