Skip to content

Commit 551ab8f

Browse files
committed
fixed BUSCO part to run on GCP
1 parent 5ed3035 commit 551ab8f

1 file changed

Lines changed: 7 additions & 24 deletions

File tree

GoogleCloud/Submodule_2_annotation_only.ipynb

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
"outputs": [],
279279
"source": [
280280
"! mkdir -p <Your-Output-Directory-annotation-only>\n",
281-
"! gsutil cp -r s3://<YOUR-BUCKET-NAME>/<Your-Output-Directory-annotation-only>/ ./<Your-Output-Directory-annotation-only>"
281+
"! gsutil -m cp -r s3://<YOUR-BUCKET-NAME>/<Your-Output-Directory-annotation-only>/ <Your-Output-Directory-annotation-only>"
282282
]
283283
},
284284
{
@@ -288,24 +288,15 @@
288288
"metadata": {},
289289
"outputs": [],
290290
"source": [
291-
"! ls -l ./<Your-Output-Directory-annotation-only>"
292-
]
293-
},
294-
{
295-
"cell_type": "markdown",
296-
"id": "a96e29ed",
297-
"metadata": {},
298-
"source": [
299-
"----\n",
300-
"# Andrea, please update this part"
291+
"! ls -l <Your-Output-Directory-annotation-only>"
301292
]
302293
},
303294
{
304295
"cell_type": "markdown",
305296
"id": "f3255502-270c-4ebb-9f72-141c4fab5c0f",
306297
"metadata": {},
307298
"source": [
308-
"Let's take a look at the `RUN_INFO.txt` file to see what the parameters and programs associated with our analysis were."
299+
"Let's take a look at the `params.json` file to see what the parameters and programs associated with our analysis were. This json file will have the date you ran the pipeline as well a pipeline identifier. Update the code below to look at the `params.json` file."
309300
]
310301
},
311302
{
@@ -315,15 +306,7 @@
315306
"metadata": {},
316307
"outputs": [],
317308
"source": [
318-
"! cat ./<Your-Output-Directory-annotation-only>/output/RUN_INFO.txt"
319-
]
320-
},
321-
{
322-
"cell_type": "markdown",
323-
"id": "9c86c829",
324-
"metadata": {},
325-
"source": [
326-
"---"
309+
"! cat ./<Your-Output-Directory-annotation-only>/pipeline_info/params_<Date-identifier>.json"
327310
]
328311
},
329312
{
@@ -342,7 +325,7 @@
342325
">\n",
343326
">Container systems ([Docker](https://www.docker.com/) and [Singularity](https://sylabs.io/singularity/) are the two most well-known examples) address this by installing and encapsulating the program and all of its necessary supporting components in an image. Each program is then executed in the context of its container image, which is activated just long enough to run its program.\n",
344327
">\n",
345-
">Because of the way that we have run the TransPi workflow in the previous, our system will already have several container images installed. We can now work directly with these images."
328+
">Because of the way that we have run the denovotranscript workflow previously, our system will already have several container images installed. We can now work directly with these images."
346329
]
347330
},
348331
{
@@ -439,9 +422,9 @@
439422
"outputs": [],
440423
"source": [
441424
"! docker run -it --rm --volume /home:/home quay.io/biocontainers/busco:5.4.3--pyhdfd78af_0 busco \\\n",
442-
"-i /home/ec2-user/SageMaker/Transcriptome-Assembly-Refinement-and-Applications/GoogleCloud/resources/trans/Oncorhynchus_mykiss_GGBN01.1.fa \\\n",
425+
"-i /home/jupyter/resources/trans/Oncorhynchus_mykiss_GGBN01.1.fa \\\n",
443426
"-l vertebrata_odb10 -o GGBN01_busco_vertebrata \\\n",
444-
"--out_path /home/ec2-user/SageMaker/Transcriptome-Assembly-Refinement-and-Applications/GoogleCloud/buscoOutput -m tran -c $THREADS"
427+
"--out_path ./buscoOutput -m tran -c $THREADS"
445428
]
446429
},
447430
{

0 commit comments

Comments
 (0)