Graph Track Operators
Be sure to look at the user guide pages linked here. Skim them to make sure that the topics they cover are represent here (if not add points here as needed). Read enough to ensure that the instructions and explanations are clear, and the page has accurate information and generally appears up-to-date.
Get the graph track operations test file. There is probably a copy in the code base in the test sources in the Track Operations module.
You can just paste this into a text file, or download it from here: TrackOperationsTesting1.bedgraph
# genome_version = A_thaliana_Jun_2009
track type=bedgraph name="TrackOperationsTesting1" description="Even numbers" color=0,128,0
Chr1 0 245144 0
Chr1 245144 735432 2
Chr1 735432 1470864 4
Chr1 1470864 2206296 8
Chr1 2206296 3186872 16
Chr1 3186872 3922304 20
Chr1 3922304 4412592 14
Chr1 4412592 4657736 20
Chr1 4657736 5148024 10
Chr1 5148024 5393168 6
Chr1 5393168 5638312 6
Chr1 5638312 5883456 4
Chr2 0 245144 2
Chr2 245144 490288 2
Chr2 490288 735432 2
Chr2 735432 1225720 4
Chr2 1225720 1470864 4
Chr2 1470864 1716008 8
Chr2 1716008 2206296 8
Chr2 2206296 186872 16
Chr2 3186872 3922304 20
Chr2 3922304 4167448 14
Chr2 4167448 4412592 0
Chr2 4412592 4657736 20
Chr2 4657736 4902880 10
Chr2 4902880 5148024 10
Chr2 5148024 5393168 6
Chr2 5393168 5638312 0
Chr2 5638312 5883456 0
Add the track operations test file. You can do this without selecting any genome, just drag/drop the file onto the home screen. Change the Load Mode to Genome. In the Graph panel, under Options, select StairStep.
You may need to adjust the y-axis scale for each graph track. |
Go to the Graph panel, and select the Even Numbers track.
Go to the Data Access panel and remove each of the tracks you created.
Go to the Graph panel, and select the Even Numbers track.
Go to the Data Access panel and remove each of the tracks you created. Return to the Graph panel, and select the Even Numbers track.
Go to the Graph panel, and select the Even Numbers track.
Select all three of these tracks; hold the shift key and click on each. With all three selected, do the following:
Select the Even Numbers track and the Inverse: Inverse: Even Numbers track.
Select all tracks and choose StairStep.
Deselect all tracks. Select:
In the Graph panel, set the Y Axis Scale to:
Deselect all. See that the tracks make hills and valleys. The inverse tracks show the opposite trends as the non-inverse or double-inverse tracks.
Select the track called Diff Even Numbers, Inverse: Inverse: Even Numbers
Observe that:
Go to the Graph panel, and select the Even Numbers track.
Set all created tracks to Stairstep. See image.
Verify that the created tracks look identical to the even number track (as demonstrated in the picture).
Go to the Data Access panel and remove each of the tracks you created.
Add the track operations test file. You can do this without selecting any genome, just drag/drop the file onto the home screen. Change the Load Mode to Genome.
Make the Odd Numbers track:
Remove the track with the yellow highlight. The two TrackOperationsTest files are what you will use to test the Multi-Track Operations.
You should have two tracks, one with all even numbers and one with all odd. If not, see section Saving a Track.
Select the Odd Numbers track, hold shift and select the Even numbers track (be sure to select the blue odd numbers first).
In the Graph panel, under Operations, under Multi-Graph, select the first option, and hit go; select the second and hit go. Do this for each operation, and then verify the following points. The values for each operation are given for the range that is 16 in the original Even Numbers file.
For some operations, the order matters. So now select the Even Numbers track first, hold shift, and select the Odd Numbers track. Produce the tracks to verify the following:
For this test, we will use files from the QuickLoad site.
To mimick the images exactly (optional):
Users Guide
Reviewed the users guide pages. Each page has accurate information and generally appears up-to-date.