Changes between Version 8 and Version 9 of xQTLBioinformaticianScript


Ignore:
Timestamp:
2011-09-14T14:57:14+02:00 (13 years ago)
Author:
danny
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • xQTLBioinformaticianScript

    v8 v9  
    112112* Run Plink system call inside R: `plink --noweb --file hapmap1 --assoc --out results`[[BR]]
    113113* Upload '''results.assoc''' back in database. (use servlet `/uploadfile`)
     114
     115
     116=== User script for plink analysis ===
     117
     118{{{
     119inputname <- getparameter("inputname",jobparams)
     120 
     121system(paste("wget ",paste(dbpath,"/downloadfile",sep=""),"?name=",inputname,"_ped -O ",inputname,".ped",sep=""))
     122report(2,"PEDDownloaded")
     123system(paste("wget ",paste(dbpath,"/downloadfile",sep=""),"?name=",inputname,"_map -O ",inputname,".map",sep=""))
     124report(2,"MAPDownloaded")
     125system(paste("plink --noweb --file ",inputname," --assoc --out ",outname,"",sep=""))
     126report(2,"beforeUpload")
     127postForm(paste(dbpath,"/uploadfile",sep=""),investigation_name='",investigationname,"', name='",outname,".assoc', type = 'InvestigationFile', file = fileUpload(filename='",outname,".assoc'), style='HTTPPOST')
     128report(3,"PLINKfinished")
     129}}}