Skip to content

Commit

Permalink
Separate out ETL for phenotype data of TCGA projects
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhailuo committed Jul 11, 2019
1 parent f61df68 commit 88e8494
Show file tree
Hide file tree
Showing 2 changed files with 415 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xena_gdc_etl/gdc2xena.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import time
import shutil

from .xena_dataset import GDCOmicset, GDCPhenoset, GDCSurvivalset
from .xena_dataset import GDCOmicset, GDCPhenoset, GDCSurvivalset, TCGAPhenoset


def gdc2xena(root_dir, projects, xena_dtypes, delete_raw_data=False):
Expand Down Expand Up @@ -86,7 +86,7 @@ def gdc2xena(root_dir, projects, xena_dtypes, delete_raw_data=False):
if project.startswith('TARGET'):
dataset = GDCPhenoset(project, 'clinical', root_dir)
elif dtype == 'GDC_phenotype':
dataset = GDCPhenoset(project, 'GDC_phenotype', root_dir)
dataset = TCGAPhenoset(project, root_dir)
else:
dataset = GDCOmicset(project, dtype, root_dir)
try:
Expand Down
Loading

0 comments on commit 88e8494

Please sign in to comment.