Aligning All Samples Exercise (Breakout):
15 Minutes
We just learned about how to use RSEM & STAR, but now we need to align all of the rest of our samples to the reference genome. We’ll use the concepts we’ve learned earlier in this breakout exercise.
Instructions:
- One group member should share their screen in the breakout room. If nobody volunteers, a helper may randomly select someone.
- The group members should discuss the exercise and work together to find a solution.
- After a solution is found, allow time for all members to complete the exercise.
- Review what we learned about running RSEM + STAR, to construct an appropriate command for aligning one of our samples.
- Use a bash variable in our alignment command to quickly and easily align samples 2-4.
- View the output, and verify that we have the files we need.
LS0tCnRpdGxlOiAiRGF5IDEgLSBCcmVha291dCAwMiIKYXV0aG9yOiAiVU0gQmlvaW5mb3JtYXRpY3MgQ29yZSIKb3V0cHV0OgogICAgICAgIGh0bWxfZG9jdW1lbnQ6CiAgICAgICAgICAgIGluY2x1ZGVzOgogICAgICAgICAgICAgICAgaW5faGVhZGVyOiBoZWFkZXIuaHRtbAogICAgICAgICAgICB0aGVtZTogcGFwZXIKICAgICAgICAgICAgZmlnX2NhcHRpb246IHRydWUKICAgICAgICAgICAgbWFya2Rvd246IEdGTQogICAgICAgICAgICBjb2RlX2Rvd25sb2FkOiB0cnVlCi0tLQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgpib2R5eyAvKiBOb3JtYWwgICovCiAgICAgIGZvbnQtc2l6ZTogMTRwdDsKICB9CnByZSB7CiAgZm9udC1zaXplOiAxMnB0Cn0KPC9zdHlsZT4KCjxicj4KCiMjIEFsaWduaW5nIEFsbCBTYW1wbGVzIEV4ZXJjaXNlIChCcmVha291dCk6Cgo8YnI+CgoqKjE1IE1pbnV0ZXMqKgoKPGJyPgoKV2UganVzdCBsZWFybmVkIGFib3V0IGhvdyB0byB1c2UgUlNFTSAmIFNUQVIsIGJ1dCBub3cgd2UgbmVlZCB0byBhbGlnbiBhbGwgb2YgdGhlIHJlc3Qgb2Ygb3VyIHNhbXBsZXMgdG8gdGhlIHJlZmVyZW5jZSBnZW5vbWUuIFdlJ2xsIHVzZSB0aGUgY29uY2Vw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