Skip to content

Commit

Permalink
add g3d docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaof committed Nov 13, 2019
1 parent 376ecdb commit c5bc338
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
Binary file added docs/_static/g3d_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/g3d_2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/g3d_3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/datahub.rst
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,17 @@ Example matplot track
]
}
Example g3d track
-------------------------

.. code-block:: json
{
"type": "g3d",
"url": "https://wangftp.wustl.edu/~dli/tmp/test.g3d",
"name": "example 3d track",
"showOnHubLoad": true
}
Example Ruler track
--------------------
Expand Down
21 changes: 21 additions & 0 deletions docs/tracks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -443,3 +443,24 @@ Right click, and choose *Apply matplot* button, The new matplot track will be sh
and it also supports many configurations:

.. image:: _static/mat3.png

3D genomic structure track
--------------------------

3D genomic structure data can also be displayed at the browser. We developed the flexiable file format called .g3d, documentations
for how to prepare .g3d file is available at `g3dtools documentation <https://g3d.readthedocs.io/en/latest/g3dtools.html>`_.

G3d files can be submitted as custom tracks from ``Tracks -> Custom Tracks``, or using a datahub. Right cilck the g3d track
allows you to customize the background color, height, resolution and data region properties.

change resolution

.. image:: _static/g3d_1.png

change data region/Source

.. image:: _static/g3d_2.png

display of 3D genomic structure, unselect any Tools, use mouse to zoom in/out, rotate the structure.

.. image:: _static/g3d_3.png

0 comments on commit c5bc338

Please sign in to comment.