| | 114 | |
| | 115 | |
| | 116 | === User script for plink analysis === |
| | 117 | |
| | 118 | {{{ |
| | 119 | inputname <- getparameter("inputname",jobparams) |
| | 120 | |
| | 121 | system(paste("wget ",paste(dbpath,"/downloadfile",sep=""),"?name=",inputname,"_ped -O ",inputname,".ped",sep="")) |
| | 122 | report(2,"PEDDownloaded") |
| | 123 | system(paste("wget ",paste(dbpath,"/downloadfile",sep=""),"?name=",inputname,"_map -O ",inputname,".map",sep="")) |
| | 124 | report(2,"MAPDownloaded") |
| | 125 | system(paste("plink --noweb --file ",inputname," --assoc --out ",outname,"",sep="")) |
| | 126 | report(2,"beforeUpload") |
| | 127 | postForm(paste(dbpath,"/uploadfile",sep=""),investigation_name='",investigationname,"', name='",outname,".assoc', type = 'InvestigationFile', file = fileUpload(filename='",outname,".assoc'), style='HTTPPOST') |
| | 128 | report(3,"PLINKfinished") |
| | 129 | }}} |