Hi Joachim,
For your first question, please find the following line in
cgi-bin/martservice.PLS, under 'run_query' function:
if ($query->header && $query->header eq '1') {
Then you can add:
print $CGI->header();
right before it.
For the second question about pop-up message in Ensembl Genome Browser, please
contact Ensembl team at [email protected].
Hope this helps, let us know if you have further questions.
Best regards,
Junjun
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Junjun Zhang
> Sent: Monday, October 26, 2009 6:00 PM
> To: Joachim Baran; [email protected]
> Subject: RE: [mart-dev] HTML output in MartService
>
> Hi Joachim,
>
> We are looking into the problems and will get you back soon.
>
> Thanks for your patience.
>
> Junjun
>
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of Joachim Baran
> > Sent: Saturday, October 24, 2009 12:05 PM
> > To: [email protected]
> > Subject: [mart-dev] HTML output in MartService
> >
> > Hello!
> >
> > I am using MartService to output the result of query, but
> instead of
> > TSV I am outputting HTML.
> >
> > The query is
> > http://www.biomart.org/biomart/martservice?query=%3C?xml%20ver
> > sion=%221.0%22%20encoding=%22UTF-8%22?%3E%3C!DOCTYPE%20Query%3
> > E%3CQuery%20%20virtualSchemaName%20=%20%22default%22%20formatt
> > er%20=%20%22HTML%22%20header%20=%20%221%22%20uniqueRows%20=%20
> > %220%22%20count%20=%20%22%22%20datasetConfigVersion%20=%20%220
> > .7%22%20%3E%3CDataset%20name%20=%20%22hsapiens_gene_ensembl%22
> > %20interface%20=%20%22default%22%20%3E%3CFilter%20name%20=%20%
> > 22chromosome_name%22%20value%20=%20%22Y%22/%3E%3CFilter%20name
> > %20=%20%22ensembl_gene_id%22%20value%20=%20%22ENSG00000234830%
> > 22/%3E%3CAttribute%20name%20=%20%22ensembl_gene_id%22%20/%3E%3
> > CAttribute%20name%20=%20%22ensembl_transcript_id%22%20/%3E%3C/
> > Dataset%3E%3C/Query%3E
> >
> > Unfortunately, my browsers (Firefox and Safari) render the
> output as
> > plain text. Is there a tweak to make the browsers interpret
> the result
> > as HTML?
> >
> > On an unrelated note, has someone experience with
> displaying formatted
> > data in the pop-ups in the Ensembl Genome Browser from exported
> > attributes using BioMart's DAS server? For example, when
> clicking on
> > the Ensembl/Havana genes in the region view, I get a pop up
> telling me
> > the gene ID/transcript ID with corresponding link-outs. Is
> it possible
> > to do something like this using BioMart/DAS?
> >
> > BW,
> > Joachim
> >
> > --
> > B.1079 Michael Smith Building
> > Faculty of Life Sciences
> > The University of Manchester
> > Oxford Road
> > Manchester
> > M13 9PT
> > United Kingdom
> >
>