From 1b48c3e3c3a318aa11b6c981f73c52b3377d5252 Mon Sep 17 00:00:00 2001 From: Haley Hunter-Zinck Date: Fri, 28 Jan 2022 18:23:38 -0800 Subject: [PATCH 1/2] add bladder class --- geniesp/__main__.py | 3 ++- geniesp/bpc_config.py | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/geniesp/__main__.py b/geniesp/__main__.py index fbb54bb..55d486e 100644 --- a/geniesp/__main__.py +++ b/geniesp/__main__.py @@ -3,7 +3,7 @@ import synapseclient -from .bpc_config import Brca, Crc, Nsclc, Panc, Prostate +from .bpc_config import Brca, Crc, Nsclc, Panc, Prostate, Bladder from .sp_config import Akt1, Erbb2, Fgfr4 BPC_MAPPING = { @@ -12,6 +12,7 @@ "BrCa": Brca, "PANC": Panc, "Prostate": Prostate, + "BLADDER": Bladder, "AKT1": Akt1, "ERRB2": Erbb2, "FGFR4": Fgfr4, diff --git a/geniesp/bpc_config.py b/geniesp/bpc_config.py index 0ddfcf3..5cfb133 100644 --- a/geniesp/bpc_config.py +++ b/geniesp/bpc_config.py @@ -105,3 +105,22 @@ class Prostate(BpcProjectRunner): # "tree/a672a70ad5195e6e8359325f5cea10bef384b2ff/" # "geniesp/bpc_config.py" ) + +class Bladder(BpcProjectRunner): + """NSCLC BPC sponsored project""" + + # Sponsorted project name + _SPONSORED_PROJECT = "BLADDER" + # Redcap codes to cbioportal mapping synid and form key is in + _REDCAP_TO_CBIOMAPPING_SYNID = "syn25712693.14" + # Mapping from Synapse Table to form (derived files) + _DATA_TABLE_IDS = "syn22296821" + # Storage of not found samples + _SP_REDCAP_EXPORTS_SYNID = "syn21446571" + # Run `git rev-parse HEAD` in Genie_processing directory to + # obtain shadigest + _GITHUB_REPO = ( + "https://github.com/Sage-Bionetworks/GENIE-Sponsored-Projects/" + # "tree/a672a70ad5195e6e8359325f5cea10bef384b2ff/" + # "geniesp/bpc_config.py" + ) \ No newline at end of file From 00fa388613324612b46c96711b227776400ea2f6 Mon Sep 17 00:00:00 2001 From: hhunterzinck Date: Sat, 29 Jan 2022 02:45:37 +0000 Subject: [PATCH 2/2] add newline --- geniesp/bpc_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geniesp/bpc_config.py b/geniesp/bpc_config.py index 5cfb133..932bdfb 100644 --- a/geniesp/bpc_config.py +++ b/geniesp/bpc_config.py @@ -123,4 +123,5 @@ class Bladder(BpcProjectRunner): "https://github.com/Sage-Bionetworks/GENIE-Sponsored-Projects/" # "tree/a672a70ad5195e6e8359325f5cea10bef384b2ff/" # "geniesp/bpc_config.py" - ) \ No newline at end of file + ) +