Command line options

From GenomeView Manual
(Redirected from Command-line use)
Jump to navigation Jump to search

Installation To use GenomeView on your local PC, you first have to download a local copy

Extract the contents of the zip file to a directory where you want to install GenomeView.

Add this directory to the CLASSPATH if you want GenomeView to be accessible from anywhere on your system. Alternatively you can always start from this directory or you can qualify the full path to the jar-file each time you start GenomeView.

Use locally You can start GenomeView by issuing the following command at the prompt

java -Xmx900m -jar genomeview.jar


Loading files on start-up You can instruct GenomeView to load files when it starts. All file names and URLs that are specified will be loaded. There are a few options you can use. Files are loaded concurrently, unless the --file or --url switch is used.


Some examples:

java -Xmx900m -jar genomeview-669.jar --file seq.fasta

This command will start GenomeView with seq.fasta loaded.

java -Xmx900m -jar genomeview.jar --position 2000:3500 --file seq.fasta feat.embl pred.embl add.embl

Will start GenomeView with all the specified files loaded, but seq.fasta will be loaded first and zoomed to the region 2000-3500.



Available options

Options for use on the command line or with website integration.

--file <file> Load this file first, all other files will be loaded concurrently after this files has finished
--url <url> Load the data from this url first. After this has finished, all other files will be loaded concurrently
--session <url or file > Load the session from this URL or file. This parameter will override all others.
--config <file or url> Load extra configuration options from this file or URL. This configuration will override default and user configuration. See <a href="/content/configuration">configuration</a> for more details.
--position <position> Zoom to the supplied position on start-up. You need to use this in conjunction with the --url or --file option. First that file or url will be loaded and then GenomeView will zoom to the supplied position. The position is in the format <entry>:<start position>:<end position> The entry part can be omitted in which case it becomes <start position>:<end position>
remaining arguments Load all remaining files and URLs specified on the command line