sebhtml / ray

Ray -- Parallel genome assemblies for parallel DNA sequencing
http://denovoassembler.sf.net
Other
65 stars 12 forks source link

add buffering for I/O operations for kmers.txt #164

Closed sebhtml closed 11 years ago

sebhtml commented 11 years ago

use this

bool flushFileOperationBuffer(bool force,ostringstream_buffer,ostream_file,int bufferSize){

or this

bool flushFileOperationBuffer_FILE(bool force,ostringstream_buffer,FILE_file,int bufferSize){

(from code/Mock/common_functions.cpp )

sebhtml commented 11 years ago

this option must be added too:

-write-kmers Writes k-mer graph to RayOutput/kmers.txt The resulting file is not utilised by Ray. The resulting file is very large.

jferdelyi commented 11 years ago

[djeef@r109-n16 ~]$ sort kmers.txt | sha1sum 56f28e70b17109976c6ce09be002fabe4ec59a1b - [djeef@r109-n16 ~]$ sort kmers.txt.old | sha1sum 56f28e70b17109976c6ce09be002fabe4ec59a1b -

383914570531a24dcc0c3f07ebf30cd71e5c6f98