Skip to content

Commit

Permalink
add d4 to rd scout load config
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Jan 24, 2025
1 parent 8cec5df commit a54a6e0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions cg/constants/scout.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ class ScoutUploadKey(StrEnum):

RAREDISEASE_SAMPLE_TAGS: dict[str, set[str]] = dict(
alignment_file={AlignmentFileTag.CRAM},
d4_file={"d4"},
vcf2cytosure={"vcf2cytosure"},
mt_bam={"bam-mt"},
eklipse_path={"eklipse-png"},
Expand Down
1 change: 1 addition & 0 deletions cg/meta/upload/scout/hk_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class SampleTags(BaseModel):
bam_file: set[str] | None = None
alignment_file: set[str] | None = None
alignment_path: set[str] | None = None
d4_file: set[str] | None = None
vcf2cytosure: set[str] | None = None
eklipse_path: set[str] | None = None
mt_bam: set[str] | None = None
Expand Down
9 changes: 4 additions & 5 deletions cg/meta/upload/scout/raredisease_config_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
from cg.apps.lims import LimsAPI
from cg.apps.madeline.api import MadelineAPI
from cg.constants.constants import FileFormat
from cg.constants.housekeeper_tags import (
HK_DELIVERY_REPORT_TAG,
AnalysisTag,
NFAnalysisTags,
)
from cg.constants.housekeeper_tags import HK_DELIVERY_REPORT_TAG, AnalysisTag, NFAnalysisTags
from cg.constants.scout import (
RANK_MODEL_THRESHOLD,
RAREDISEASE_CASE_TAGS,
Expand Down Expand Up @@ -206,3 +202,6 @@ def include_sample_files(self, config_sample: ScoutRarediseaseIndividual) -> Non
config_sample.mitodel_file = self.get_sample_file(
hk_tags=self.sample_tags.mitodel_file, sample_id=sample_id
)
config_sample.d4_file = self.get_sample_file(
hk_tags=self.sample_tags.d4_file, sample_id=sample_id
)
1 change: 1 addition & 0 deletions cg/models/scout/scout_load_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class ScoutRarediseaseIndividual(ScoutIndividual):
vcf2cytosure: str | None = None
mitodel_file: str | None = None
reviewer: Reviewer = Reviewer()
d4_file: str | None = None


class ScoutCancerIndividual(ScoutIndividual):
Expand Down

0 comments on commit a54a6e0

Please sign in to comment.