Publication of the source code you write not only can increase your impact , but also is essential if others are to be able to reproduce your results. Reproducibility is a tenet of computational science , and critical for pipelines employed in data-driven biological research. Publishing the source for the software you created as well as input data and results allows others to better understand your methodology, and why it produces, or fails to produce, expected results. Public release might not always be possible, perhaps due to intellectual property policies at your or your collaborators' institutes; and it is important to make sure you know the regulations that apply to you. Open licensing models can be incredibly flexible and do not always prevent commercial software release ."
Link to Original Source