Comments (6)
from igv.
Hi @jrobinso ! Thanks for your quick response. I generated above two ways after reading the describe below, but they are not work, so I open this issue. Is it because I did not write it correct? Besides, I do not know how to write colorScale.
##Segmented Copy Number Track Defaults
CN_FREQ.AMP_THRESHOLD CN freq amplification threshold float 0.1
CN_FREQ.DEL_THRESHOLD CN freq deletion threshold float -0.1
NO_DATA.COLOR No data color 216,216,216
NO_CALL.COLOR No call color 150,150,150
COLOR_LEGENDS Color Legends colorScale
from igv.
I'm not sure what you are showing me. Could you post the actual batch script you are using?
from igv.
Here are my files and command:
cat igv.pref
IGV.Bounds=0, 0, 2560, 1440
cat igv_script.bat
new
geome hg38
expand Refseq%20Genes
preference CN_FREQ.AMP_THRESHOLD 0.05
preference CN_FREQ.DEL_THRESHOLD -0.05
load input_cnv_ratio.seg
snapshotDirectory /path/to/igv_screenshot
goto chr3 35483850 35794496
region chr3 35639173 35794496
snapshot temp.png
exit
xvfb-run -d -s "-screen 0 2560X1440X24" /path/to/igv/install/2.16.0/igv.sh -b igv_script.bat --preferences igv.pref
I am not sure whether "CN_FREQ.AMP_THRESHOLD 0.05" and "CN_FREQ.DEL_THRESHOLD -0.05" will set value [-0.05, 0.5] to white. I also want to know how can I set the maximum value to 0.5 and the minimum value to -0.5?
Current, for example, I have a segment value is -0.09, it will be white after running above command, but I would like to make it light blue.
from igv.
The easiest way to discover preferences syntax is to configure what you want in the UI, then look at the "prefs.properties" file in your igv folder. You can edit heatmap legends visually from the "View > Color Legends" menu. Here's the result of a rather random edit
COLOR_SCALE_COPY_NUMBER=ContinuousColorScale;-0.5;-2.5;0.5;2.5;102,255,51;255,255,255;0,204,204
The thresholds you are setting only impact the frequency track that appears above the heatmap, they have no impact on the color scale
from igv.
This is really helpful. I solve the problem. Thank you very much!
from igv.
Related Issues (20)
- Slow loading for assembly-assembly alignment bams HOT 1
- .bed and .bedpe tracks not loading in IGV 2.17.4 HOT 2
- Mac Desktop IGV only runs in the user account where IGV was downloaded HOT 13
- How to batch unshow alignment track? HOT 1
- Support specifying file format for URLS ("Tracks from presigned URL *without* the file extension") HOT 7
- [Feature suggestion] Jump to next soft-clip in BAM track
- doesn't show RefGene from my custom genomefile. HOT 1
- Problem to data using if the URL is redirected HOT 4
- Error loading VCF: Tag Type in wrong order HOT 2
- Installing with admin privileges HOT 3
- batch mode - what becomes track name? MaxPanelHeight for individual variant tracks? HOT 3
- Shift in the visual representation of a junction HOT 7
- Cert Fail HOT 3
- How do I load from server the Tutorial Dataset? HOT 1
- Clicking on rule does not center view in 2.18.0 HOT 11
- Suggestion for UX improvement HOT 4
- When I use igvtools count, keep getting error that " Cannot invoke "java.util.List.iterator()" because the return value of "org.broad.igv.feature.genome.Genome.getLongChromosomeNames()" is null" HOT 4
- RefSeq transcripts: only one appears in the pop-up list when in collapsed mode (from IGV 2.17.x)
- Incorrect parsing of MM/ML tags with no "." or "?" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from igv.