Repository 'geo_data'
hg clone https://toolshed.g2.bx.psu.edu/repos/testtool/geo_data

Changeset 33:2c799524e1d3 (2017-04-14)
Previous changeset 32:be1ca0e7829b (2017-04-13) Next changeset 34:59a5237b72a3 (2017-04-14)
Commit message:
Uploaded
added:
findDMR/.Rhistory
findDMR/._.DS_Store
findDMR/findDMR.R
findDMR/findDMR.xml
findDMR/test-data/._.DS_Store
findDMR/test-data/._input.csv
findDMR/test-data/DMR.bed
findDMR/test-data/MetaTable.csv
findDMR/test-data/input.csv
findDMR/tool_dependencies.xml
removed:
GRsetFromGEO/._.DS_Store
GRsetFromGEO/GRsetFromGEO.R
GRsetFromGEO/GRsetFromGEO.xml
GRsetFromGEO/test-data/GenomicRatioSet.Rdata
GRsetFromGEO/tool_dependencies.xml
b
diff -r be1ca0e7829b -r 2c799524e1d3 GRsetFromGEO/._.DS_Store
b
Binary file GRsetFromGEO/._.DS_Store has changed
b
diff -r be1ca0e7829b -r 2c799524e1d3 GRsetFromGEO/GRsetFromGEO.R
--- a/GRsetFromGEO/GRsetFromGEO.R Thu Apr 13 12:50:58 2017 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
[
@@ -1,12 +0,0 @@
-require("minfi", quietly = TRUE)
-
-args <- commandArgs(trailingOnly = TRUE)
-GSE = args[1] 
-output = args[2] 
-
-GRset <- getGenomicRatioSetFromGEO(GSE)
-
-#save(GRset,output)
-a<-"franek"
-
-write.table(a, output, row.names = FALSE,quote=FALSE,sep="\t")
\ No newline at end of file
b
diff -r be1ca0e7829b -r 2c799524e1d3 GRsetFromGEO/GRsetFromGEO.xml
--- a/GRsetFromGEO/GRsetFromGEO.xml Thu Apr 13 12:50:58 2017 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
@@ -1,33 +0,0 @@
-<tool id="GRset" name="GRsetFromGEO" version="1.16.2">
-  <requirements>
-         <requirement type="package" version="3.2.1">R</requirement>
-     </requirements>
-<stdio>
-   <exit_code range="1:" />
-</stdio>
-  <command> Rscript $__tool_directory__/GRsetFromGEO.R "$GSE" "$output" </command>
-  <inputs>
-    <param name="GSE" type="text" value="" label="Enter GSE ID." help="e.g. 'GSE51547'"/>
-  </inputs>
-  <outputs>
-     <data format="txt" name="output" label="GSMTable.txt"/>
-  </outputs>
-  <tests>
-    <test>
-      <param name="test">
-      <element name="test-data">
-           <collection type="data">
-                <element name="GSE" value="GSE51547"/>
-          </collection>
-        </element>
-        </param>
-        <output format="txt"  name="output" label="test-data/GSMTable.txt"/>
-        </test>
-    </tests>
-  <help>
-Reading Illumina methylation array data from GEO.
-</help>
-<citations>
-Aryee, Martin J., et al. "Minfi: a flexible and comprehensive Bioconductor package for the analysis of Infinium DNA methylation microarrays." Bioinformatics 30.10 (2014): 1363-1369.
-</citations>
-</tool>
b
diff -r be1ca0e7829b -r 2c799524e1d3 GRsetFromGEO/test-data/GenomicRatioSet.Rdata
b
Binary file GRsetFromGEO/test-data/GenomicRatioSet.Rdata has changed
b
diff -r be1ca0e7829b -r 2c799524e1d3 GRsetFromGEO/tool_dependencies.xml
--- a/GRsetFromGEO/tool_dependencies.xml Thu Apr 13 12:50:58 2017 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
b'@@ -1,274 +0,0 @@\n-<?xml version=\'1.0\' encoding=\'utf-8\' ?>\n-<tool_dependency>\n-    <actions>\n-                <action type="setup_r_environment">\n-                  <repository changeset_revision="d0bf97420fb5" name="package_r_3_2_1" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">\n-                      <package name="R" version="3.2.1"/>\n-                 </repository>\n-                      <package sha256sum="397c3c90af966f48eebe8f5d9e40c41b17541f0baaa102eec3ea4faae5a2bd49">\n-                          https://depot.galaxyproject.org/software/munsell/munsell_0.4.3.tar.gz\n-                      </package>\n-                      <package sha256sum="0d8069eb48e91f6f6d6a9148f4e2dc5026cabead15dd15fc343eff9cf33f538f">\n-                          https://depot.galaxyproject.org/software/labeling/labeling_0.3.tar.gz\n-                      </package>\n-                      <package sha256sum="762bcb9b5188274fd81d82f785cf2846a5acc61fad55e2ff8ec1502282c27881">\n-                          https://depot.galaxyproject.org/software/DO.db/DO.db_2.9.tar.gz\n-                      </package>\n-                      <package sha256sum="de6f46918b40bcf4f8c03442f2a0411f1796794e0e7b00770ed0aac56601833d">\n-                          https://bioarchive.galaxyproject.org/fgsea_1.1.2.tar.gz\n-                      </package>\n-                      <package sha256sum="7f1aa58085a030b7855a4e189bea2f17ff72333a1f884f0ab7f5af1fbe101397">\n-                          https://bioarchive.galaxyproject.org/GOSemSim_2.1.2.tar.gz\n-                      </package>\n-                      <package sha256sum="dc64ed09b8b5f8d66ed4936cde3491974d6bc5178dd259b6eab7ef3936aa5602">\n-                          https://depot.galaxyproject.org/software/igraph/igraph_1.0.1.tar.gz\n-                      </package>\n-                      <package sha256sum="f9e132c35d3af919cff291465d030817ff74e56eb6b2770390ae8566881b62ed">\n-                          https://bioarchive.galaxyproject.org/qvalue_2.7.0.tar.gz\n-                      </package>\n-                      <package sha256sum="6d3783610379be4c5676d9236cf66276a166b5b96c18f2759e9b219758959b6b">\n-                          https://depot.galaxyproject.org/software/reshape2/reshape2_1.4.2.tar.gz\n-                      </package>\n-                      <package sha256sum="642b88fb1fce7bac72a0038ce532b65b8a79dffe826fec25033cf386ab630cd3">\n-                          https://depot.galaxyproject.org/software/scales/scales_0.4.1.tar.gz\n-                      </package>\n-                      <package sha256sum="51a74de64296d7cbed04a015a9f9725de95adb5e04301d1cd58190d7365fb104">\n-                          https://bioarchive.galaxyproject.org/biomaRt_2.31.3.tar.gz\n-                      </package>\n-                      <package sha256sum="801e4869830ff3da1d38e41f5a2296a54fc10a7419c6ffb108582850c701e76f">\n-                          https://depot.galaxyproject.org/software/gtable/gtable_0.2.0.tar.gz\n-                      </package>\n-                      <package sha256sum="ed8a8bd0591223f742be80fd1cd8c4a9618d0f04011ec95c272b61ea45193104">\n-                          https://depot.galaxyproject.org/software/tibble/tibble_1.2.tar.gz\n-                      </package>\n-                      <package sha256sum="13738f55b2044184fe91f53d17516a445dfb508227527921218cda6f01f98dcb">\n-                          https://depot.galaxyproject.org/software/lazyeval/lazyeval_0.2.0.tar.gz\n-                      </package>\n-                      <package sha256sum="8097ec0e4868f6bf746f821cff7842f696e874bb3a84f1b2aa977ecd961c3e4e">\n-                          https://depot.galaxyproject.org/software/gdata/gdata_2.17.0.tar.gz\n-                      </package>\n-                      <package sha256sum="d32a73febf00930355cc00f3e4e71357412e0f163faae6a4bf7f552cacfe9af4">\n-                          https://depot.galaxyproject.org/software/caTools/caTools_1.17.1.tar.gz\n-                      </package>\n-                      <package sha256sum="1363645a9a128f615aa0641d'..b'g/software/reshape/reshape_0.8.6.tar.gz\n-                      </package>\n-                      <package sha256sum="d999620688354c283de5bb305203f5db70271b4dfdc23577cae8c2ba94c9e349">\n-                          https://depot.galaxyproject.org/software/quadprog/quadprog_1.5-5.tar.gz\n-                      </package>\n-                      <package sha256sum="cd26dbd60b2e2060541c4bb579ec1e0f6c262501431460b096b5fef323204432">\n-                          https://bioarchive.galaxyproject.org/GEOquery_2.41.0.tar.gz\n-                      </package>\n-                      <package sha256sum="bee70645c7cc88250761092762a9d293b4644f311047baecf49fde766d3059bc">\n-                          https://bioarchive.galaxyproject.org/Biobase_2.35.0.tar.gz\n-                      </package>\n-                      <package sha256sum="c6133611cc991dfc17410d06a9ddcc6dcff0153bceffdf7d5a9b7dc42f31afa6">\n-                          https://depot.galaxyproject.org/software/org.Hs.eg.db/org.Hs.eg.db_3.4.0.tar.gz\n-                      </package>\n-                      <package sha256sum="cf61732ef9b38ecb6579055d1cd145198ad23a5a9ae4378f94a1494e6c56c884">\n-                          https://depot.galaxyproject.org/software/data.table/data.table_1.10.0.tar.gz\n-                      </package>\n-                      <package sha256sum="d47be4430a1c343c20f9d3f67b8511506904e46be13ea4199769f012f1449209">\n-                          https://depot.galaxyproject.org/software/GO.db/GO.db_3.4.0.tar.gz\n-                      </package>\n-                      <package sha256sum="dfccd4b4d6ec90cd7628fd128d2456d792f406cee4d32b13448dcb0ffe4ab056">\n-                          https://depot.galaxyproject.org/software/NMF/NMF_0.20.6.tar.gz\n-                      </package>\n-                      <package sha256sum="7fa594d9576592e393283ec4fc79fd72128f663bd516e05651957ce1e6fe3c38">\n-                          https://depot.galaxyproject.org/software/colorspace/colorspace_1.3-1.tar.gz\n-                      </package>\n-                      <package sha256sum="31151eaf36f70bdc1172da5ff5088ee51cc0a3db4ead59c7c38c25316d580dd1">\n-                          https://depot.galaxyproject.org/software/dichromat/dichromat_2.0-0.tar.gz\n-                      </package>\n-                      <package sha256sum="7a4957c66ff622d7d1456adfbb728c60d406cdb2a754979797f9dcb0dc8fee99">\n-                          https://depot.galaxyproject.org/software/fastmatch/fastmatch_1.0-4.tar.gz\n-                      </package>\n-                      <package sha256sum="5183e8dd7943df11c0f44460566adf06c03d5320f142699298f516d423b06ce1">\n-                          https://depot.galaxyproject.org/software/irlba/irlba_2.1.2.tar.gz\n-                      </package>\n-                      <package sha256sum="19ad78c16bd5757333e7abbd5eebcec081deb494c9a4b6eec6919a3747b3386f">\n-                          https://depot.galaxyproject.org/software/pkgmaker/pkgmaker_0.22.tar.gz\n-                      </package>\n-                      <package sha256sum="58a5c43b8012ca5e509fa29a8daf6f24f097b8eb021a723f6a9c33db1dd3f430">\n-                          https://depot.galaxyproject.org/software/registry/registry_0.3.tar.gz\n-                      </package>\n-                      <package sha256sum="27019835b750f470b13dbb7fecd3b839a61b52774e23fffa191f919533768fb9">\n-                          https://depot.galaxyproject.org/software/rngtools/rngtools_1.2.4.tar.gz\n-                      </package>\n-                      <package sha256sum="605aa3643588a2f40a942fa760b92662060a0dfedb26b4e4cd6f1a78b703093f">\n-                          https://depot.galaxyproject.org/software/FDb.InfiniumMethylation.hg19/FDb.InfiniumMethylation.hg19_2.2.0.tar.gz\n-                      </package>\n-                        <package>\n-                          https://bioarchive.galaxyproject.org/minfi_1.20.0.tar.gz\n-                      </package>\n-                  </action>\n-              </actions>\n-            </tool_dependency>\n\\ No newline at end of file\n'
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/.Rhistory
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/findDMR/.Rhistory Fri Apr 14 06:44:35 2017 -0400
b
@@ -0,0 +1,3 @@
+clusterSize=2
+class(clusterSize)
+type(clusterSize)
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/._.DS_Store
b
Binary file findDMR/._.DS_Store has changed
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/findDMR.R
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/findDMR/findDMR.R Fri Apr 14 06:44:35 2017 -0400
[
@@ -0,0 +1,45 @@
+require("minfi", quietly = TRUE)
+require("ChIPseeker", quietly = TRUE)
+require("ChIPpeakAnno", quietly = TRUE)
+require("data.table", quietly = TRUE)
+
+
+args <- commandArgs(trailingOnly = TRUE)
+GSMTable = args[1]
+platform = args[2]
+Data_Table = args[3]
+cutoff = as.numeric(args[4])
+clusterSize = as.numeric(args[5])
+DMR = args[6]
+
+TAB = fread(GSMTable)
+
+IlmnInfo = fread(platform)
+
+gmSet = fread(Data_Table)
+
+# bumphunter Run with processed data
+designMatrix <- model.matrix( ~ TAB$Phenotype)
+
+bumps <- bumphunter(
+  as.matrix(gmSet),
+  design = designMatrix,
+  pos = IlmnInfo$BP,
+  cutoff = cutoff,
+  chr = IlmnInfo$CHR
+)
+
+# choose DMR's of a certain length threshold
+DMRTable <- bumps$table[which(bumps$table$L >= clusterSize), ]
+DMRInfo <- data.table(DMRTable$chr, DMRTable$start, DMRTable$end)
+
+
+
+write.table(
+  DMRInfo,
+  DMR,
+  quote = F,
+  sep = "\t",
+  row.names = F,
+  col.names = F
+)
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/findDMR.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/findDMR/findDMR.xml Fri Apr 14 06:44:35 2017 -0400
[
@@ -0,0 +1,56 @@
+<tool id="DMR" name="findDMR" version="1.16.2">
+  <description>
+from series of samples
+  </description>
+  <requirements>
+         <requirement type="package" version="3.2.1">R</requirement>
+     </requirements>
+<stdio>
+   <exit_code range="1:" />
+</stdio>
+  <command> Rscript $__tool_directory__/findDMR.R "$GSMTable" "$platform" "$Data_Table" "$cutoff" "$clusterSize" "$DMR"</command>
+  <inputs>
+    <param optional="false" format="txt" name="GSMTable" type="data" value="" help="GSM ID and phenotype table." label="[required] GSMTable">
+      <validator type="empty_field" message="This field is required."/>
+    </param>
+     <param optional="false" format="txt" name="platform" type="data" value="" help="CG, CHR, BP table." label="[required] platform">
+      <validator type="empty_field" message="This field is required."/>
+    </param>
+     <param optional="false" format="txt" name="Data_Table" type="data" value="" help="Matrix of data." label="[required] Data_Table">
+      <validator type="empty_field" message="This field is required."/>
+    </param>
+    <param name="cutoff" type="float" value=""
+        label="Enter cutoff size (number)"
+        help="e.g. '0.2'" >
+      </param>
+    <param name="clusterSize" type="float" value=""
+        label="Enter cluster size (number)"
+        help="e.g. '2'" >
+      </param>
+  </inputs>
+  <outputs>
+    <data format="bed" name="DMR" label="DMR.bed"/>
+  </outputs>
+  <tests>
+    <test>
+      <param name="test">
+      <element name="test-data">
+          <collection type="data">
+              <element name="GSMTable" value="test-data/input.txt"/>
+              <element name="platform" value="test-data/platform.txt"/>
+              <element name="Data_Table" value="test-data/Data_Table.txt"/>
+              <element name="cutoff" value="0.2"/>
+              <element name="clusterSize" value="2"/>
+          </collection>
+        </element>
+        </param>
+        <output format="bed" name="DMR" label="test-data/DMR.bed"/>
+        </test>
+    </tests>
+  <help>
+**Description**
+</help>
+<citations>
+DMR
+</citations>
+</tool>
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/test-data/._.DS_Store
b
Binary file findDMR/test-data/._.DS_Store has changed
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/test-data/._input.csv
b
Binary file findDMR/test-data/._input.csv has changed
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/test-data/DMR.bed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/findDMR/test-data/DMR.bed Fri Apr 14 06:44:35 2017 -0400
b
b'@@ -0,0 +1,9881 @@\n+chrX\t106959609\t106960186\n+chr1\t54203844\t54204501\n+chr5\t112073385\t112073454\n+chr18\t56338460\t56338659\n+chr6\t29943460\t29944045\n+chr11\t64405452\t64405993\n+chr4\t1363998\t1364344\n+chr16\t78079753\t78080193\n+chr3\t38070886\t38071301\n+chr2\t175351922\t175352168\n+chr4\t1806633\t1807332\n+chr6\t28793329\t28793608\n+chr4\t1205447\t1206004\n+chr3\t113775302\t113775388\n+chr16\t3085934\t3086940\n+chr2\t27485967\t27486122\n+chr1\t2918058\t2918526\n+chr17\t422325\t422568\n+chr5\t141031071\t141031094\n+chr6\t17987573\t17987659\n+chr17\t2952307\t2952767\n+chr19\t16653151\t16653581\n+chr3\t193921489\t193922037\n+chr2\t70418309\t70418827\n+chr16\t1095625\t1096754\n+chr11\t2161355\t2161411\n+chr12\t51664503\t51664607\n+chr16\t1705991\t1706153\n+chr14\t23067033\t23067188\n+chr3\t173113110\t173113519\n+chr7\t50444039\t50444317\n+chr3\t100053070\t100053140\n+chr17\t6918792\t6918952\n+chr2\t175350573\t175351649\n+chr6\t33216768\t33217142\n+chr16\t85646762\t85646832\n+chr16\t11439254\t11439785\n+chr2\t201981786\t201981873\n+chr10\t128993810\t128994432\n+chr7\t116593215\t116593288\n+chr16\t29873565\t29874506\n+chr22\t40742327\t40742374\n+chr21\t46031707\t46032038\n+chr6\t31940192\t31940302\n+chr2\t128784344\t128784923\n+chr19\t45927001\t45927018\n+chr16\t24550834\t24552079\n+chr6\t26284890\t26285184\n+chr22\t47158324\t47158521\n+chr3\t63850035\t63850278\n+chr16\t672235\t672882\n+chr14\t57274763\t57275234\n+chr16\t3766844\t3767679\n+chr3\t44036098\t44036453\n+chr15\t32907294\t32907402\n+chr17\t48637584\t48637666\n+chr5\t137800779\t137801033\n+chr22\t20004369\t20004611\n+chr19\t35531102\t35531591\n+chr18\t32397976\t32398246\n+chr22\t30162987\t30162991\n+chr17\t78032296\t78032492\n+chr10\t131927297\t131927449\n+chr19\t1947674\t1947912\n+chr1\t36106988\t36107155\n+chr9\t101568927\t101569648\n+chr18\t48346660\t48346795\n+chr1\t211652228\t211652741\n+chr4\t1294432\t1294566\n+chr1\t12079449\t12079505\n+chr14\t103740037\t103740476\n+chr12\t108237572\t108237937\n+chr13\t113097259\t113097633\n+chr18\t63417557\t63417735\n+chr3\t51976003\t51976171\n+chr12\t123237034\t123237126\n+chr9\t88555654\t88555863\n+chr3\t53289290\t53289728\n+chr16\t31214346\t31214378\n+chr12\t8185029\t8185344\n+chr10\t38146893\t38147096\n+chr11\t62341426\t62341521\n+chr14\t65239309\t65239653\n+chr20\t42219469\t42219655\n+chr12\t10364612\t10365082\n+chr3\t48487981\t48488082\n+chr7\t45614242\t45614720\n+chr2\t208632784\t208633283\n+chr9\t75136064\t75136701\n+chr12\t12966076\t12966271\n+chr1\t16563734\t16563906\n+chr16\t2255332\t2255883\n+chr9\t77642922\t77643323\n+chr14\t56047764\t56047916\n+chr19\t10138244\t10138615\n+chr17\t73901016\t73901339\n+chr16\t14397688\t14397766\n+chr16\t30457360\t30457524\n+chr1\t155243076\t155243300\n+chr16\t32936895\t32937009\n+chr7\t18067530\t18067535\n+chr11\t1304252\t1304348\n+chr16\t56677510\t56677585\n+chr20\t2821434\t2821485\n+chr1\t153914312\t153914453\n+chr16\t2569925\t2570212\n+chr15\t68870979\t68871357\n+chr17\t7517617\t7517649\n+chr16\t28608846\t28609531\n+chr7\t2563136\t2563622\n+chr1\t75139583\t75139958\n+chr7\t44104935\t44105118\n+chr16\t4852372\t4852777\n+chr6\t101328458\t101329304\n+chr20\t35504198\t35504371\n+chr6\t33656083\t33656500\n+chr12\t120739972\t120740007\n+chr1\t247579560\t247580517\n+chr8\t37824481\t37824496\n+chr12\t108079012\t108079503\n+chr19\t10735958\t10736001\n+chr7\t154706045\t154706916\n+chr16\t8962538\t8962970\n+chr10\t45914477\t45914640\n+chr16\t12211050\t12211322\n+chr16\t31366118\t31366418\n+chr14\t58893467\t58893740\n+chr18\t23806180\t23806263\n+chr7\t82541\t82911\n+chr15\t77287290\t77287608\n+chr15\t69706335\t69706469\n+chr3\t195622522\t195622598\n+chr12\t24102533\t24103021\n+chr10\t31607330\t31607651\n+chr3\t53164962\t53165031\n+chr16\t19566218\t19566823\n+chr19\t18451444\t18451525\n+chr7\t100493811\t100494332\n+chr16\t3550032\t3550792\n+chr16\t20359396\t20359923\n+chr2\t27994492\t27994636\n+chr16\t8715546\t8715882\n+chr16\t30379343\t30380183\n+chr16\t29296186\t29296693\n+chr15\t45879564\t45879610\n+chr11\t70289501\t70289510\n+chr20\t56935373\t56935483\n+chr10\t48355005\t48355070\n+chr14\t63568147\t63568558\n+chr1\t224518178\t224518192\n+chr10\t99447118\t99447212\n+chr2\t130763379\t130763641\n+chr1\t27901757\t27902687\n+chr16\t19124971\t19125137\n+chr17\t74236897\t74237210\n+chr1\t228782809\t228783335\n+chr15\t85144175\t85144257\n+chr5\t122181105\t122181680\n+chr2\t143886278\t143886375\n+chr20\t31349704\t31349891\n+chr19\t7964567\t7964703\n+chr16\t338531'..b'33247885\t33247984\n+chr2\t113398727\t113399144\n+chr6\t139695804\t139695808\n+chr6\t73935125\t73935200\n+chr1\t1228942\t1229105\n+chr5\t156773546\t156773616\n+chr3\t18480249\t18480341\n+chr2\t242566905\t242566940\n+chr2\t240239755\t240239767\n+chr17\t48858588\t48858603\n+chr16\t89342351\t89342629\n+chr13\t28544814\t28545214\n+chr1\t26233404\t26233435\n+chr13\t114062198\t114062507\n+chr1\t33235571\t33235717\n+chr3\t48594424\t48594454\n+chrX\t42637449\t42637506\n+chr5\t131347720\t131347725\n+chr15\t93257477\t93257579\n+chr1\t9380708\t9380800\n+chr12\t110888158\t110888232\n+chr13\t53776211\t53776396\n+chr9\t139840384\t139840630\n+chr3\t96495326\t96495603\n+chr4\t7287567\t7287737\n+chr11\t65819726\t65819742\n+chr20\t25371652\t25371671\n+chr19\t5567758\t5568093\n+chr6\t33272178\t33272186\n+chr7\t156801539\t156801818\n+chr17\t48698713\t48698751\n+chr12\t131258228\t131258361\n+chr9\t5831674\t5831951\n+chrX\t154842736\t154842793\n+chr15\t43513504\t43513563\n+chr8\t30890469\t30890553\n+chr8\t145019491\t145019563\n+chr11\t65196125\t65196174\n+chr21\t46019376\t46019570\n+chr22\t41777755\t41777779\n+chr1\t43147939\t43148010\n+chr2\t178257542\t178257632\n+chr11\t1446386\t1446802\n+chr6\t32820153\t32820214\n+chr19\t15343347\t15343377\n+chr9\t4679736\t4679986\n+chr10\t90343387\t90343641\n+chr8\t54852115\t54852232\n+chr9\t95947098\t95947348\n+chr16\t88761048\t88761284\n+chr20\t20257813\t20258001\n+chr13\t30948114\t30948122\n+chr7\t95026538\t95026672\n+chr7\t44530455\t44530521\n+chr5\t2752553\t2752834\n+chr16\t30798770\t30798776\n+chr19\t46713398\t46713416\n+chr4\t1352452\t1352787\n+chr8\t61566034\t61566391\n+chr6\t170065843\t170065938\n+chr16\t21294899\t21295207\n+chr20\t23028842\t23028977\n+chr6\t133562475\t133562479\n+chr2\t62732892\t62733114\n+chr11\t7951168\t7951173\n+chr17\t79792936\t79792949\n+chr13\t96705664\t96705738\n+chr5\t132386262\t132386298\n+chr12\t7126208\t7126344\n+chr3\t119421553\t119421604\n+chr8\t72754421\t72754905\n+chr6\t30134908\t30135065\n+chr22\t20130575\t20130698\n+chr1\t53542934\t53543090\n+chr8\t1765679\t1765772\n+chr5\t180615482\t180615543\n+chr7\t158857749\t158858057\n+chr16\t89557908\t89557923\n+chr10\t11783974\t11784058\n+chr19\t10444117\t10444479\n+chr11\t102669042\t102669291\n+chr4\t1604438\t1604576\n+chr10\t50747266\t50747328\n+chr6\t33265322\t33265386\n+chr3\t49142215\t49142226\n+chr8\t143193033\t143193131\n+chr16\t23193800\t23193885\n+chr17\t40332910\t40332961\n+chr3\t54157647\t54157677\n+chr6\t30881579\t30881595\n+chr6\t27100067\t27100370\n+chr16\t31383055\t31383088\n+chr5\t175223598\t175223982\n+chr11\t102745886\t102746236\n+chr17\t56296115\t56296444\n+chr16\t4511869\t4511939\n+chr4\t103790056\t103790299\n+chr15\t31284413\t31284569\n+chr11\t104034282\t104034571\n+chr20\t18569003\t18569196\n+chr19\t22019044\t22019059\n+chr8\t61429582\t61429779\n+chr11\t66335975\t66336077\n+chr10\t133758671\t133758839\n+chr6\t31856959\t31857034\n+chr3\t51428372\t51428392\n+chr14\t104647027\t104647046\n+chr20\t60737957\t60738265\n+chr2\t119606698\t119607049\n+chr11\t2813073\t2813298\n+chr11\t2020129\t2020231\n+chr14\t104175847\t104176333\n+chr11\t1785547\t1785552\n+chr1\t161009415\t161009644\n+chr7\t39170539\t39170715\n+chr17\t45855505\t45855691\n+chr20\t21686205\t21686264\n+chr5\t141693817\t141694185\n+chr17\t840927\t841205\n+chr2\t3750517\t3750952\n+chrX\t118708041\t118708065\n+chr17\t43238138\t43238230\n+chr6\t169226282\t169226337\n+chr3\t160283421\t160283489\n+chr7\t1959941\t1960073\n+chr1\t231762664\t231762689\n+chr10\t7860354\t7860463\n+chr7\t157367159\t157367462\n+chr17\t76498943\t76498964\n+chr14\t102027124\t102027514\n+chr17\t26941944\t26942145\n+chr8\t96036568\t96036755\n+chr4\t15964902\t15965016\n+chrX\t48329927\t48329937\n+chr11\t10472101\t10472108\n+chr4\t39460330\t39460342\n+chr6\t32549313\t32549496\n+chr7\t104654852\t104654870\n+chr6\t159240766\t159240774\n+chr19\t1079986\t1080466\n+chr1\t39339553\t39339683\n+chr4\t74486409\t74486510\n+chr6\t29999567\t29999708\n+chr1\t84543108\t84543369\n+chr1\t8877774\t8877813\n+chr12\t39298591\t39298776\n+chr6\t42946146\t42946178\n+chr14\t77279079\t77279247\n+chr1\t2565265\t2565729\n+chr17\t72368116\t72368179\n+chr5\t138612986\t138613030\n+chr6\t26502058\t26502192\n+chr7\t2598460\t2598473\n+chr19\t8649796\t8649942\n+chr3\t127006239\t127006414\n+chr5\t132072786\t132072925\n+chr4\t870161\t870443\n+chr11\t1365592\t1365668\n+chr16\t1575153\t1575219\n+chr1\t76189753\t76189897\n+chr2\t130691926\t130691932\n+chr11\t1413842\t1413990\n+chr7\t1881390\t1881839\n'
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/test-data/MetaTable.csv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/findDMR/test-data/MetaTable.csv Fri Apr 14 06:44:35 2017 -0400
b
@@ -0,0 +1,2 @@
+"channel_count","characteristics_ch1","contact_address","contact_city","contact_country","contact_department","contact_institute","contact_name","contact_zip.postal_code","data_processing","data_row_count","description","extract_protocol_ch1","geo_accession","hyb_protocol","label_ch1","label_protocol_ch1","last_update_date","molecule_ch1","organism_ch1","platform_id","scan_protocol","series_id","source_name_ch1","status","submission_date","supplementary_file","taxid_ch1","title","type"
+"1","sample type: melanoma cell line","Barngatan 2B","Lund","Sweden","Dept of Oncology","Lund University","Martin,,Lauss","22185","Raw intensities for methylated (M) and unmethylated (U) signal were extracted from Illumina’s GenomeStudio. Beta-values were calculated as M/(M+U). A total of 496 missing values (melanomas) were imputed using k-nearest neighbor imputation (k=10). For each sample we performed a peak-based correction of Illumina I and II chemical assays. For both assays we smoothed the beta values (Epanechnikov smoothing kernel) to estimate unmethylated and methylated peaks, respectively; and the unmethylated peak was moved to 0 and the methylated peak to 1 using linear scaling, with beta-values in between stretched accordingly. Beta-values below 0 were set back to 0 and values above 1 were set to 1.","485577","melanoma cell line","Genomic DNA was extracted from the biopsies using QIAamp DNA Mini Kit (Qiagen). A total of 500 ng of DNA were used for bisulfite treatment, using the EZ DNA Methylation Kit (Zymo). We hybridized 200 ng in 4 μl to the Infinium Human Methylation450 BeadChip array.","GSM1247787","Bisulphite converted DNA was amplified, fragmented and hybridised to Illumina Infinium Human Methylation450 Beadchip using standard Illumina protocol","Cy5 and Cy3","Standard Illumina Protocol","May 17 2015","genomic DNA","Homo sapiens","GPL13534","Arrays were imaged using BeadArray Reader using standard recommended Illumina scanner setting","GSE51547","SKMEL3","Public on May 17 2015","Oct 22 2013","NONE","9606","genomic DNA from Sample SKMEL3","genomic"
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/test-data/input.csv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/findDMR/test-data/input.csv Fri Apr 14 06:44:35 2017 -0400
b
@@ -0,0 +1,4 @@
+ID,Phenotype
+GSM1247787,melanoma
+GSM1247784,melanoma
+GSM1247733,healthy
b
diff -r be1ca0e7829b -r 2c799524e1d3 findDMR/tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/findDMR/tool_dependencies.xml Fri Apr 14 06:44:35 2017 -0400
b
b'@@ -0,0 +1,273 @@\n+<?xml version="1.0"?>\n+<tool_dependency>\n+  <install version="1.0">\n+    <actions>\n+                <action type="setup_r_environment">\n+                  <repository changeset_revision="d0bf97420fb5" name="package_r_3_2_1" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">\n+                      <package name="R" version="3.2.1"/>\n+                 </repository>\n+                      <package sha256sum="397c3c90af966f48eebe8f5d9e40c41b17541f0baaa102eec3ea4faae5a2bd49">\n+                          https://depot.galaxyproject.org/software/munsell/munsell_0.4.3.tar.gz\n+                      </package>\n+                      <package sha256sum="0d8069eb48e91f6f6d6a9148f4e2dc5026cabead15dd15fc343eff9cf33f538f">\n+                          https://depot.galaxyproject.org/software/labeling/labeling_0.3.tar.gz\n+                      </package>\n+                      <package sha256sum="762bcb9b5188274fd81d82f785cf2846a5acc61fad55e2ff8ec1502282c27881">\n+                          https://depot.galaxyproject.org/software/DO.db/DO.db_2.9.tar.gz\n+                      </package>\n+                      <package sha256sum="de6f46918b40bcf4f8c03442f2a0411f1796794e0e7b00770ed0aac56601833d">\n+                          https://bioarchive.galaxyproject.org/fgsea_1.1.2.tar.gz\n+                      </package>\n+                      <package sha256sum="7f1aa58085a030b7855a4e189bea2f17ff72333a1f884f0ab7f5af1fbe101397">\n+                          https://bioarchive.galaxyproject.org/GOSemSim_2.1.2.tar.gz\n+                      </package>\n+                      <package sha256sum="dc64ed09b8b5f8d66ed4936cde3491974d6bc5178dd259b6eab7ef3936aa5602">\n+                          https://depot.galaxyproject.org/software/igraph/igraph_1.0.1.tar.gz\n+                      </package>\n+                      <package sha256sum="f9e132c35d3af919cff291465d030817ff74e56eb6b2770390ae8566881b62ed">\n+                          https://bioarchive.galaxyproject.org/qvalue_2.7.0.tar.gz\n+                      </package>\n+                      <package sha256sum="6d3783610379be4c5676d9236cf66276a166b5b96c18f2759e9b219758959b6b">\n+                          https://depot.galaxyproject.org/software/reshape2/reshape2_1.4.2.tar.gz\n+                      </package>\n+                      <package sha256sum="642b88fb1fce7bac72a0038ce532b65b8a79dffe826fec25033cf386ab630cd3">\n+                          https://depot.galaxyproject.org/software/scales/scales_0.4.1.tar.gz\n+                      </package>\n+                      <package sha256sum="51a74de64296d7cbed04a015a9f9725de95adb5e04301d1cd58190d7365fb104">\n+                          https://bioarchive.galaxyproject.org/biomaRt_2.31.3.tar.gz\n+                      </package>\n+                      <package sha256sum="801e4869830ff3da1d38e41f5a2296a54fc10a7419c6ffb108582850c701e76f">\n+                          https://depot.galaxyproject.org/software/gtable/gtable_0.2.0.tar.gz\n+                      </package>\n+                      <package sha256sum="ed8a8bd0591223f742be80fd1cd8c4a9618d0f04011ec95c272b61ea45193104">\n+                          https://depot.galaxyproject.org/software/tibble/tibble_1.2.tar.gz\n+                      </package>\n+                      <package sha256sum="13738f55b2044184fe91f53d17516a445dfb508227527921218cda6f01f98dcb">\n+                          https://depot.galaxyproject.org/software/lazyeval/lazyeval_0.2.0.tar.gz\n+                      </package>\n+                      <package sha256sum="8097ec0e4868f6bf746f821cff7842f696e874bb3a84f1b2aa977ecd961c3e4e">\n+                          https://depot.galaxyproject.org/software/gdata/gdata_2.17.0.tar.gz\n+                      </package>\n+                      <package sha256sum="d32a73febf00930355cc00f3e4e71357412e0f163faae6a4bf7f552cacfe9af4">\n+                          https://depot.galaxyproject.org/software/caTools/caTools_1.17.1.tar.gz\n+                      </package>\n+                      <package sha256sum="1363645a9a128f6'..b'           <package sha256sum="d89db98ea1025e38d59daeff965dd8174bbb94a961cb966a83760ac1a87a36b8">\n+                          https://depot.galaxyproject.org/software/reshape/reshape_0.8.6.tar.gz\n+                      </package>\n+                      <package sha256sum="d999620688354c283de5bb305203f5db70271b4dfdc23577cae8c2ba94c9e349">\n+                          https://depot.galaxyproject.org/software/quadprog/quadprog_1.5-5.tar.gz\n+                      </package>\n+                      <package sha256sum="cd26dbd60b2e2060541c4bb579ec1e0f6c262501431460b096b5fef323204432">\n+                          https://bioarchive.galaxyproject.org/GEOquery_2.41.0.tar.gz\n+                      </package>\n+                      <package sha256sum="bee70645c7cc88250761092762a9d293b4644f311047baecf49fde766d3059bc">\n+                          https://bioarchive.galaxyproject.org/Biobase_2.35.0.tar.gz\n+                      </package>\n+                      <package sha256sum="c6133611cc991dfc17410d06a9ddcc6dcff0153bceffdf7d5a9b7dc42f31afa6">\n+                          https://depot.galaxyproject.org/software/org.Hs.eg.db/org.Hs.eg.db_3.4.0.tar.gz\n+                      </package>\n+                      <package sha256sum="cf61732ef9b38ecb6579055d1cd145198ad23a5a9ae4378f94a1494e6c56c884">\n+                          https://depot.galaxyproject.org/software/data.table/data.table_1.10.0.tar.gz\n+                      </package>\n+                      <package sha256sum="d47be4430a1c343c20f9d3f67b8511506904e46be13ea4199769f012f1449209">\n+                          https://depot.galaxyproject.org/software/GO.db/GO.db_3.4.0.tar.gz\n+                      </package>\n+                      <package sha256sum="dfccd4b4d6ec90cd7628fd128d2456d792f406cee4d32b13448dcb0ffe4ab056">\n+                          https://depot.galaxyproject.org/software/NMF/NMF_0.20.6.tar.gz\n+                      </package>\n+                      <package sha256sum="7fa594d9576592e393283ec4fc79fd72128f663bd516e05651957ce1e6fe3c38">\n+                          https://depot.galaxyproject.org/software/colorspace/colorspace_1.3-1.tar.gz\n+                      </package>\n+                      <package sha256sum="31151eaf36f70bdc1172da5ff5088ee51cc0a3db4ead59c7c38c25316d580dd1">\n+                          https://depot.galaxyproject.org/software/dichromat/dichromat_2.0-0.tar.gz\n+                      </package>\n+                      <package sha256sum="7a4957c66ff622d7d1456adfbb728c60d406cdb2a754979797f9dcb0dc8fee99">\n+                          https://depot.galaxyproject.org/software/fastmatch/fastmatch_1.0-4.tar.gz\n+                      </package>\n+                      <package sha256sum="5183e8dd7943df11c0f44460566adf06c03d5320f142699298f516d423b06ce1">\n+                          https://depot.galaxyproject.org/software/irlba/irlba_2.1.2.tar.gz\n+                      </package>\n+                      <package sha256sum="19ad78c16bd5757333e7abbd5eebcec081deb494c9a4b6eec6919a3747b3386f">\n+                          https://depot.galaxyproject.org/software/pkgmaker/pkgmaker_0.22.tar.gz\n+                      </package>\n+                      <package sha256sum="58a5c43b8012ca5e509fa29a8daf6f24f097b8eb021a723f6a9c33db1dd3f430">\n+                          https://depot.galaxyproject.org/software/registry/registry_0.3.tar.gz\n+                      </package>\n+                      <package sha256sum="27019835b750f470b13dbb7fecd3b839a61b52774e23fffa191f919533768fb9">\n+                          https://depot.galaxyproject.org/software/rngtools/rngtools_1.2.4.tar.gz\n+                      </package>\n+                      <package sha256sum="605aa3643588a2f40a942fa760b92662060a0dfedb26b4e4cd6f1a78b703093f">\n+                          https://depot.galaxyproject.org/software/FDb.InfiniumMethylation.hg19/FDb.InfiniumMethylation.hg19_2.2.0.tar.gz\n+                      </package>\n+                  </action>\n+              </actions>\n+              </install>\n+            </tool_dependency>\n'