Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch command: Autoscale #997

Closed
LucasMichelTodo opened this issue Jul 6, 2021 · 8 comments
Closed

Batch command: Autoscale #997

LucasMichelTodo opened this issue Jul 6, 2021 · 8 comments
Milestone

Comments

@LucasMichelTodo
Copy link

I can't manage to find the way to autoscale (or scale by any means) the tracks loaded in a batch file.

Thank you very much for the great work!

@jrobinso
Copy link
Contributor

jrobinso commented Jul 7, 2021

What have you tried, and what version of IGV are you using?

Responses will probably be delayed until next week, I am traveling.

@LucasMichelTodo
Copy link
Author

Hi, thank you for the quick response!

I am currently using IGV v2.8.0 and I have tried the following with a .bdg file loaded:
preference CHART.AUTOSCALE TRUE
preference CHART.SHOW_DATA_RANGE TRUE

Thank's for letting me know you'll be out, I'm by no means in a hurry!

@jrobinso jrobinso added this to the 2.10.3 milestone Jul 23, 2021
@jrobinso jrobinso modified the milestones: 2.10.3, 2.11.0 Jul 31, 2021
@jrobinso
Copy link
Contributor

jrobinso commented Aug 4, 2021

Sorry for the long delay. There was a command for setting the scale, but not documented, I am correcting that. Until now there was no way to set a track to autoscale, but most if not all track types autoscale by default. However I have explicitly added that option as shown below, which sets the first track to a scale of 0-50, and the second to auto. The 'auto' argument is part of the upcoming 2.11.0 release, the data range should work with previous releases.

new
genome hg19
goto chr1
load http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHistone/wgEncodeBroadHistoneA549H2azDex100nmSig.bigWig
load http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHistone/wgEncodeBroadHistoneA549H3k04me2Dex100nmSig.bigWig
setDataRange 0,50 wgEncodeBroadHistoneA549H2azDex100nmSig.bigWig
setDataRange auto wgEncodeBroadHistoneA549H3k04me2Dex100nmSig.bigWig

@jrobinso
Copy link
Contributor

jrobinso commented Aug 4, 2021

Doc has been updated. https://github.com/igvteam/igv/wiki/Batch-commands

@LucasMichelTodo
Copy link
Author

LucasMichelTodo commented Aug 4, 2021 via email

@markgene
Copy link

markgene commented Aug 2, 2022

Hi @jrobinso how to do group autoscale for multiple numeric tracks? Thanks!

@jrobinso
Copy link
Contributor

jrobinso commented Aug 2, 2022

@markgene Good question, that doesn't look possible with a batch command. Can you open a separate issue for that?

@markgene
Copy link

markgene commented Aug 2, 2022

@jrobinso just created one #1178 Thank you, Jim!

@markgene Good question, that doesn't look possible with a batch command. Can you open a separate issue for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants