Reporting status and logs back to BaseSpace for the user (console log) Providing reference Genomes data (/genomes) #basedev2014
2014-10-30 13:56:21Uploading results back to BaseSpace (/data/output, _metadata.json file) #basedev2014
2014-10-30 13:58:20For More info on SpaceDock... developer.basespace.illumina.com/docs/content/d… #basedev2014
2014-10-30 13:59:11Step 11: simulate launch to get the contents of the AppSession.json file #basedev2014
2014-10-30 13:59:39In the formbuilder window, fill out the input form on the right side then click Simulate Launch. #basedev2014
2014-10-30 14:00:04This will show us the AppSession.json file that is generated when the app is executed. #basedev2014
2014-10-30 14:00:18Step 12: Put contents of the file in the JSON reader #basedev2014
2014-10-30 14:01:53To see the contents of AppSession.json file, copy the contents of the simulated AppSession in JSON editor. In formbuilder, #basedev2014
2014-10-30 14:03:33Select Create AppSession instead of launching the app. • jsoneditoronline.org #basedev2014
2014-10-30 14:04:04All of the input form information will be stored in the Properties field in the AppSession.json file #basedev2014
2014-10-30 14:04:31The python json library can parse this file and pull out the exact parameters the app needs #basedev2014
2014-10-30 14:04:49Step 13a: Walk through script on the Docker image "sudo docker run –i –t mtyagi/ubuntu_example /bin/bash" "apt-get install vi" #basedev2014
2014-10-30 14:06:02"vi Sample_python_native_apps_script.py" #basedev2014
2014-10-30 14:06:22Step 13b: Walk through the script on the Docker image Meta data Step 13c: Walk through the script on the Docker image #basedev2014
2014-10-30 14:07:29Step 14: Modify script to add your parameters (one if statement per parameter) #basedev2014
2014-10-30 14:07:40• The commandLine is the command line that will be sent to the docker container once it is running. #basedev2014
2014-10-30 14:08:38The containerImageId is the repo_name of your docker image in the registry. #basedev2014
2014-10-30 14:09:04The format is generally [user_name]/[docker_image_name] for the public docker registry. For docker images in private registry #basedev2014
2014-10-30 14:09:48Simply append docker.illumina.com to the repo_name #basedev2014
2014-10-30 14:10:27Step 16a: Run the app and see that output is a file with the parameters and values in it #basedev2014
2014-10-30 14:10:50In the Formbuilder window: Select input parameters, sample, and project. #basedev2014
2014-10-30 14:11:11Step 16b: Run the app and see that output is a file with the parameters and values in it #basedev2014
2014-10-30 14:11:311. Run this spacedock command on the VM 2. Click "Send to Local Agent" 3. Watch the app execute in your local VM, #basedev2014
2014-10-30 14:12:18move on once the AppSession is marked as complete and data is done uploading. #basedev2014
2014-10-30 14:12:33Step 17: View app result Go to BaseSpace (basespace.illumina.com) ! Click on Projects #basedev2014
2014-10-30 14:13:10