Liu-Hy's picture
Add files using upload-large-folder tool
4c09b1c verified
raw
history blame contribute delete
883 Bytes
# Path Configuration
from tools.preprocess import *
# Processing context
trait = "Amyotrophic_Lateral_Sclerosis"
# Input paths
tcga_root_dir = "../DATA/TCGA"
# Output paths
out_data_file = "./output/preprocess/3/Amyotrophic_Lateral_Sclerosis/TCGA.csv"
out_gene_data_file = "./output/preprocess/3/Amyotrophic_Lateral_Sclerosis/gene_data/TCGA.csv"
out_clinical_data_file = "./output/preprocess/3/Amyotrophic_Lateral_Sclerosis/clinical_data/TCGA.csv"
json_path = "./output/preprocess/3/Amyotrophic_Lateral_Sclerosis/cohort_info.json"
# 1. Review subdirectories and find no suitable match for ALS
# No cohort in TCGA matches or overlaps with amyotrophic lateral sclerosis
# Mark trait as unavailable and skip further processing
validate_and_save_cohort_info(
is_final=False,
cohort="TCGA",
info_path=json_path,
is_gene_available=False,
is_trait_available=False
)