Question: Sending Data To Gbrowse
0
Jelle Scholtalbers • 360 wrote:
Hi,
I would like to be able to send data to my GBrowse2.0 instance. I have
been trying some things based on the Epigraph tool but I can't seem to
get it work. Below is a mail from Lincoln that was send to the GBrowse
mailinglist about how to send data to GBrowse.
If its possible, how should I configure the tool?
Cheers,
Jelle
In version 2.0 it is relatively easy. POST to the GBrowse URL
(including the
datasource part of the URL) with the following parameters:
- action="upload_file"
- file=
- upload_id=<any numeric="" id="" of="" your="" choosing="">
- id=<the id="" of="" the="" user="" that="" you="" are="" uploading="" to="">
Alternatively to providing the "file" argument you can provide a
"data"
argument with the uploaded data provided directly.
The "id" argument indicates the id of the user that you are uploading
for.
You can get this ID by bookmarking a page -- the "id" parameter
records the
info. Alternatively, if you don't provide an ID, GBrowse will generate
it
for you and return the ID in the response cookie, in an argument
called
"gbrowse_sess".
If you have administrator's mode enabled, then you can provide the ID
of the
administrator and the uploaded file will become part of the public set
of
tracks.
Lincoln
ADD COMMENT
• link
•
modified 8.7 years ago
by
Greg Von Kuster ♦ 810
•
written
8.7 years ago by
Jelle Scholtalbers • 360