Skip to content

Commit 31c7461

Browse files
Merge pull request #14 from NIGMS/AWS-GCP
AWS + Google Cloud
2 parents 056a1be + da70f50 commit 31c7461

35 files changed

+4732
-1681
lines changed

AWS/01-RNA-Seq/RNA-seq.ipynb

+813
Large diffs are not rendered by default.
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
# Create a conda environment
4+
conda create -n r-rna-seq r-base=4.3.3 -y
5+
6+
# Consider addressing your conda initialization instead.
7+
source ~/.bashrc
8+
9+
# Activate the Conda Environment
10+
conda activate r-rna-seq
11+
12+
# Install packages
13+
conda install -c conda-forge -c bioconda bioconductor-deseq2 -y
14+
15+
conda install r-hexbin -y
16+
17+
conda install conda-forge::r-tidyverse -y
18+
19+
conda install bioconda::bioconductor-bsgenome -y
20+
21+
conda install bioconda::bioconductor-vsn -y
22+
23+
conda install bioconda::bioconductor-genomation -y
24+
25+
conda install bioconda::bioconductor-genomeinfodb -y
26+
27+
R -e 'install.packages(c("NMF","IRkernel"), repos="http://cran.rstudio.com/")'
28+
29+
30+
# Install the kernel specification for Jupyter
31+
R -e 'IRkernel::installspec(name = "R-RNA-Seq", displayname = "R-RNA-Seq")'

AWS/01-RNA-Seq/rnaseq-aws.config

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugins {
2+
id 'nf-amazon'
3+
}
4+
5+
profiles {
6+
aws {
7+
process {
8+
executor = 'awsbatch'
9+
queue = 'nextflow-batch-job-queue' // Name of your Job queue
10+
container = 'quay.io/nextflow/rnaseq-nf:v1.1'
11+
12+
}
13+
workDir = 's3://your_bucket_name/rna-tmp/' // path of your working directory
14+
params.outdir = 's3://your_bucket_name/rna-outputs/' // path of your output directory
15+
16+
fusion.enabled = true
17+
wave.enabled = true
18+
aws.region = 'us-east-1' // YOUR AWS REGION
19+
20+
}
21+
}

AWS/02-RRBS/RRBS-downstream.ipynb

+1,000
Large diffs are not rendered by default.

AWS/02-RRBS/install_rrbs_packages.sh

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
3+
# Create a conda environment
4+
conda create -n r-rrbs r-base=4.3.3 -y
5+
6+
# Consider addressing your conda initialization instead.
7+
source ~/.bashrc
8+
9+
# Activate the Conda Environment
10+
conda activate r-rrbs
11+
12+
# Install packages
13+
conda install -c conda-forge r-data.table=1.16.4 -y
14+
conda install bioconda::bioconductor-methylkit -y
15+
16+
conda install bioconda::bioconductor-genomicranges -y
17+
18+
conda install bioconda::bioconductor-genomation -y
19+
20+
conda install conda-forge::r-ggforce -y
21+
22+
conda install conda-forge::r-tidyverse -y
23+
24+
R -e 'install.packages(c("IRkernel","ggplot2"), repos="http://cran.rstudio.com/")'
25+
26+
# Install the kernel specification for Jupyter
27+
R -e 'IRkernel::installspec(name = "R-RRBS", displayname = "R-RRBS")'

AWS/02-RRBS/rrbs-aws.config

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugins {
2+
id 'nf-amazon'
3+
}
4+
5+
profiles {
6+
aws {
7+
process {
8+
executor = 'awsbatch'
9+
queue = 'nextflow-batch-job-queue' // Name of your Job queue
10+
container = 'quay.io/nextflow/rnaseq-nf:v1.1'
11+
12+
}
13+
workDir = 's3://nextflow-bucket-test/meth-tmp/' // Path of your working directory
14+
params.outdir = 's3://nextflow-bucket-test/meth-outputs/' // Path of your output directory
15+
16+
fusion.enabled = true
17+
wave.enabled = true
18+
aws.region = 'us-east-1' // YOUR AWS REGION
19+
20+
}
21+
}

AWS/03-Integration/Integration.ipynb

+1,840
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#!/bin/bash
2+
3+
# Create a conda environment
4+
conda create -n r-integration r-base=4.3.3 -y
5+
6+
# Consider addressing your conda initialization instead
7+
source ~/.bashrc
8+
9+
# Activate the Conda Environment
10+
conda activate r-integration
11+
12+
# Install packages
13+
14+
conda install conda-forge::r-pvclust -y
15+
16+
conda install conda-forge::r-ggnewscale -y
17+
18+
conda install conda-forge::r-ggridges -y
19+
20+
conda install conda-forge::r-europepmc -y
21+
22+
conda install conda-forge::r-ggseqlogo -y
23+
24+
conda install bioconda::bioconductor-methreg -y
25+
26+
conda install bioconda::bioconductor-bsgenome -y
27+
28+
conda install bioconda::bioconductor-clusterprofiler -y
29+
30+
conda install bioconda::bioconductor-pathview -y
31+
32+
conda install bioconda::bioconductor-enrichplot -y
33+
34+
conda install bioconda::bioconductor-repitools -y
35+
36+
conda install bioconda::bioconductor-rnaagecalc -y
37+
38+
conda install bioconda::bioconductor-motifmatchr -y
39+
40+
conda install bioconda::bioconductor-tfbstools -y
41+
42+
conda install conda-forge::r-doparallel -y
43+
44+
conda install bioconda::bioconductor-bsgenome.hsapiens.ucsc.hg38 -y
45+
46+
conda install -c conda-forge r-data.table=1.16.4 -y
47+
conda install bioconda::bioconductor-methylkit -y
48+
49+
conda install bioconda::bioconductor-genomation -y
50+
51+
conda install bioconda::bioconductor-deseq2 -y
52+
53+
conda install conda-forge::r-tidyverse -y
54+
55+
conda install bioconda::bioconductor-motifstack -y
56+
57+
58+
59+
R -e 'install.packages(c("IRkernel"), repos="http://cran.rstudio.com/")'
60+
61+
# Install the kernel specification for Jupyter
62+
R -e 'IRkernel::installspec(name = "R-Integration", displayname = "R-Integration")'

0 commit comments

Comments
 (0)