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
Removed samples corresponding to organoids in experiments file, fixed checking of prior drug file using code from pancPDO directory, removed some print lines and comments, general tidying. Added 'sarcpdo' to build_datasets.py and tested. Also added a few lines to the docker-compose so that build_datasets.py would run.
parser=argparse.ArgumentParser(description="This script handles downloading, processing and formatting of sample files for the Sarcoma PDO project into a single samplesheet")
parser.add_argument("-p", '--prevSamples', nargs="?", type=str, default="", const="", help="Use this to provide previous sample file, will run sample file generation")
parser=argparse.ArgumentParser(description="This script handles downloading, processing and formatting of drug data files for the Sarcoma PDO project")
29
-
parser.add_argument('-d', '--prevDrugFilePath', help='Path to a previous drug file for sarcpdo',default=None)
30
-
parser.add_argument('-o', '--outputPath', help='Output path for updated sarcpdo drug file', default=None)
37
+
parser.add_argument('-d', '--prevDrugFilePath', help='Path to a previous drug file for sarcpdo',default=None)
38
+
parser.add_argument('-o', '--outputPath', help='Output path for updated sarcpdo drug file', default="/tmp/sarcpdo_drugs.tsv")
Copy file name to clipboardExpand all lines: build/sarcpdo/03_createSarcPDOExperimentFile.py
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
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
15
16
16
args=parser.parse_args()
17
-
print(args)
17
+
18
18
print("Logging into Synapse")
19
19
PAT=args.token
20
20
synObject=synapseclient.login(authToken=PAT)
@@ -38,10 +38,13 @@
38
38
39
39
# inner merge with samples because there are samples without experiment info and many Sample_ID's in experiments data without sample info
0 commit comments