Coder Social home page Coder Social logo

hic-straw's People

Contributors

davideby avatar dependabot[bot] avatar jrobinso avatar turner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hic-straw's Issues

getNormalizationOptions seems buggy?

Hi Jim,

I am testing one file and the norm options did contain KR, while when I use KR to pull the data, I got error: Normalization vectors not present in this file. I used the code just pulled from master.

image

Using es6 import uses old version of code?

Hi, I started some experiments with using hic-straw in jbrowse and it's working quite well. I made a small wrapper so generic-filehandle can be used with it (adapts our read(buffer, offset, length, pos) to read(pos, length) which is of course much simpler...just a legacy of trying to adapt the nodejs file reader api) so this is great.

I did have one concern, I saw that commonjs require('hic-straw') was working but the es6 import wasn't (produced negative file offsets in file reading, etc)

Might be related to package.json having this?

"module": "dist/hic-straw_es6.js",

This file appears to not be involved in the current build though, yet it is being deployed in the NPM bundles, so I wonder if this should actually say this

"module": "dist/hic-straw.esm.js"

accept file Blob as input in config parameter

Hi Jim,

Previous version of straw seems works with file Blob as input when construct a new Straw instance, in this new version, how can I enable this?
I tried {file: fileBlob} which is not working.
Thanks.

more data fetch errors than previous version

Hi Jim,

Hope you are doing well and stay safe.

I recently upgrade hi-straw to 1.1.0, I found there are more errors on network tab trying to access same HiC file url

version 1.1.0:
image

version:0.9.4
image

fetched results are same though from my visual inspect..I don't see any usage update not sure if I did something wrong. Can you please check if I did something wrong? Thanks a lot.

File with header larger than 64,000 bytes produces error

Hi there
We had a user of jbrowse 2 report that they got an error opening a hic file with a "RangeError: Out of bounds access" which appears to be due to reading a file that might have many scaffolds or something that makes it have a header that exceeds the boundary of 64000

I see in the source code it might make the assumption that the header can be obtained in a single fetch of 64000. It might need to do a larger fetch or perhaps re-fetch if it determines that the file is larger than that

Error when trying the example

Hi Jim,
Thanks for the nice library!
I am trying to including this library to our project, while trying the example, get following err:

image

I created an empty html page here and trying on the web console.

Thanks a lot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.