IGV use --name command line option in a batch file
1
0
Entering edit mode
2.8 years ago
Ram 43k

Hi,

I can load a CRAM file from the command line while renaming the track on the fly, like so:

igv --genome my_genome --name my_track my_cram.cram

my_genome is a custom built genome file that takes quite a while to load. I'd like to run an IGV batchfile for ~100 samples, and starting igv for each of them is a waste of time. I'd like to start IGV once, load the genome and then load and unload the CRAMs as required. However, I'm unable to find a batch command that lets me rename the track after I load the file.

Does anyone know how I can load a data file and have the track be named something else? Can I load track_name=data_file or something like that?

igv • 1.1k views
ADD COMMENT
1
Entering edit mode
2.8 years ago
Ram 43k

I guess I really should have tried harder before asking here. Much like the index= parameter described here, I can simply add a name= in the load command like so:

load /path/to/my_cram.cram name=my_track
ADD COMMENT

Login before adding your answer.

Traffic: 2366 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6