The LaTeX template I use for my bioRxiv papers
I think I obtained the peerj.latex
file initially via:
pandoc -D latex > peerj.latex
and then edited it slightly.
The most important change, as I recall, would have been adding the \pjbibliography
command.