Comments (4)
Hi Wendy, I don't think jigv is the cause. It's been a while since I've looked at this code but I just went through it and don't see any subsampling in the JS or the nim.
I also don't see any mention about 1500 in the igv.js code (not sure if you mention that as an exact number or just approximate).
from jigv.
Thanks, Brent! Yes, it's not because of jigv (1500 is just approx). I think it has to do with the default subsamling of reads in igv.js (e.g. igvteam/igv.js#249). I am wondering if there's a way to pass some parameters to igv.js to turn off subsampling or set samplingDepth to a higher number?
from jigv.
ah. I understand now. There's not a good way to do this. That's the major limitation of the current jigv the I never fixed--it's hard to allow the user to specify simple javascript to do things like set sampleDepth
.
If you want to modify jigv, you can use this diff:
diff --git a/track.nim b/track.nim
index 94b8296..e9242f7 100644
--- a/track.nim
+++ b/track.nim
@@ -136,6 +136,7 @@ proc `%`*(T:Track): JsonNode =
fields["coverageTrackHeight"] = % 24
fields["showSoftClips"] = % true
fields["viewAsPairs"] = % true
+ fields["samplingDepth"] = % 2000
return JsonNode(kind: JObject, fields: fields)
proc `$`*(T:Track): string =
and re-build. I'll have a look at making this easier with user-specified javascript from the command-line, but I don't see a simple way right now.
from jigv.
Great! That's exactly what I was looking for! I will give it a try, thank you so much!
from jigv.
Related Issues (18)
- list of regions to iterate through HOT 3
- Read sequence is "*" HOT 1
- Windows build HOT 1
- Anotation track HOT 4
- Add bed-format file to sites option?
- Provide small example output HOT 2
- parameter usage for RNA sequencing samples HOT 2
- can this tools generate a file contains each variant of RF and FR number of base A T C G N HOT 2
- Custom Template HOT 1
- IDEA: seeing reads for more than one sample without pedigree file HOT 4
- automatic taking images given list of regions HOT 1
- show SAM flag on click of alignment
- customization
- sort by base HOT 3
- Should print help when no input provided? HOT 1
- Security: users with access to the same server can see each others sessions HOT 2
- Feature request: find read by name and highlight/color specific read(s) HOT 2
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 jigv.