This commit makes it possible to pipe together several sets of rules, by taking Operon objects and reserializing them in the gene_finder CSV format. The way my pipeline was structured before there was a lot of redundant parsing of operons that really was only being done because I wanted to have the output of operon_analyzer as a way of documenting the rules I had applied - but the pipeline itself documents this so it was completely unnecessary.
This doesn't always produce identical CSV text, since floats with trailing zeros and other degenerate things like that aren't perfectly maintained, but it's effectively identical.
This commit makes it possible to pipe together several sets of rules, by taking
Operon
objects and reserializing them in the gene_finder CSV format. The way my pipeline was structured before there was a lot of redundant parsing of operons that really was only being done because I wanted to have the output of operon_analyzer as a way of documenting the rules I had applied - but the pipeline itself documents this so it was completely unnecessary.This doesn't always produce identical CSV text, since floats with trailing zeros and other degenerate things like that aren't perfectly maintained, but it's effectively identical.