Skip to content

Commit bec09e4

Browse files
committed
v18 gene expression
1 parent 2150ea1 commit bec09e4

File tree

6 files changed

+95
-0
lines changed

6 files changed

+95
-0
lines changed

.drone.sec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.s4vyZap4533o0ytFth_U2t6C2PSsK0YkdI05DwowiUS5_n2btcw7oIg6lOc4h-pIAUsxRwZ6fW5OaJ-30IukOitS1y4m0m2kG4SN9FDVhtsICyhMEft3R7r32DJFpo-gw2ryZ9RLSFMFEfFjfJKgC3v587M4A36U0IlwjgsgO5dkVP9HNxVUKVPpGo3kVPjLp34dkwCp2B4ZPC-Rb3VRe9UwwA9Tb9zijX-RsTm0xYft8-28_6XLhO_bbG7mbCh_dddnuEO35ETl_xm__UOV9SNOghOWzNRSgljV4NjOSkigJ0W47kTCXU3d9hnwxovRFL7DRm9cWSTWLP-WlHVm_w.3s2vMZibqKq0bwJC.YjyyItUW-j_s2MQv-SKucEHB3XwnouCdAP4OxLTYP6MBXkdKnWqwIQdFBl7LmqyhC8ajpV3IWtdgzKDmhGGtaDsSz_6RiaFd.SGVrjmJi-MkwRbnOXb4wFA

.drone.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
build:
2+
image: brettbj/continuous_analysis_brainarray_v18
3+
commands:
4+
- git status
5+
- tar -xvf /data/GSE47664_RAW.tar
6+
- Rscript r_script.r
7+
8+
- cd /drone/src/github.com/greenelab/continuous_analysis_brainarray
9+
- mkdir -p results
10+
- mv output.csv results/output.csv
11+
- mv truncated_output.csv results/truncated_output.csv
12+
13+
- git config user.email "[email protected]"
14+
- git config user.name "Brett Beaulieu-Jones"
15+
- git config --global push.default simple
16+
- git remote set-url origin https://github.com/greenelab/continuous_analysis_brainarray.git
17+
18+
- git checkout master
19+
- git remote set-url origin https://brettbj:[email protected]/greenelab/continuous_analysis_brainarray.git
20+
- git fetch
21+
- git branch --set-upstream-to=origin/master master
22+
- git pull
23+
- git add results
24+
- git commit -a -m "Drone Build [skip ci] [ci skip]"
25+
- git push
26+
27+
branches:
28+
- staging
29+

r_script.r

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
packageVersion("hgu133plus2hsentrezgcdf")
2+
library(affy)
3+
CELs.entrezgene = ReadAffy(cdfname="hgu133plus2hsentrezgcdf")
4+
eset.entrezgene = rma(CELs.entrezgene)
5+
rma.exprs <- exprs(eset.entrezgene)
6+
7+
library(multtest)
8+
9+
groups=c(1, 1, 1, 0, 0, 0)
10+
stats=mt.teststat(rma.exprs, groups, test="t")
11+
rawp=2*(1-pnorm(abs(stats)))
12+
adjp=p.adjust(rawp, method="bonferroni")
13+
arraysRMAstats=cbind(rma.exprs[-1,0], adjp)
14+
trunc_stats = head(arraysRMAstats, n=100)
15+
16+
write.table(trunc_stats, file="truncated_output.csv", sep=",", col.names = FALSE)
17+
write.table(arraysRMAstats, file="output.csv", sep=",", col.names = FALSE)

v18/Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM ubuntu:14.04
2+
MAINTAINER Brett Beaulieu-Jones
3+
4+
RUN apt-get update
5+
6+
RUN apt-get -y install r-base r-recommended r-base-dev
7+
RUN apt-get -y install wget
8+
9+
RUN Rscript -e 'source("http://bioconductor.org/biocLite.R"); biocLite(c("multtest", "affy", "AnnotationDbi"))'
10+
11+
RUN mkdir -p /data/
12+
RUN wget -q http://mbni.org/customcdf/18.0.0/entrezg.download/hgu133plus2hsentrezgcdf_18.0.0.tar.gz -P /data
13+
RUN R CMD INSTALL /data/hgu133plus2hsentrezgcdf_18.0.0.tar.gz
14+
15+
RUN wget -q ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE47nnn/GSE47664/suppl/GSE47664_RAW.tar -P /data
16+

v19/Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM ubuntu:14.04
2+
MAINTAINER Brett Beaulieu-Jones
3+
4+
RUN apt-get update
5+
6+
RUN apt-get -y install r-base r-recommended r-base-dev
7+
RUN apt-get -y install wget
8+
9+
RUN Rscript -e 'source("http://bioconductor.org/biocLite.R"); biocLite(c("multtest", "affy", "AnnotationDbi"))'
10+
11+
RUN mkdir -p /data/
12+
RUN wget -q http://mbni.org/customcdf/19.0.0/entrezg.download/hgu133plus2hsentrezgcdf_19.0.0.tar.gz -P /data
13+
RUN R CMD INSTALL /data/hgu133plus2hsentrezgcdf_19.0.0.tar.gz
14+
15+
RUN wget -q ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE47nnn/GSE47664/suppl/GSE47664_RAW.tar -P /data
16+

v20/Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM ubuntu:14.04
2+
MAINTAINER Brett Beaulieu-Jones
3+
4+
RUN apt-get update
5+
6+
RUN apt-get -y install r-base r-recommended r-base-dev
7+
RUN apt-get -y install wget
8+
9+
RUN Rscript -e 'source("http://bioconductor.org/biocLite.R"); biocLite(c("multtest", "affy", "AnnotationDbi"))'
10+
11+
RUN mkdir -p /data/
12+
RUN wget -q http://mbni.org/customcdf/20.0.0/entrezg.download/hgu133plus2hsentrezgcdf_20.0.0.tar.gz -P /data
13+
RUN R CMD INSTALL /data/hgu133plus2hsentrezgcdf_20.0.0.tar.gz
14+
15+
RUN wget -q ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE47nnn/GSE47664/suppl/GSE47664_RAW.tar -P /data
16+

0 commit comments

Comments
 (0)