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

Changeset 7:3eb1073638d7 (2017-02-06)
Previous changeset 6:6bcb498025c1 (2017-02-06) Next changeset 8:5e1d49abfc99 (2017-02-06)
Commit message:
Deleted selected files
removed:
getGSMdata.R
getGSMdata.xml
tool_dependencies.xml
b
diff -r 6bcb498025c1 -r 3eb1073638d7 getGSMdata.R
--- a/getGSMdata.R Mon Feb 06 05:09:40 2017 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
[
@@ -1,20 +0,0 @@
-require("rentrez", quietly = TRUE)
-
-args <- commandArgs(trailingOnly = TRUE)
-GSE = args[1]
-GSMTable = args[2]
-
-search1 <- entrez_search(db = "gds", term = GSE, retmax = 1)
-
-rec2 <- entrez_summary(db = "gds",
-                       id = search1$ids,
-                       version = "2.0")
-
-extract <- extract_from_esummary(rec2,rownames(summary(rec2)))
-
-samples <- extract$samples
-colnames(samples)[which(names(samples) == "accession")] <- "ID"
-colnames(samples)[which(names(samples) == "title")] <-  "Phenotype"
-
-write.table(samples, GSMTable, row.names = FALSE, sep = "\t",quote = FALSE)
-
b
diff -r 6bcb498025c1 -r 3eb1073638d7 getGSMdata.xml
--- a/getGSMdata.xml Mon Feb 06 05:09:40 2017 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
@@ -1,37 +0,0 @@
-<tool id="GSM" name="getGSMdata" version="1.16.2">
-  <requirements>
-<tool_dependency>
-    <package name="methyldata_1_16_2" version="1.16.2">
-        <repository name="methyldata_1_16_2" owner="testtool" prior_installation_required="True" />
-    </package>
-</tool_dependency>
-</requirements>
-<stdio>
-   <exit_code range="1:" />
-</stdio>
-  <command> Rscript $__tool_directory__/getGSMdata.R "$GSE" "$GSMTable" </command>
-  <inputs>
-     <param name="GSE" type="text" value="" label="Enter GSE ID." help="e.g. 'GSE51547'"/>
-  </inputs>
-  <outputs>
-    <data format="txt" name="GSMTable" 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="GSMTable" label="test-data/GSMTable.txt"/>
-        </test>
-    </tests>
-  <help>
-**Description**
-</help>
-<citations>
-GEO
-</citations>
-</tool>
b
diff -r 6bcb498025c1 -r 3eb1073638d7 tool_dependencies.xml
--- a/tool_dependencies.xml Mon Feb 06 05:09:40 2017 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<tool_dependency>
-    <package name="methyldata_1_16_2" version="1.16.2">
-        <repository changeset_revision="ea44a0861444" name="methyldata_1_16_2" owner="testtool" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
-    </package>
-</tool_dependency>