@@ -769,43 +769,6 @@ def tag_row(row, canonical):
769
769
770
770
return maf
771
771
772
- # file_names = [
773
- # EXONIC_FILTERED,
774
- # SILENT_FILTERED,
775
- # NONPANEL_EXONIC_FILTERED,
776
- # NONPANEL_SILENT_FILTERED,
777
- # DROPPED
778
- # ]
779
-
780
- # Create exonic, silent, and nonpanel files.
781
- # file_paths = [f"{output_dir}/{name}" for name in file_names]
782
-
783
- # headers = "\t".join(MAF_TSV_COL_MAP.values()) + "\n"
784
-
785
- # with ExitStack() as stack:
786
- # files = [stack.enter_context(open(path, "w")) for path in file_paths]
787
-
788
- # for file in files:
789
- # file.write(headers)
790
-
791
- # with open(output_dir + "/" + EXONIC_FILTERED, "w") as exonic, open(
792
- # output_dir + "/" + SILENT_FILTERED, "w") as silent, open(
793
- # output_dir + "/" + NONPANEL_EXONIC_FILTERED, "w") as nonpanel_exonic, open(
794
- # output_dir + "/" + NONPANEL_SILENT_FILTERED, "w") as nonpanel_silent, open(
795
- # output_dir + "/" + DROPPED, "w") as dropped:
796
-
797
- # headers = "\t".join(MAF_TSV_COL_MAP.values()) + "\n"
798
- # for f in [exonic, silent, nonpanel_exonic, nonpanel_silent, dropped]:
799
- # f.write(headers)
800
-
801
- return headers
802
-
803
- # typer.secho(
804
- # f"missing columns expected for {tagging} tagging",
805
- # fg=typer.colors.RED,
806
- # )
807
- # raise typer.Abort()
808
-
809
772
def tag_by_variant_annotations (self , rules_df ):
810
773
if rules_df is not None :
811
774
for index , row in rules_df .iterrows ():
0 commit comments