Skip to content

Commit

Permalink
dynamic bed
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaof committed Apr 28, 2020
1 parent 980814d commit d5fbdb0
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 1 deletion.
Binary file added docs/_static/dy13.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/dy14.gif
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/dy15.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/dy16.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/dy17.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 56 additions & 1 deletion docs/dynamic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Dynamic Tracks
==============

Dynamic tracks is a new track type in the Browser to show dynamics of data as animations.
Currently numerical data and HiC chromatin interaction data can be visualized with this new track type.
Currently annotation features (``bed``), numerical data (``bigWig``, ``bedgraph``) and chromatin interaction data (like HiC) (``hic``, ``longrange``) can be visualized with this new track type.

Use dynamic bedgraph format
---------------------------
Expand Down Expand Up @@ -184,6 +184,61 @@ Check the animated version below:

.. image:: _static/dy9.gif

Make dynamic longrange chromatin interaction track
--------------------------------------------------

``longrange`` chromatin interaction tracks can also be used to make dynamic tracks.
First, load more than 1 ``longrange`` track, select all of them while holding `Shift` key, right click on the selction, and choose *Dynamic Longrange*:

.. image:: _static/dy13.png

The new dynamic interaction track will be added, an animated version is displayed below:

.. image:: _static/dy14.gif

Make Dynamic bed track for annotation data
------------------------------------------

``bed`` tracks can also be made to be dynamic. Load more than 1 ``bed`` track in the browser, select all of them
while holding `Shift` key, right click, and choose *Dynamic bed* button:

.. image:: _static/dy15.png

a new ``dynamicbed`` track will be added, right click on it will give you the configuration options:

.. image:: _static/dy16.png

An animated version is displayed below:

.. image:: _static/dy17.gif

Make dynamic bed track using data hub
-------------------------------------

The dynamic bed track shown above can also be submitted using data hub function, prepare a datahub file like below, and submit it as a remote data hub:

.. code-block:: json
[
{
"type": "dynamicbed",
"name": "dynamic bed",
"showOnHubLoad": true,
"tracks": [
{
"type": "bed",
"url": "https://vizhub.wustl.edu/public/misc/dynamicTrack/bed/peak1.bed.gz",
"name": "peak1"
},
{
"type": "bed",
"url": "https://vizhub.wustl.edu/public/misc/dynamicTrack/bed/peak2.bed.gz",
"name": "peak2"
}
]
}
]
Dynamic track options
---------------------

Expand Down

0 comments on commit d5fbdb0

Please sign in to comment.