making ##reference optional

this simplifies integration with EG pipelines
Merge pull request #4 from dbolser-ebi/release/76

making ##reference optional