Comments (2)
The indexToChr property might help (in your code you can see it is the sixth SQ line the first line was not SQ but it should be easier to use indextochr) https://github.com/GMOD/bam-js/blob/master/test/bai.test.js#L66
Also try getReadBases https://github.com/GMOD/bam-js/blob/master/test/bai.test.js#L101
I may try to redesign the record class to make it easier to accomplish these tasks as it is a bit opaque right now but if you look at the test code you can see some example usage
from bam-js.
Hi @cmdcolin , this is very clear after your answer :)
I should check the test folder earlier :)
Thank you!
from bam-js.
Related Issues (20)
- error in getHeader() HOT 7
- Support AN (alternative naming)
- Merge adjacent blocks code could result in large allocation HOT 2
- error with local uploaded file HOT 4
- Port intra-slice merging from tabix HOT 1
- Investigate split alignment data structures HOT 1
- Not fetching all reads HOT 1
- add SAM parsing
- Support BAI index aka BAM index index HOT 1
- Large amount of short reads bogs jbrowse down HOT 1
- All tags are stored in lower case, but technically lower case tags are distinct from upper case
- Wrong negative number values being reported for some tags
- Feature sequence is undefined HOT 2
- Htsget unable to fetch header from some endpoints HOT 7
- need explanation for usage HOT 5
- Missing end position in read mate? HOT 2
- fetch size limit error with `pairAcrossChr` HOT 2
- htsget auth support HOT 4
- LocalFile is not a constructor 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 bam-js.