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
Copy file name to clipboardExpand all lines: build/build_all.py
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ def main():
40
40
parser.add_argument('--figshare', action='store_true', help="Upload all local data to Figshare. FIGSHARE_TOKEN must be set in local environment.")
41
41
parser.add_argument('--all',dest='all',default=False,action='store_true', help="Run all data build commands. This includes docker, samples, omics, drugs, exp arguments. This does not run the validate or figshare commands")
42
42
parser.add_argument('--high_mem',dest='high_mem',default=False,action='store_true',help="If you have 32 or more CPUs, this option is recommended. It will run many code portions in parallel. If you don't have enough memory, this will cause a run failure.")
43
-
parser.add_argument('--dataset',dest='datasets',default='broad_sanger,hcmi,beataml,cptac,mpnst,mpnstpdx,pancpdo,bladderpdo,sarcpdo',help='Datasets to process. Defaults to all available.')
43
+
parser.add_argument('--dataset',dest='datasets',default='broad_sanger,hcmi,beataml,cptac,mpnst,mpnstpdx,pancpdo,bladderpdo,sarcpdo,liverpdo',help='Datasets to process. Defaults to all available.')
44
44
parser.add_argument('--version', type=str, required=False, help='Version number for the Figshare upload title (e.g., "0.1.29"). This is required for Figshare upload. This must be a higher version than previously published versions.')
45
45
parser.add_argument('--github-username', type=str, required=False, help='GitHub username for the repository.')
46
46
parser.add_argument('--github-email', type=str, required=False, help='GitHub email for the repository.')
Download samples data from Synapse at synapseID syn64961953. Requires a synapse token, which requires you to make a Synapse account
16
+
and create a Personal Access Token. More information here: https://help.synapse.org/docs/Managing-Your-Account.2055405596.html#ManagingYourAccount-PersonalAccessTokens
17
+
18
+
Parameters
19
+
----------
20
+
synID : string
21
+
SynapseID of dataset to download. Default is synapseID of the samples dataset.
22
+
23
+
save_path : string
24
+
Local path where the downloaded file will be saved.
25
+
26
+
synToken : string
27
+
Synapse Personal Access Token of user. Requires a Synapse account. More information at: https://help.synapse.org/docs/Managing-Your-Account.2055405596.html#ManagingYourAccount-PersonalAccessTokens
print("Duplicate id names detected. Cannot proceed with generating sample sheet until resolved.")
97
+
exit()
98
+
ifprev_samples_path=="":
99
+
maxval=0
100
+
else:
101
+
maxval=max(prev_samples.improve_sample_id)
102
+
samples_df['improve_sample_id'] =samples_df.index+maxval+1# take index plus 1 to create counter, start from max value
103
+
return(samples_df)
104
+
105
+
if__name__=="__main__":
106
+
parser=argparse.ArgumentParser(description='###')
107
+
108
+
parser.add_argument('-D', '--download',action='store_true', default=False, help='Download RNA seq and sequencing data from GEO and supplemental materials from https://www.cell.com/cell/fulltext/S0092-8674(15)00373-6#mmc2')
0 commit comments