Transfer MultiQC Report With scp
Exercise
15 Minutes
We just learned how to use the MultiQC software to create excellent
summary reports of our analysis. For convenience, we’ve included this
report in the zipped folder you downloaded at the beginning of the
class, so that it’s simple and effortless for us to view the report
together. However, it’s also useful to know how to transfer data to/from
a remote instance. We’ll explore how to use scp
in this
exercise.
Instructions:
- Work independently in the main room, posting any questions that
arise to slack.
- Recommendations for writing your own code:
- Read function documentation
- Test out ideas - it’s okay to make mistakes and generate errors
- Use a search engine to look up errors or recommended solutions using
keywords
- We’ll review possible solutions after time is up as a group.
- Make sure that you are viewing your local terminal. The
scp
command should be run from your own machine.
- Use
scp
to transfer the comprehensive multiQC report
from the AWS machine to your personal computer.
- Confirm that you’ve received the report
Hint: The command format is:
scp source destination
You will need to provide your ssh login information to complete the
transfer
LS0tCnRpdGxlOiAiRXhlcmNpc2UgMDMiCmF1dGhvcjogIlVNIEJpb2luZm9ybWF0aWNzIENvcmUiCm91dHB1dDoKICAgICAgICBodG1sX2RvY3VtZW50OgogICAgICAgICAgICBpbmNsdWRlczoKICAgICAgICAgICAgICAgIGluX2hlYWRlcjogaGVhZGVyLmh0bWwKICAgICAgICAgICAgdGhlbWU6IHBhcGVyCiAgICAgICAgICAgIGZpZ19jYXB0aW9uOiB0cnVlCiAgICAgICAgICAgIG1hcmtkb3duOiBHRk0KICAgICAgICAgICAgY29kZV9kb3dubG9hZDogdHJ1ZQotLS0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KYm9keXsgLyogTm9ybWFsICAqLwogICAgICBmb250LXNpemU6IDE0cHQ7CiAgfQpwcmUgewogIGZvbnQtc2l6ZTogMTJwdAp9Cjwvc3R5bGU+Cgo8YnI+CgojIyBUcmFuc2ZlciBNdWx0aVFDIFJlcG9ydCBXaXRoIGBzY3BgIEV4ZXJjaXNlCgo8YnI+CgoqKjE1IE1pbnV0ZXMqKgoKPGJyPgoKV2UganVzdCBsZWFybmVkIGhvdyB0byB1c2UgdGhlIE11bHRpUUMgc29mdHdhcmUgdG8g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