]> git.donarmstrong.com Git - bamtools.git/commit
Implemented 'compound rule' logic in the FilterTool's script support.
authorDerek <derekwbarnett@gmail.com>
Wed, 22 Sep 2010 02:00:14 +0000 (22:00 -0400)
committerDerek <derekwbarnett@gmail.com>
Wed, 22 Sep 2010 02:00:14 +0000 (22:00 -0400)
commitc66ba836246a1eada3557a5c8dcc9d3558ed093b
treea242c8a45e35139e28715c6d072421a652931c1e
parent4a72c95050cfa5bf0c891b13fd9504ad301ca559
Implemented 'compound rule' logic in the FilterTool's script support.

 * Previously the script was limited to doing 'OR' comparisons on various
property sets (what I call here filters). Now, by providing each filter
with an id, you can use these id's to define a compound rule.

 * Documentation is severely lacking on this end at the moment, but I hope
to have a good explanation up soon.  I think this interface could provide
a powerful flexibility in querying BAM files for very specific cases for
further analyses.
src/toolkit/bamtools_filter.cpp
src/utils/Makefile
src/utils/bamtools_filter_engine.cpp [deleted file]
src/utils/bamtools_filter_engine.h
src/utils/bamtools_filter_properties.h [new file with mode: 0644]
src/utils/bamtools_filter_ruleparser.h [new file with mode: 0644]