We require a Code Availability Statement in all original research articles for which new code is developed that is necessary to interpret and replicate the conclusions reported.
- Code availability statements should include information on what code is available, where these can be found, and any applicable access terms. See examples of Code Availability Statements in two of our Nature Portfolio journals and .
We strongly encourage all new code that is necessary to interpret and replicate the conclusions to be made publicly available at the time of publication, and some journals may mandate sharing of the code during peer review.
- We encourage authors to deposit their newly-developed code in publicly available repositories, or failing this within the manuscript or additional supporting files.
- Code should be deposited in a repository that assigns a permanent identifier, such as or , and cited in the reference list. Note that providing a GitHub link only is not sufficient as it does not assign a permanent identifier to the code.
- Authors are encouraged to manage subsequent code versions and to approved by the open source initiative.
- A submission to a 50¶È»Ò journal implies that all relevant new code will be made freely available to any researcher wishing to use them, without breaching participant confidentiality.
Peer reviewers are entitled to request access to underlying code when needed to perform their evaluation of a manuscript. Some journals (such as the Nature journals, ) require the submission of code for peer review.
We recognise it is not always possible to share research code publicly, for instance when it requires simultaneous sharing of data in which the privacy of research participants could be compromised, and in such instances code availability should still be stated in the manuscript along with any conditions for access.
A large number of our journals already support this policy, including Nature Portfolio, BMC and many Springer and Palgrave titles. We are in the process of implementing this policy across the remainder of our portfolio in stages. For information on a journal¡¯s specific policies, please consult the journal submission guidelines.