Liu-Hy's picture
Add files using upload-large-folder tool
9e2af38 verified
raw
history blame contribute delete
890 Bytes
# Path Configuration
from tools.preprocess import *
# Processing context
trait = "Metabolic_Rate"
# Input paths
tcga_root_dir = "../DATA/TCGA"
# Output paths
out_data_file = "./output/preprocess/3/Metabolic_Rate/TCGA.csv"
out_gene_data_file = "./output/preprocess/3/Metabolic_Rate/gene_data/TCGA.csv"
out_clinical_data_file = "./output/preprocess/3/Metabolic_Rate/clinical_data/TCGA.csv"
json_path = "./output/preprocess/3/Metabolic_Rate/cohort_info.json"
# Review the TCGA subdirectories and look for matches with Metabolic_Rate trait
# No directory clearly related to metabolic rate was found
# Record that this trait cannot be processed due to lack of suitable data
validate_and_save_cohort_info(
is_final=False,
cohort="TCGA",
info_path=json_path,
is_gene_available=True, # TCGA has gene expression data
is_trait_available=False # No suitable trait data found
)