Steps
-
Log into cloud shell from https://console.cloud.google.com
-
Set up firestore as part of gcloud account setup
-
Open google cloud shell
-
On cloud shell run
git clone https://github.com/lachlancoin/gcloud.git
-
On cloud shell run
bash ./gcloud/init.sh bwa_species
-
From local computer run
bash ./gcloud/realtime/rt-sync.sh local_path_to_fastq Uploads
-
Results can be seen on https://{PROJECT}.appspot.com (for example, https://nano-stream1.appspot.com)
-
When finished, on cloud shell run
bash ./gcloud/shutdown.sh
Following steps have been automated, I've archived them below in case errors are found in the future and they need to be done through the GUI. 2.1 Create storage bucket called "Uploads" atomated in init.sh 2.2 Set up UPLOAD_EVENTS topic at https://console.cloud.google.com/cloudpubsub/topicList