Liu-Hy's picture
Add files using upload-large-folder tool
61e25af verified
raw
history blame contribute delete
942 Bytes
# Path Configuration
from tools.preprocess import *
# Processing context
trait = "Obsessive-Compulsive_Disorder"
# Input paths
tcga_root_dir = "../DATA/TCGA"
# Output paths
out_data_file = "./output/preprocess/3/Obsessive-Compulsive_Disorder/TCGA.csv"
out_gene_data_file = "./output/preprocess/3/Obsessive-Compulsive_Disorder/gene_data/TCGA.csv"
out_clinical_data_file = "./output/preprocess/3/Obsessive-Compulsive_Disorder/clinical_data/TCGA.csv"
json_path = "./output/preprocess/3/Obsessive-Compulsive_Disorder/cohort_info.json"
# Check for OCD-related directory in TCGA
# Since TCGA is focused on cancer, no directory is related to OCD
is_gene_available = False
is_trait_available = False
# Mark task as completed and save info about data unavailability
validate_and_save_cohort_info(
is_final=False,
cohort="TCGA",
info_path=json_path,
is_gene_available=is_gene_available,
is_trait_available=is_trait_available
)