IGV - how to show all bases in track in bash script
1
1
Entering edit mode
5.5 years ago

When running batch file in IGV, how to set its oprion "Show all bases" for track? Or alternatively, is there an option to show all bases in tracks by default?

igv bam viewer • 1.6k views
ADD COMMENT
0
Entering edit mode

Thanks a lot!! It works in batch scrpit: preference SAM.SHOW_ALL_BASES 1

ADD REPLY
3
Entering edit mode
5.5 years ago

not tested. In https://github.com/igvteam/igv/blob/master/src/main/java/org/broad/igv/batch/CommandExecutor.java there is a command: "preference"

https://github.com/igvteam/igv/blob/master/src/main/java/org/broad/igv/batch/CommandExecutor.java#L173

which calls the PreferencesManager

There is a constant SAM.SHOW_ALL_BASES https://github.com/igvteam/igv/blob/da21278a6d8980e80a246c7934b549ffb407597c/src/main/java/org/broad/igv/prefs/Constants.java#L123

so I would try:

preference SAM.SHOW_ALL_BASES true

or

preference SAM.SHOW_ALL_BASES 1

?

ADD COMMENT
0
Entering edit mode

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.

Upvote|Bookmark|Accept

ADD REPLY

Login before adding your answer.

Traffic: 3001 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