Skip to content

Commit

Permalink
Merge pull request #26 from xzhuo/master
Browse files Browse the repository at this point in the history
Add a comparative browser adding tracks tutorial
  • Loading branch information
lidaof committed Jan 12, 2023
2 parents d99038c + 8ce3bb9 commit 9388e45
Show file tree
Hide file tree
Showing 15 changed files with 68 additions and 2 deletions.
Binary file added docs/_static/comparative/10_Zoomin.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/comparative/11_ZoominDrag.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/comparative/12_Promoter.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/comparative/1_Start.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/comparative/2_AddRemoteTrack.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/comparative/3_AddLocalTrack.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/comparative/4_allTracks.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/comparative/5_Reorder.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/comparative/6_AfterReorder.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/comparative/7_Navigation.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/comparative/8_Spp2Gene.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/comparative/9_Zoomout.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions docs/comparativeBrowser.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Comparative Browser
===================
The Comparative Epigenome Browser
=================================

Landing page
------------
Expand All @@ -16,12 +16,15 @@ Select Reference genome and secondary genomes
Species selection tool allows users to select multiple species.

* The WashU Comparative Epigenome Browser requires a reference genome, which all the other genomes will be compared to. Available assemblies can be found in the dropdown menu:

.. image:: _static/comparative/widget_1.png

* After selecting the reference genome, users can select secondary genomes available to the reference genome. In the following example, hg38 is the reference genome, mm10 and panTro6 are selected as secondary genomes:

.. image:: _static/comparative/widget_2.png

* With all the desired genomes selected, click "save selection" and a temporary datahub will be generated. Once it is ready, click the datahub link under "OPEN IN WASH U EPIGENOME BROWSER" and a new browser view will be opened in a new tab:

.. image:: _static/comparative/widget_3.png

Organizing tracks on the WashU Epigenome Browser
Expand Down
62 changes: 62 additions & 0 deletions docs/comparativeBrowserAddTracks.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
Add data tracks to the Comparative Epigenome Browser
====================================================

Add new tracks to the Comparative Epigenome Browser
---------------------------------------------------
With genome-align track loaded, we can start loading data into it, and then we can start to do some analysis.
Here we have human genome hg38 as the reference genome, mouse mm10 as the secondary genome. We also have gene and repeat annotations mapped to both genomes:

.. image:: _static/comparative/1_Start.png

Now we can start loading our data. We can load our data from the local file system, or we can load it from a URL.

Let's start loading our data from the URL. Please click Tracks -> remote Tracks:
We are using a humna Liver RNA-seq data from ENCODE (https://www.encodeproject.org/files/ENCFF861FSP/@@download/ENCFF861FSP.bigWig) in the demo.

.. image:: _static/comparative/2_AddRemoteTrack.png

Next let's load our data from the local file system. Please click Tracks -> Local Tracks:
The track file is downloaded from ENCODE (https://www.encodeproject.org/files/ENCFF798FMB/@@download/ENCFF798FMB.bigWig) and renamed MouseLiverRNA-seq.bigWig.
We will specify the track type as bigWig, and the track is mapped to mm10. Click "Choose Files" to select the file.

.. image:: _static/comparative/3_AddLocalTrack.png

Now we have liver RNA-seq data from both human and mouse loaded at the bottom of the window:
.. image:: _static/comparative/4_AllTracks.png

Organizing all the tracks in the browser
----------------------------------------
To better compare the data, we can reorder the tracks. We like to group the tracks by species and separated by the genome-align track. Please click the "Reorder tool", and drag the human track on the top of the genome-align track:
.. image:: _static/comparative/5_Reorder.png

After reodering, the human track is between the human repeatMasker track and the hg38-mm10 genome-align track:
.. image:: _static/comparative/6_AfterReorder.png

Navigation in the browser
-------------------------
The browser allows navigation in the reference genome using either gene name, SNP, or coordinates directly. Please click the coordinates box on the top to enter the navigation window. Let's navigate to the gene "SPP2":

.. image:: _static/comparative/7_Navigation.png

The browser window should display SPP2 gene now:

.. image:: _static/comparative/8_SPP2Gene.png

Using tools to zoom in and out
------------------------------
We can use buttons on the top "tools" to zoom in and out. There are different buttons to zoom in or out with different resolution or pan left/right. To zoom out one time, click the "-1" button:

.. image:: _static/comparative/9_Zoomout.png

It is possible to zoom in using the "Zoom-in tool" button. Click it, and use the mouse to drag span a region to zoom in:

.. image:: _static/comparative/10_Zoomin.png

To zoom in into the SPP2 gene's promoter region:

.. image:: _static/comparative/11_ZoominDrag.png

Now the window is zoomed in to the SPP2 gene's promoter region:

.. image:: _static/comparative/12_Promoter.png

1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ WashU Epigenome Browser
installation
add
comparativeBrowser
comparativeBrowserAddTracks
faq
contact

Expand Down

0 comments on commit 9388e45

Please sign in to comment.