higlass-pileup 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +33 -0
- package/dist/higlass-pileup.js +282 -34
- package/dist/higlass-pileup.min.js +1 -1
- package/dist/worker.js +2 -13
- package/dist/worker.nomin.js +18866 -24888
- package/es/PileupTrack.js +261 -32
- package/es/bam-fetcher-worker.js +199 -159
- package/es/bam-fetcher.js +2 -2
- package/es/bam-utils.js +19 -0
- package/es/chrominfo-utils.js +107 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
v1.4.0
|
|
2
|
+
|
|
3
|
+
- When hovering over the coverage, the genomic range that is covered by the bar is now displayed
|
|
4
|
+
- Added the option `minMappingQuality` which takes an integer. If this is set, reads with a mapping quality lower than the specified value are not displayed.
|
|
5
|
+
- Added the option `outlineMateOnHover`
|
|
6
|
+
- Added the option `highlightReadsBy` which is an array can contain one or more of the value `insertSize`, `pairOrientation`, `insertSizeAndPairOrientation`. Details in the docs.
|
|
7
|
+
|
|
1
8
|
v1.3.1
|
|
2
9
|
|
|
3
10
|
- Added GitHub releases workflow
|
package/README.md
CHANGED
|
@@ -114,6 +114,39 @@ default maximum tile width. This can be modified in the `data` section of the tr
|
|
|
114
114
|
it to a large file will let you zoom out further while still fetching data. This is useful for
|
|
115
115
|
viewing low coverage BAM files.
|
|
116
116
|
|
|
117
|
+
### Track options
|
|
118
|
+
|
|
119
|
+
**colorScale** - Array that controls the color of substitutions and highlighted reads. It can take 6 or 11 values. 11 values are required if you want to control highlighted read colors (see the `highlightReadsBy` option). Example:
|
|
120
|
+
```
|
|
121
|
+
"colorScale": [
|
|
122
|
+
"#2c7bb6", //color of A substitutions
|
|
123
|
+
"#92c5de", //color of T substitutions
|
|
124
|
+
"#ffffbf", //color of G substitutions
|
|
125
|
+
"#fdae61", //color of C substitutions
|
|
126
|
+
"#808080", //color of N substitutions
|
|
127
|
+
"#DCDCDC", //color of other substitutions
|
|
128
|
+
"#FF0000", //color of reads with large insert size
|
|
129
|
+
"#0000D1", //color of reads with small insert size
|
|
130
|
+
"#00D1D1", //color of reads with LL orientation (see https://software.broadinstitute.org/software/igv/interpreting_pair_orientations)
|
|
131
|
+
"#555CFA", //color of reads with RR orientation
|
|
132
|
+
"#02A221", //color of reads with RL orientation
|
|
133
|
+
]
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**outlineReadOnHover** - Highlights the current read on hover.
|
|
137
|
+
|
|
138
|
+
**outlineMateOnHover** - Highlights the mate of the current read on hover. If the mate is a split read,
|
|
139
|
+
both alignments will be highlighted.
|
|
140
|
+
|
|
141
|
+
**highlightReadsBy** - Array that can take the values `insertSize`, `pairOrientation` or `insertSizeAndPairOrientation`:
|
|
142
|
+
- if `insertSize` is set, reads that have a large or small insert size will be highlighted. The thresholds are controlled by the `largeInsertSizeThreshold` and `smallInsertSizeThreshold` track options. `largeInsertSizeThreshold` defaults to `1000`, i.e., 1000 bp. `smallInsertSizeThreshold` is not set by default, i.e, reads with small insert size won't be highlighted.
|
|
143
|
+
- if `pairOrientation` is set, reads with an abnormal mapping orientation are highlighted (e.g. ++,--,-+).
|
|
144
|
+
- if `insertSizeAndPairOrientation` is set, reads with an abnormal mapping orientation that also have abnormal insert sizes are highlighted.
|
|
145
|
+
- if multiple values are set, reads that fulfill any of the conditions are highlighed in the corresponding color.
|
|
146
|
+
- highlight colors can be controlled by extending the `colorScale` track option to 11 values. The additional 5 values will control the large insert size color, small insert size color and the ++, --, -+ mapping orientations (in that order).
|
|
147
|
+
|
|
148
|
+
**minMappingQuality** - If this is set (integer), reads with a mapping quality lower than the specified value are not displayed.
|
|
149
|
+
|
|
117
150
|
## Support
|
|
118
151
|
|
|
119
152
|
For questions, please either open an issue or ask on the HiGlass Slack channel at http://bit.ly/higlass-slack
|