Comments (7)
from igv.js.
Unfortunately we can no longer support htsget as there are no reference test servers available, and the project itself does not seem to be active. For example this ticket has been open for more almost 3 years, in fact there are no project updates in three years: ga4gh/htsget-refserver#33.
That said, your change should not affect any other code negatively so I would accept is as a PR. I'm in general hesitant to accept PRs that I cannot personally test, but will make an exception in this special case.
from igv.js.
Thanks @jrobinso, happy to raise a PR for this. I'm ready to push my branch - can you add me as a collaborator to the repo please?
from igv.js.
@jmgenomics You don't need to be a collaborator to submit a PR.
from igv.js.
BTW the chr alias table is important and should not be removed. Without it files aligned to a reference with UCSC naming conventions ("chr1", etc) cannot be read if the loaded reference uses the other convention ("1", etc).
This is also the reason the header is read first. It allows the chr alias table to be built. Without this the query for alignments will fail if there is a mismatch in the chr naming convention.
I don't understand why the code as-is fails unless the server has not implemented the "class=header" query, in which case the server is non-conforming. What is your server returning for the "readHeader" method, implementation below.
async readHeaderData() {
const url = `${getUrl(this.config)}?class=header&format=${this.format}`
const ticket = await igvxhr.loadJson(url, buildOptions(this.config))
return await this.loadUrls(ticket.htsget.urls)
}
For these reasons I could not accept this change as a PR. Sorry I just gave it a cursory glance earlier, I should have looked in more detail.
from igv.js.
Our Htsget server does support header queries and the data returned appears to be ok.
I think the issue with header.chrAliasTable
being undefined may be due to bamUtil.js::decodeBamHeader()
. It declares chrAliasTable
but never assigns to it after that?
from igv.js.
I looked back into the code history and found statements from the last working version that had been removed wrt population of chrAliasTable
.
I have raised a PR for your consideration.
from igv.js.
Related Issues (20)
- The YC tag in bam does not work and does not display the corresponding color HOT 5
- Docs: Add `compressedIndexURL` and clarify `indexURL` behavior HOT 5
- copy sequence from selected region as in IGV desktop HOT 2
- Issue with Loading Large GWAS Data Track in igv.js HOT 6
- IGV renames "chromosome_1" to "omosome_1" HOT 3
- Inquiry About Highlighting SNPs in IGV.js HOT 16
- Add option to display alignments arranged 1 per line
- customize a reference genome
- loadTracks example not working HOT 2
- Make igv.js work with TypeScript: Add TypeScript API description HOT 8
- a lot of tracks are blank at first and only appear when you change the locus. HOT 3
- Sequence Track not using nucleotideColors creation option HOT 2
- IGV in a secondary tab does not show initially HOT 5
- Alignment coverage track base mismatch depth indicator missing HOT 3
- Baseline shift for spliceJunction tracks? HOT 5
- Issue with searching consecutive regions with .search() in same IGV browser since v3.0.0 HOT 3
- ERROR: Cannot read properties of undefined (reading 'table') HOT 5
- VariantTrack header.INFO undefined HOT 1
- IGVweb not loading GFF compressed and index files when served from a server HOT 13
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.js.