New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Developer-targeted detailed documentation of Oxli binary formats #1101
Conversation
@kdmurray91 I am blown away, this is really wonderful |
Field Len Off Value | ||
================== ======= ===== ============================================== | ||
Table size 8 0 Length of table, **in bits**. (``uint64_t``) | ||
Bins N/8+1 8 This table's bytes, length given by previous field, divided by 8, plus 1. (``uint8_t``) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mr-c Is there a way of wrapping lines in RST simple tables that doesn't create a new row? Or do I have to suck it up and make a proper table?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can line wrap if you keep the correct indentation?
On Sun, Jun 14, 2015 at 10:33 PM Kevin Murray notifications@github.com
wrote:
In doc/dev/binary-file-formats.rst
#1101 (comment):+Field Len Off Value
+================== ===== ===== ==============================================
+Magic string 4 0OXLI
(SAVED_SIGNATURE
)
+Version 1 40x04
(SAVED_FORMAT_VERSION
)
+File Type 1 50x02
(SAVED_HASHBITS
)
+K-size 4 6 k-mer length, asunsigned int
.
+Number of Tables 1 10 Number of Nodegraph tables.
+================== ===== ===== ==============================================
+
+Then follows the Nodegraph's tables. For each table:
+
+================== ======= ===== ==============================================
+Field Len Off Value
+================== ======= ===== ==============================================
+Table size 8 0 Length of table, in bits. (uint64_t
)
+Bins N/8+1 8 This table's bytes, length given by previous field, divided by 8, plus 1. (uint8_t
)@mr-c https://github.com/mr-c Is there a way of wrapping lines in RST
simple tables that doesn't create a new row? Or do I have to suck it up and
make a proper table?—
Reply to this email directly or view it on GitHub
https://github.com/dib-lab/khmer/pull/1101/files#r32392578.Michael R. Crusoe: Programmer & Bioinformatician crusoe@ucdavis.edu
mcrusoe@msu.edu
The lab for Data Intensive Biology; University of California, Davis
https://impactstory.org/MichaelRCrusoe http://twitter.com/biocrusoe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you can. emphasis on correct 😄
+1 On Sun, Jun 14, 2015 at 09:41:43PM -0700, Michael R. Crusoe wrote:
|
Don't think I'll add much to this in the current round, as that's all I have written. So I'd say it ready for review, and I'll add to it later.
|
Oh, do |
@kdmurray91 yes, but we haven't decided on what to write there since the move. I'm okay without it for now. |
@@ -1,3 +1,9 @@ | |||
2015-06-16 Kevin Murray <spam@kdmurray.id.au> | |||
|
|||
* doc/dev/binary-file-formats.rst: Add documentation of Khmer's binary file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We always spell it khmer
to differentiate from the people group
Developer-targeted detailed documentation of Oxli binary formats
LGTM, thank you @kdmurray91 |
Hi all,
This PR adds some personal notes I've taken from reading the source code on the binary file formats in khmer/oxli.
I'm not sure if it will be useful to the project, but here it is in any case. I'll polish it up a bit further, and maybe add some more formats, if you think it's useful.
Cheers,
K