On 7-Apr-08, at 6:01 AM, Isabelle Phan wrote:

Hi Arek

I tried that before and used 'Save page as...' and got this:

<html>
<head>
<title>BioMart - MartView</title>

<link rel="stylesheet" type="text/css" href="/biomart/mview/ martview.css" />

<script src="/biomart/mview/js/martview.js" type="text/javascript" ></script>

</head>


I can use copy/paste, but I think it would be better if Biomart sent back a proper XML with mime-type set to application/xml (e.g. like http://beta.uniprot.org/uniprot/P12345.xml )


hmm ... i meant try to follow the instructions on http://www.biomart.org/martservice.html ei

compile your query using MView, click 'XML' button, save this to a file (eg. myquery.xml) and then
run the following script

http://cvs.sanger.ac.uk/cgi-bin/viewcvs.cgi/*checkout*/biomart-perl/scripts/webExample.pl?content-type=text%2Fplain&rev=1.3&root=BioMart
(you can save it as myscript.pl)

on the commandline with myquery.xml as an argument.

ei

perl myscript.pl myquery.xml


this is supposed to give you tab delimited data exactly as in in the output of MView result pannel (you can of course optionally set it to html or fasta as an output format)

or did i misunderstand the problem?

a.




I.

Arek Kasprzyk wrote:
Hi Isabelle,
perhaps you can consider using our webservices for your examples, This does not need
anything to be installed, very easy to use and you get data faster?
We have a very simple example perl script which does not need any modifications nor it needs any dependencies either


--
Isabelle Phan, D.Phil.
Swiss Institute of Bioinformatics         Tel: (+41 22) 379 51 89
CMU - 1, rue Michel Servet                Fax: (+41 22) 379 58 58
CH - 1211 Geneva 4 Switzerland            email: [EMAIL PROTECTED]

Reply via email to