You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tsoppy/report_predispositions/report_predispositions.py
+44-12Lines changed: 44 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,6 @@
5
5
6
6
7
7
# TODO: no functionality yet, just documentation
8
-
# TODO: should the output file content some patient ID/sample ID to make sure that that one knows patient ID from the output file content? if so, where should the ID be obtained?
9
-
# TODO: should output file name be (1) an input parameter or (2) should it be generated automatically, if (2) then where and how
10
-
# TODO: will patient age be available at tsoppy run?
This function reports variants called by small variant caller that are present
45
-
in the cancer susceptibility genes. Susceptibility of a gene depends on a patient's age,
46
-
thus the age input parameter.
78
+
in the cancer susceptibility genes.
47
79
"""
48
80
49
81
predispositions=dict()
@@ -54,7 +86,7 @@ def report_predispositions(cancer_susceptibility_genes, small_variant_calls, age
54
86
cancer_susceptibility_genes)
55
87
56
88
logger.info(f"Open the {small_variant_calls} file and iterate through the variants. Store all the variants present in the {cancer_susceptibility_genes} table together with all the info that should be reported into the {predispositions}.")
0 commit comments