as the title said I want to include a lot of scripts I wrote in scientific paper but how I do that do I upload them In GitHub & then cite them or include them as additional materials at the end of the paper. Thank in advance


Yes to both, though providing code through a service like GitHub may be preferable as you can obtain a citable DOI and your readers will know where to find updated code, if any. Figshare is another option. Providing code in your supplement can provide redundancy, especially if you would like readers to cite your paper when they use your code. See Rule 8 under these Ten Simple Rules for Taking Advantage of Git and GitHub for more details.

  • OK that's good..If you have any additional informations I would like to know. – aminevsaziz Mar 10 '17 at 17:07
  • Also if I'm not wrong GitHub will cease from existence in 2020..So what happen to my scripts! – aminevsaziz Mar 10 '17 at 17:26
  • Nothing lasts forever. You can, of course, host the code at a place you control, as long as readers know where it is and you have a way to ensure it will remain accessible. – Harry Mar 10 '17 at 18:00
  • Let's assume I host my scripts in my Owen website,is it possible to get a citable DOI? – aminevsaziz Mar 10 '17 at 18:39
  • No. You will be responsible for making material on your own site accessible and citable. – Harry Mar 10 '17 at 22:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.