Skip to content

Add new single cell datatypes #701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions kf_lib_data_ingest/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ class DATA_TYPE:
ISOFORM_EXPRESSION = "Isoform Expression"
SOMATIC_COPY_NUMBER_VARIATIONS = "Somatic Copy Number Variations"
SOMATIC_STRUCTURAL_VARIATIONS = "Somatic Structural Variations"
# single cell data types
QC_METRICS = "QC Metrics"
SPLICE_JUNCTION = "Splice Junction"
EXPRESSION_COUNTS = "Expression Counts"
STAR_SINGLE_CELL_COUNTS = "STAR Single Cell Counts"
STAR_CELL_RANGER_COUNTS = "STAR Cell Ranger Counts"
SINGLE_CELL_QC_METRICS = "Single Cell QC Metrics"

class FORMAT:
BAI = "bai"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Ingest Package Config """
"""Ingest Package Config"""

# The list of entities that will be loaded into the target service. These
# should be class_name values of your target API config's target entity
Expand Down
6 changes: 6 additions & 0 deletions kf_lib_data_ingest/validation/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@ def inner(x):
constants.GENOMIC_FILE.DATA_TYPE.UNALIGNED_READS,
constants.GENOMIC_FILE.DATA_TYPE.VARIANT_CALLS,
constants.GENOMIC_FILE.DATA_TYPE.VARIANT_CALLS_INDEX,
constants.GENOMIC_FILE.DATA_TYPE.QC_METRICS,
constants.GENOMIC_FILE.DATA_TYPE.SPLICE_JUNCTION,
constants.GENOMIC_FILE.DATA_TYPE.EXPRESSION_COUNTS,
constants.GENOMIC_FILE.DATA_TYPE.STAR_SINGLE_CELL_COUNTS,
constants.GENOMIC_FILE.DATA_TYPE.STAR_CELL_RANGER_COUNTS,
constants.GENOMIC_FILE.DATA_TYPE.SINGLE_CELL_QC_METRICS,
},
CONCEPT.GENOMIC_FILE.SIZE: check_non_negative,
# INVESTIGATOR
Expand Down
2 changes: 1 addition & 1 deletion tests/data/SD_ME0WME0W/ingest_package_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Ingest Package Config """
"""Ingest Package Config"""

from kf_lib_data_ingest.common.concept_schema import CONCEPT

Expand Down
2 changes: 1 addition & 1 deletion tests/data/kfid_study/ingest_package_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Dataset Ingest Config """
"""Dataset Ingest Config"""

# The list of entities that will be loaded into the target service
target_service_entities = [
Expand Down
2 changes: 1 addition & 1 deletion tests/data/sample_registration/ingest_package_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Ingest Package Config """
"""Ingest Package Config"""

# The list of entities that will be loaded into the target service
target_service_entities = ["sample" "biospecimen", "sample_relationship"]
Expand Down
2 changes: 1 addition & 1 deletion tests/data/simple_study/ingest_package_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Dataset Ingest Config """
"""Dataset Ingest Config"""

from kf_lib_data_ingest.common.concept_schema import CONCEPT

Expand Down
2 changes: 1 addition & 1 deletion tests/data/test_boyd_study/ingest_package_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Ingest Package Config """
"""Ingest Package Config"""

# The list of entities that will be loaded into the target service
target_service_entities = [
Expand Down
2 changes: 1 addition & 1 deletion tests/data/test_study/ingest_package_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Ingest Package Config """
"""Ingest Package Config"""

from kf_lib_data_ingest.common.concept_schema import CONCEPT

Expand Down