]> git.donarmstrong.com Git - bamtools.git/commit
Rough implementation of sort tool. Generate lots of smaller sorted (STL sort with...
authorDerek <derekwbarnett@gmail.com>
Tue, 22 Jun 2010 02:23:32 +0000 (22:23 -0400)
committerDerek <derekwbarnett@gmail.com>
Tue, 22 Jun 2010 02:23:32 +0000 (22:23 -0400)
commita9e3b2afa1a84d7d92bb54e5c99b6ff341c1328a
tree72e80ceb3d99c8d114f275841536ae9983933f49
parent0108fd0bf864c11355a3c7e39d33dcf6d7a149d2
Rough implementation of sort tool.  Generate lots of smaller sorted (STL sort with 'custom' compare fxn) temp files in one pass, using a specified buffer size.  Uses BamMultiReader paired with BamWriter to re-merge all temp files back into a single output BAM, also in one pass. Some work remains on optimizing parameters (e.g. default buffer size), scalability (single pass generates lots of temp files), & parallelization to make tool more sophisticated & robust.
bamtools_sort.cpp
bamtools_sort.h