aidenlab / straw

Extract data quickly from Juicebox via straw
MIT License
62 stars 36 forks source link

the python version #4

Closed mikeaalv closed 7 years ago

mikeaalv commented 7 years ago

I rewrite it from C++ file. It might not be perfect but it works at least for HIC059_30.hic and rabbit_rep1_30.hic

nchernia commented 7 years ago

Thanks for all your work!

This isn't compatible with Python 2.7, could you try and fix the problems so it runs successfully in both 2.7 and 3?

E.g. the line

return str(buf,encoding="utf-8", errors="strict")

becomes

return str(buf).encode("utf-8")

On Wed, Oct 26, 2016 at 6:02 AM, Yue Wu notifications@github.com wrote:

I rewrite it from C++ file. It might not be perfect but it works at least

for HIC059_30.hic and rabbit_rep1_30.hic

You can view, comment on, or merge this pull request online at:

https://github.com/theaidenlab/straw/pull/4 Commit Summary

  • Merge remote-tracking branch 'theaidenlab/master'
  • Merge remote-tracking branch 'theaidenlab/master'
  • python version

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/theaidenlab/straw/pull/4, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWiW3Fs8mx4qrTrGBxiAEvzD-uRcYhAks5q3tDdgaJpZM4KgvK5 .

Neva Cherniavsky Durand, Ph.D. Staff Scientist, Aiden Lab www.aidenlab.org