- Bring IGB to front
- Open a genome version
- Go back to the IGB start screen.
- Go to a region
- Hide a track
- Add a new data set to IGB's list of active data sets
- Remove a data set from IGB's list of active data sets
- Change the load mode for an active (opened) data set
- Load data from currently active data sets
- Make images
- Select genes
- Wait (sleep) for commands to finish
You can control IGB from scripts, which are text files containing simple commands for navigation, loading data, and making snapshots.
To run an IGB script:
- 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 window.
The script file has a simple, space-delimited syntax. Each command should occupy a separate line.
Bring IGB to front
Bring the IGB window to the front of the user's desktop.
Open a genome version
Open genome version (e.g., H_sapiens_Mar_2006). Any genome version or synonym that's accepted by IGB is accepted here.
Go back to the IGB start screen.
Return to the IGB start screen.
Go to a region
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
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
Load the specified file (identified by full path) or URL into IGB. The data set will appear in the user's Data Management table upon completion.
Remove a data set from IGB's list of active data sets
Change the load mode for an active (opened) data set
Change the load mode for the specified data set or file, identified by full path.
Load data from currently active data sets
This is equivalent to clicking the Load Data button in IGB. This triggers loading of data from the active data sets available in IGB, as specified in the load command.
Export the entire frame, main view, main view with labels, or sliced view, respectively, to a PNG format file. You must include the full path to the file or IGB will write the file to the location from where you launched IGB.
The filename defaults to "<genome_version><timestamp>.png" if not specified.
Selects the given gene IDs, which are passed in as a comma-separated list.
Wait (sleep) for commands to finish
Sleep the application for x milliseconds.
Lines starting with the IGB script comment character '#' are ignored.
Loading a BAM file