You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add experiments python script, edits for testing with docker
wrote a full Dockerfile, edits to build_drugs.sh to reflect position of utils scripts in docker container. Adding the 03_createSarcPDOExperimentFIle.py to the repo.
parser=argparse.ArgumentParser(description="This script handles downloading, processing and formatting of drug information for the Sarcoma PDO project into an experiments file")
parser.add_argument('-s', '--samplesFile', nargs="?", type=str, default="", help="Use this to provide previously generated sample file for this dataset to link to experiment data.")
14
+
parser.add_argument('-d', '--drugFile', nargs="?", type=str, default="", help="Use this to provide previously generated drugs file for this dataset to link with to experiment data.")
15
+
16
+
args=parser.parse_args()
17
+
print(args)
18
+
print("Logging into Synapse")
19
+
PAT=args.token
20
+
synObject=synapseclient.login(authToken=PAT)
21
+
22
+
drug_query=synObject.tableQuery("select * from syn61892224")
23
+
drug_data=drug_query.asDataFrame()
24
+
25
+
# convert Drug_Name to lowercase for merge with drug info files
0 commit comments