I am following this website to get help regarding connection to cravat.us
with this website I have to connect so that I can submit job without opening my browser. in this website I am looking for web services section.
http://www.cravat.us/help.jsp?chapter=how_to_cite&article=
See the Image to understand the instructions :
https://drive.google.com/file/d/0B6DXP2pIxiX7R01JbmZtQ2RoMlk/edit?usp=sharing
They said create JSON object and all, I have create JSON object:
{
"analysis": "CHASM",
"analysistype" : "driver",
"chasmclassifier" : "Head and Neck",
"email" : "dokadya@gmail.com"
"functionalannotation" : "on",
"hg18" : "off",
"inputfile" : "/media/storage1/SAMPLE_NAME_1.cravat",
"mupitinput" : "on",
"tsvreport" : "on"
}
How can i upload file ? Can I use just path to upload ?
What kind of script I have to write ? HTML form? PERL ?
See the link for my perl file:
https://drive.google.com/file/d/0B6DXP2pIxiX7eF9tWTZ5VDBoTzg/edit?usp=sharing
Like this I have created file but its not working. Please guide me.
Waiting for positive reply.
Thank You.
Chetan
Thank You for kind reply.
I have got following error:
I am also using proxy setting in your script.
Hi Chetan,
I looked at your perl script. The classifier name should be "Head-and-Neck" (as shown in http://www.cravat.us) instead of "Head and Neck" and I could run the script only by removing the proxy setup command.
Rick