An IGB script file is a simple batch file that allows a user to run sequential commands outside of IGB, either at startup (via a command-line option) or during the run (via a URL "Bookmark" option -- see control bookmark). It can also be loaded via the File->Load menu (or via drag-and-drop) if its filename extension is ".igb".
The script file has a simple, space-delimited syntax.
"genome <version>"
"goto <region>"
"load <file or URL>"
"loadmode <NO_LOAD | REGION_IN_VIEW | CHROMOSOME | GENOME> <file or URL>"
"refresh"
"snapshot \[<filename>\]" or "snapshotwholeFrame \[<filename>\]" |
"snapshotmainView \[<filename>\]" |
"snapshotmainViewWithLabels \[<filename>\]" |
"snapshotslicedViewWithLabels \[<filename>\]" |
"select <geneids>"
"sleep <milliseconds>"
#select genome genome A_thaliana_Jun_2009 #go to chromosome at region goto chr4:18,040,000 - 18,045,056 #load the file load http://bioviz.org/quickload/A_thaliana_Jun_2009/nextgen_samples/sample.bam #set load mode to region in view loadmode REGION_IN_VIEW http://bioviz.org/quickload/A_thaliana_Jun_2009/nextgen_samples/sample.bam #refresh to view data refresh |