Merge pull request #299 from andrewjpage/pipeline

expose reference get set methods
minimise sending reads to stdout
space between bsub opts and logging
input from stdout
Merge pull request #300 from andrewjpage/pf_pass

Pf pass