Skip to content

Commit a26c96b

Browse files
committed
Added steps for renaming bucket
1 parent d0b8c9d commit a26c96b

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

GoogleCloud/Submodule_04_google_batch_assembly.ipynb

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,31 @@
193193
"myBucketName"
194194
]
195195
},
196+
{
197+
"cell_type": "markdown",
198+
"id": "73e9985d",
199+
"metadata": {},
200+
"source": [
201+
"**Step 4b:** Replace names in files with personal bucket and project names. "
202+
]
203+
},
204+
{
205+
"cell_type": "code",
206+
"execution_count": null,
207+
"id": "860238b5",
208+
"metadata": {},
209+
"outputs": [],
210+
"source": [
211+
"! sed -i \"s/<YOUR-PROJECT-ID>/$myProject/g\" nextflow.config\n",
212+
"! sed - \"s/<YOUR-BUCKET-NAME>/$myBucketName/g\" conf/test_params.config"
213+
]
214+
},
196215
{
197216
"cell_type": "markdown",
198217
"id": "5676e5d2-f556-463e-93c2-5add30f1fff8",
199218
"metadata": {},
200219
"source": [
201-
"**Step 4b:** Create a new GCS bucket. *If you are using an existing bucket, you can skip this step.*\n",
220+
"**Step 4c:** Create a new GCS bucket. *If you are using an existing bucket, you can skip this step.*\n",
202221
"> To do this, we can use a new `gsutil` command: `mb` which stands for make bucket."
203222
]
204223
},
@@ -598,7 +617,11 @@
598617
]
599618
}
600619
],
601-
"metadata": {},
620+
"metadata": {
621+
"language_info": {
622+
"name": "python"
623+
}
624+
},
602625
"nbformat": 4,
603626
"nbformat_minor": 5
604627
}

0 commit comments

Comments
 (0)