Hi Jan,

There is a JSON formatter available in Biomart v0.8, check here:

http://www.biomart.org/   and follow the link Version 0.8

The link that you are looking at is a forked and subsequently modified
version of Biomart 0.7 (strictly for recreational purposes :D ), so please
refrain from using that. Both v0.7 and v0.8 are available through the above
mentioned biomart website.

Best,
Syed


On 11 October 2012 03:15, Mountain Man <[email protected]> wrote:

> Hi Syed,
>
> I've seen quite a few Biomart Formatters, but unfortunately none for JSON.
>
> Do you have some hints on how to get JSON returned from biomart ? I did
> not find any useful info in the archives
> ( I came a cross a processor="JSON" statement but I'm unsure if that's the
> right way ).
>
>
> http://code.google.com/p/massspecdb/source/browse/trunk/code/biomart-perl/lib/BioMart/Formatter/
>
> I'm looking for something like a BioMart::Formatter::JSON module which
> returns my response as JSON string, with the attribute name as key.
>
> My current query looks like this :
>
> /martservice?query=<Query  virtualSchemaName = "default"  formatter="CSV"
> header = "0" uniqueRows = "0" count = "" datasetConfigVersion = "0.6"
> >                 <Dataset name = "hsapiens_gene_ensembl" interface =
> "default" > <Filter name = "gene_id" value = "GeneID:0001"/> <Attribute
> name = "gene_id" /> <Attribute name = "external_gene_id" />  <Attribute
> name = "chromosome_name" /> <Attribute name = "strand" /> <Attribute name =
> "start_position" /> <Attribute name = "end_position" /><Attribute name =
> "description" /> <Attribute name = "canonical_transcript_stable_id" />
> <Attribute name = "ccds" /> </Dataset> </Query>
>
> Is there a way to tune this to get JSON or do I have to write my very own
> Biomart::Formatter::JSON for this ? If so, do you have any hints and do I
> have to register it somewhere so it get's called ?
>
> Any hint welcome,
>
>    Jan
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> https://lists.biomart.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
https://lists.biomart.org/mailman/listinfo/users

Reply via email to