09b710c97729e90f94b28f9dbfbbfcedc29dfc86
workshops.md
... | ... | @@ -18,10 +18,13 @@ Complete workshop data files and scripts: [biogrids_workshop.tar.gz](downloads/b |
18 | 18 | |
19 | 19 | |
20 | 20 | Download and install biogrids CLI client then run: |
21 | + |
|
21 | 22 | ``` |
22 | 23 | biogrids activate <site name> <user name> <activation key> |
23 | 24 | ``` |
25 | + |
|
24 | 26 | #### Linux |
27 | + |
|
25 | 28 | ``` |
26 | 29 | curl -kLO https://biogrids.org/wiki/downloads/biogrids-1.0.694-Linux.tgz |
27 | 30 | tar zxf biogrids-1.0.694-Linux.tgz |
... | ... | @@ -29,35 +32,47 @@ cd biogrids-1.0.694-Linux |
29 | 32 | ``` |
30 | 33 | |
31 | 34 | #### OSX |
35 | + |
|
32 | 36 | ``` |
33 | 37 | curl -kLO https://biogrids.org/wiki/downloads/biogrids-1.0.694-Darwin.tgz |
34 | 38 | tar zxf biogrids-1.0.694-Darwin.tgz |
35 | 39 | cd biogrids-1.0.694-Darwin |
36 | 40 | ``` |
37 | 41 | |
38 | -#### Run biogrids |
|
42 | +#### Activate biogrids |
|
39 | 43 | ``` |
40 | 44 | ./biogrids activate biogrid-production jvinent1 70rYFTDnmCr93VUklfbf1s3M4jdyC9bFVYHew== |
45 | +``` |
|
46 | + |
|
47 | +### Install software with BioGrids |
|
48 | + |
|
49 | +``` |
|
41 | 50 | ./biogrids install fastqc trimmomatic samtools star subread igv |
42 | 51 | ``` |
43 | 52 | |
44 | -Change back to home directory |
|
53 | +When finished, verify applications are installed: |
|
45 | 54 | ``` |
46 | -cd |
|
55 | +./biogrids installed |
|
47 | 56 | ``` |
48 | 57 | |
49 | -### Install software with BioGrids |
|
50 | 58 | ### Download and uncompress tutorial files |
51 | -### Run RNA-Seq workflow |
|
52 | - |
|
53 | -Download then uncompress: |
|
54 | 59 | |
55 | 60 | ``` |
61 | +cd # make sure we are in home dir |
|
56 | 62 | curl -kLO https://biogrids.org/wiki/downloads/biogrids_workshop.tar.gz |
57 | 63 | tar zxf biogrids_workshop.tar.gz |
58 | 64 | cd biogrids_workshop |
65 | +``` |
|
66 | + |
|
67 | +### Run RNA-Seq workflow |
|
68 | + |
|
69 | +``` |
|
70 | +cd biogrids_workshop |
|
59 | 71 | ./runMOV10.sh ./raw_fastq/ENCODE_MOV10.fq |
60 | 72 | ``` |
73 | +Successful completion of the workflow will create a new directory name 'results'. |
|
74 | + |
|
75 | +Output from the RNA-Seq workflow is stored there. |
|
61 | 76 | |
62 | 77 | View results with IGV: |
63 | 78 | ``` |
... | ... | @@ -72,6 +87,31 @@ Within IGV: |
72 | 87 | |
73 | 88 | 3: File / Load from file... ( .bam file) |
74 | 89 | |
90 | +## RNA-Seq Workflow on AWS |
|
91 | + |
|
92 | +### Start an EC2 Instance |
|
93 | + |
|
94 | +Log in to the AWS console: aws.amazon.com |
|
95 | +Start a t2.micro instance (free tier) |
|
96 | +The last prompt when lanuching will ask you to select a key pair. Create a new key pair if this is the first time you have used EC2 or select an existing key pair. |
|
97 | + |
|
98 | +If creating a new keypair you must download the .pem file. You will need this to access the EC2 instance launched with that key pair. |
|
99 | + |
|
100 | +We reccomend keeping your .pem key files in .ssh directory in your home. |
|
101 | + |
|
102 | +Copy the .pem file to .ssh and set the mode to user read only: |
|
103 | +``` |
|
104 | +cp my_key_file.pem ~/.ssh |
|
105 | +cd ~/.ssh |
|
106 | +chmod 400 my_key_file.pem |
|
107 | +ls -l my_key_file.pem |
|
108 | +``` |
|
109 | + |
|
110 | + |
|
111 | + |
|
112 | + |
|
113 | +--- |
|
114 | + |
|
75 | 115 | ### Genome Resources |
76 | 116 | |
77 | 117 | ENCODE data files can be found here for CalTech RNA-Seq : |