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: README.md
+36-50Lines changed: 36 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ your shell.
52
52
53
53
#### Install the Google Cloud SDK
54
54
55
-
While not used directly by `dsub` for the `google-v2` or `google-cls-v2` providers, you are likely to want to install the command line tools found in the [Google
55
+
While not used directly by `dsub` for the `google-batch` or `google-cls-v2` providers, you are likely to want to install the command line tools found in the [Google
56
56
Cloud SDK](https://cloud.google.com/sdk/).
57
57
58
58
If you will be using the `local` provider for faster job development,
@@ -156,13 +156,13 @@ You'll get quicker turnaround times and won't incur cloud charges using it.
156
156
157
157
### Getting started on Google Cloud
158
158
159
-
`dsub` supports the use of two different APIs from Google Cloud for running
160
-
tasks. Google Cloud is transitioning from `Genomics v2alpha1`
161
-
to [Cloud Life Sciences v2beta](https://cloud.google.com/life-sciences/docs/reference/rest).
159
+
`dsub`currently supports the [Cloud Life Sciences v2beta](https://cloud.google.com/life-sciences/docs/reference/rest)
160
+
API from Google Cloud and is is developing support for the [Batch](https://cloud.google.com/batch/docs/reference/rest)
161
+
API from Google Cloud.
162
162
163
-
`dsub` supports both APIs with the (old) `google-v2` and (new) `google-cls-v2`
164
-
providers respectively. `google-v2` is the current default provider. `dsub`
165
-
will be transitioning to make `google-cls-v2` the default in coming releases.
163
+
`dsub` supports the v2beta API with the `google-cls-v2` provider.
164
+
`google-cls-v2` is the current default provider. `dsub` will be transitioning to
165
+
make `google-batch` the default in coming releases.
166
166
167
167
The steps for getting started differ slightly as indicated in the steps below:
168
168
@@ -171,13 +171,14 @@ The steps for getting started differ slightly as indicated in the steps below:
171
171
172
172
1. Enable the APIs:
173
173
174
-
- For the `v2alpha1` API (provider: `google-v2`):
174
+
- For the `v2beta` API (provider: `google-cls-v2`):
175
175
176
-
[Enable the Genomics, Storage, and Compute APIs](https://console.cloud.google.com/flows/enableapi?apiid=genomics,storage_component,compute_component&redirect=https://console.cloud.google.com).
176
+
[Enable the Cloud Life Sciences, Storage, and Compute APIs](https://console.cloud.google.com/flows/enableapi?apiid=lifesciences.googleapis.com,storage.googleapis.com,compute.googleapis.com&redirect=https://console.cloud.google.com)
177
177
178
-
- For the `v2beta` API (provider: `google-cls-v2`):
178
+
- For the `batch` API (provider: `google-batch`):
179
+
180
+
[Enable the Batch, Storage, and Compute APIs](https://console.cloud.google.com/flows/enableapi?apiid=batch.googleapis.com,storage.googleapis.com,compute.googleapis.com&redirect=https://console.cloud.google.com).
179
181
180
-
[Enable the Cloud Life Sciences, Storage, and Compute APIs](https://console.cloud.google.com/flows/enableapi?apiid=lifesciences.googleapis.com,storage_component,compute_component&redirect=https://console.cloud.google.com)
181
182
182
183
1. Provide [credentials](https://developers.google.com/identity/protocols/application-default-credentials)
183
184
so `dsub` can call Google APIs:
@@ -202,10 +203,10 @@ The steps for getting started differ slightly as indicated in the steps below:
202
203
203
204
1. Run a very simple "Hello World" `dsub` job and wait for completion.
204
205
205
-
- For the `v2alpha1` API (provider: `google-v2`):
206
+
- For the `v2beta` API (provider: `google-cls-v2`):
206
207
207
208
dsub \
208
-
--provider google-v2 \
209
+
--provider google-cls-v2 \
209
210
--project my-cloud-project \
210
211
--regions us-central1 \
211
212
--logging gs://my-bucket/logging/ \
@@ -216,10 +217,10 @@ The steps for getting started differ slightly as indicated in the steps below:
216
217
Change `my-cloud-project` to your Google Cloud project, and `my-bucket` to
217
218
the bucket you created above.
218
219
219
-
- For the `v2beta` API (provider: `google-cls-v2`):
220
+
- For the `batch` API (provider: `google-batch`):
220
221
221
222
dsub \
222
-
--provider google-cls-v2 \
223
+
--provider google-batch \
223
224
--project my-cloud-project \
224
225
--regions us-central1 \
225
226
--logging gs://my-bucket/logging/ \
@@ -246,14 +247,13 @@ To this end, `dsub` provides multiple "backend providers", each of which
246
247
implements a consistent runtime environment. The current providers are:
247
248
248
249
- local
249
-
- google-v2 (the default)
250
-
- google-cls-v2
250
+
- google-cls-v2(the default)
251
251
- google-batch (*new*)
252
252
253
253
More details on the runtime environment implemented by the backend providers
254
254
can be found in [dsub backend providers](https://github.com/DataBiosphere/dsub/blob/main/docs/providers/README.md).
255
255
256
-
### Differences between `google-v2`, `google-cls-v2` and `google-batch`
256
+
### Differences between `google-cls-v2` and `google-batch`
257
257
258
258
The `google-cls-v2` provider is built on the Cloud Life Sciences `v2beta` API.
259
259
This API is very similar to its predecessor, the Genomics `v2alpha1` API.
@@ -265,29 +265,15 @@ Details of Cloud Life Sciences versus Batch can be found in this
0 commit comments