As a recent B.S. recipient interested in pursuing a PhD in molecular biology in the future, are there any disadvantages to publishing outside of that field? I have a strong background in computer science and have been approached separately by a public health professor and a linguistics professor who are interested in collaborating on their respective projects and perhaps working towards a paper over the summer.
While I enjoy solving computational problems, I'm not sure whether this is a good idea professionally. Does publishing papers in other fields take away from the research I've already done? I've so far only contributed to two papers in my "field of expertise".
What are the downsides to collaborating on a paper outside of one's field? Is this frowned upon by the academic community/graduate admission programs?
Related question -- advantages to publishing outside of primary research field