...
You can control IGB from scripts, which are text files containing simple commands for navigation, loading data, and making snapshots.
...
- Open a script file using File > Open. Script files should end with .igb.
- Click an IGB script link. See: Controlling IGB using IGB Links
- Drag and drop a script file into an open IGB windowjp
...
- window.
Syntax
The script file has a simple, space-delimited syntax. Each command should occupy a separate line.
Commands
Bring IGB to front
Code Block |
---|
bringToFront |
Bring the IGB window to the front of the user's desktop.
...
Open a genome version
Code Block |
---|
genome <version> |
...
Go to a region of a chromosome (e.g., "chr1:40000-60000" or "chr1:40,000-60,000"). Commas are optional. Any region format accepted by the IGB quick search text entry (top left corner) is acceptable.
...
Hide a track
Code Block |
---|
hidetrack <file or URL> |
Hide the track. Accepts one or more comma separated files identified by full path or URL.
Add a new data set to IGB's list of active data sets
...
Code Block |
---|
# select genome genome A_thaliana_Jun_2009 # go to a region in chr4 # commas are optional goto chr4:8,860,484-8,872,096 # load a file load http://igbquickload.org/quickloadrnaseq/A_thaliana_Jun_2009/cold_stress/cold_control.smSRP029896/ColdControl.bam # load the data refresh |
...
https://gist.github.com/Hillrunner2008/25976458488b65a3a25b
...