# HG changeset patch # User taoufik # Date 1545908064 18000 # Node ID cf862e6a6ddb96720e9019e13d43592ba2a7459e Uploaded diff -r 000000000000 -r cf862e6a6ddb query_microarray_datasets/GetDatasets.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/query_microarray_datasets/GetDatasets.R Thu Dec 27 05:54:24 2018 -0500 @@ -0,0 +1,27 @@ +log_file=file("Query_Geo_Database.log", open = "wt") +sink(log_file) +sink(log_file, type = "out") +suppressWarnings(suppressMessages(library("batch"))) +suppressWarnings(suppressMessages(library(GEOquery))) +listArguments = parseCommandArgs(evaluate=FALSE) +GeoCode=listArguments[["GeoCode"]] +GeoCode=toupper(GeoCode) +gethelp.df =tryCatch(eList <- getGEOSuppFiles(GeoCode), error = function(cond)"skip") +if(is.null(gethelp.df)){ + gethelp.df =tryCatch(eList <- getGEOSuppFiles(GeoCode), error = function(cond)"skip") +} +if(is.null(gethelp.df)){ + print('GeoCode with no raw data, choose another code or retry.') +}else{ + if(is.data.frame(gethelp.df)==TRUE){ + rawdata=rownames(eList)[grep('RAW',rownames(eList))][1] + untar(rawdata, exdir = 'CEL') + }else{ + if(gethelp.df=="skip"){ + print('Network Trouble Try Again Or Check your GeoCode') + }else{ + print('GeoCode with no raw data, choose another code or retry.') + } + } +} + diff -r 000000000000 -r cf862e6a6ddb query_microarray_datasets/Get_Datasets.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/query_microarray_datasets/Get_Datasets.xml Thu Dec 27 05:54:24 2018 -0500 @@ -0,0 +1,97 @@ + + Query Gene Expression Omnibus (GEO) Database using accession code. + + r-base + r-batch + bioconductor-geoquery + + + + + + + + + + + + + + + + + + + + + + +.. class:: infomark + +**Authors** Bensellak Taoufik bensellak.taoufik@gmail.com, El Messaoudi Idrissi Mohcine mohcine.elmessaoudi@gmail.com , Ahmed Moussa ahmed.moussa2@gmail.com . + +--------------------------------------------------- + +================================================================== +Query Gene Expression Omnibus (GEO) Database. +================================================================== + +----------- +Description +----------- + +This tool is used for querying Gene Expression Omnibus Database. + +**GEO accession** + +GEO Accession code + +----------------- +Workflow position +----------------- + +**Upstream tools** + ++------------------------+------------------+--------+-----------+ +| Name | output file |format | parameter | ++========================+==================+========+===========+ +| NA | NA | NA | NA | ++------------------------+------------------+--------+-----------+ + + +**Downstream tools** + ++-----------------------------------------------+------------------------------------------------+------------+ +| Name | Output file | Format | ++===============================================+================================================+============+ +| Create Desig | DataSet.Design.tsv,DataSet.Informations.RData | tsv,RData | ++-----------------------------------------------+------------------------------------------------+------------+ + +----------- +Input files +----------- + ++---------------------------+------------+ +| Parameter : num + label | Format | ++===========================+============+ +| GEO accession | String | ++---------------------------+------------+ + +------------ +Output files +------------ + +**Set of raw samples** + +------------------------------ +General schema of the workflow +------------------------------ + +.. image:: ./workflow.jpg + :height: 800 + :width: 700 + + + diff -r 000000000000 -r cf862e6a6ddb query_microarray_datasets/images/workflow.jpg Binary file query_microarray_datasets/images/workflow.jpg has changed