Closed
Description
normalize-by-median.py and load-into-counting.py seem to be working on my system, but the htable.save command seems to fail silently. The memory allocates properly when initializing the table, and normalize-by-median.py runs and generates an appropriate .keep file, but the saved .kh is only 16 bytes. The problem seems to be sensitive to the minimum table size but not number of tables or kmer size or the bigcount flag. x=4e9 causes this problem, 2e9 and 1e9 do not.
Version:
khmer version 1.0-11-g059a8e3
screed version 0.7
Here are some of my tests:
hexdump -C k19n4x4e9.kh
00000000 04 01 01 13 00 00 00 04 07 28 6b ee 00 00 00 00 |.........(k.....|
00000010
hexdump -C k20n4x4e9.kh
00000000 04 01 01 14 00 00 00 04 07 28 6b ee 00 00 00 00 |.........(k.....|
00000010
hexdump -C k19n1x4e9.kh
00000000 04 01 01 13 00 00 00 01 07 28 6b ee 00 00 00 00 |.........(k.....|
00000010
hexdump -C k19n4x2e9.kh
00000000 04 01 01 13 00 00 00 04 0b 94 35 77 00 00 00 00 |..........5w....|
00000010 ff 13 0b 06 02 03 0f 00 08 04 03 01 07 00 00 01 |................|
00000020 02 00 00 00 00 02 00 02 0d 00 02 00 00 00 01 00 |................|
00000030 05 01 01 03 00 02 01 01 00 03 02 00 00 00 01 00 |................|
... (this seems like a good kh)
I also ran ./setup.py nosetests (295 tests, 8 seconds, no fails). Is there anything else I should test? Thanks!