Skip to content
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

Add d4_file to raredisease scout load config #4154

Merged
merged 2 commits into from
Jan 27, 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
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
Loading