SlideShare a Scribd company logo
Version Control with
GitHub for Bioinformatics
Rayna Harris
May 17, 2017
https://xkcd.com/1597/
Introductions
• Name and lab
• One sentence about your research
• Level of experience with version
• Favorite breakfast food
Blischak et al. 2016. A Quick Introduction to Version
Control with Git and GitHub. PLOS Comp Biol
http://b-maze.deviantart.com/art/Werewolf-vs-
Dracula-124893530
https://www.google.com/url?
sa=i&rct=j&q=&esrc=s&source=images&cd=&ved=0ahUKEwi
88ueDz_DTAhWEwiYKHaxFC7kQjRwIBw&url=https%3A%2F
%2Fwww.emaze.com%2F%40ALCOWQTC
%2F&psig=AFQjCNHl82zan3FdlfbN79LEZcf9le53nA&ust=149
4893424177155
http://b-maze.deviantart.com/art/Werewolf-vs-Dracula-124893530
• cd Desktop
• mkdir Dracula-Planets
• cd Dracula-Planets
• cd Desktop
• mkdir Wolfman-Planets
• cd Wolfman-Planets
Wolfman
Dracula
http://b-maze.deviantart.com/art/Werewolf-vs-Dracula-124893530
Blischak et al. 2016. A Quick Introduction to Version
Control with Git and GitHub. PLOS Comp Biol
Exercise
• Create a new file about a planet
• Add the file.
• Commit the file with a message
• Update the file with some additional information
• View the difference between the files
• Add and commit the updated file.
• Place your yellow sticky note on your computer when done
Brainstorm
• What are some files or types of files you might want
your version control system to ignore?
• Note: Github has a strict strict 100 MB size limit
http://b-maze.deviantart.com/art/Werewolf-vs-Dracula-124893530
Blischak et al. 2016. A Quick Introduction to Version
Control with Git and GitHub. PLOS Comp Biol
GitHub Online Repositories
• Go to github.com
• Sign in to your account
• Place your yellow sticky note on your computer
when done
Version Control with GitHub for Bioinformatics
Version Control with GitHub for Bioinformatics
Exercise
• Create a new repository
• desktop directory name == online repository name
• i.e. either Wolfman-Planets or Dracula-Planets
• Add the remote origin
• Push from the local desktop master to the online
remote origin
• Place yellow sticky note on laptop
Exercise
Add collaborators. Accept collaboration invites.
Navigate to each other’s online repos.
Version Control with GitHub for Bioinformatics
Exercise
• Navigate back to your desktop
• Clone the your collaborators repo with
• Navigate into the cloned repo
• Create earth.txt
• Add, commit, and push earth.txt
• Place yellow sticky note on laptop
http://starlogs.net/#tidyverse/ggplot2
Exercise
• Navigate back to the directory you created earlier.
• View the git status.
• Pull your collaborator’s changes. View the git status.
• Create a README.md file.
• Add, commit, and push the README.md file
• Place yellow sticky note on laptop
Brainstorm
• How can we promote discoverability and usability?
• How do we collaborate and attribute credit?
• How do we balance sharing and privacy?
http://b-maze.deviantart.com/art/Werewolf-vs-Dracula-124893530
Blischak et al. 2016. A Quick Introduction to Version
Control with Git and GitHub. PLOS Comp Biol
Version Control with GitHub for Bioinformatics
Version Control with GitHub for Bioinformatics
Exercise
• Navigate to CCBBatUT/WolfmanDraculaCollaboration
• View the issues
• Create a new file for one planet
• Submit a pull request with a commit message and an
additional comment
• View the issues again
• Place yellow sticky note on laptop
Supported by the Software Carpentry Foundation and The
Center Computational Biology and Bioinformatics and The
• Lesson template: http://swcarpentry.github.io/git-novice/
• Lesson publication: https://zenodo.org/record/
57571#.WRjDs1KZN-U
• Related video of this lesson: https://www.youtube.com/watch?
v=hKFNPxxkbO0
• Blischak et al. 2016: http://journals.plos.org/ploscompbiol/
article?id=10.1371/journal.pcbi.1005412m
• Example repos: https://github.com/mkuzak/planets and https://
github.com/CCBBatUT/WolfmanDraculaCollaboration
• Images: https://xkcd.com/1597/ and http://b-
maze.deviantart.com/art/Werewolf-vs-Dracula-124893530

More Related Content

PDF
Get Ur Git On: Introduction and getting started with Github
PDF
GitHubś data is a life-changer
PPTX
Intro to Git and GitHub
PDF
Inside GitHub with Chris Wanstrath
PDF
Github - Le Wagon Melbourne
PDF
Inside GitHub
 
PPTX
Hacktoberfest Singapore 2019 - How To Create a Pull Request on GitHub
PPTX
Continous integration with github actions by Peter Grainger
Get Ur Git On: Introduction and getting started with Github
GitHubś data is a life-changer
Intro to Git and GitHub
Inside GitHub with Chris Wanstrath
Github - Le Wagon Melbourne
Inside GitHub
 
Hacktoberfest Singapore 2019 - How To Create a Pull Request on GitHub
Continous integration with github actions by Peter Grainger

What's hot (20)

PDF
SFScon17 - Daniele Gobbetti: "Free software projects on GitHub and DMCA"
KEY
GitHub for JavaScripters
PPTX
Hello git - a soft introduction to git (Talk Slides)
PPTX
There's Nothing so Permanent as Temporary
PDF
Git & Github Workshop - Le Wagon Melbourne
PDF
Why on earth is git super awesome?
PPTX
GitHub Basics - Derek Bable
PDF
Using Wordpress To Share Research
KEY
Matt Gauger - Git & Github web414 December 2010
PDF
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
PDF
Git & Github for beginners
PPTX
FrontBox - what frontend web development is? Let's discover ReactJS!
PPTX
Smile Gupta - Hacktoberfest Celebration 2020
PDF
PDF
Cheffing a department
PDF
Git, GitHub and Open Source
PDF
Intro to Git and GitHub
PDF
Make an Instant Website with Webhooks
PDF
AWS Lambda, WTF
PPTX
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
SFScon17 - Daniele Gobbetti: "Free software projects on GitHub and DMCA"
GitHub for JavaScripters
Hello git - a soft introduction to git (Talk Slides)
There's Nothing so Permanent as Temporary
Git & Github Workshop - Le Wagon Melbourne
Why on earth is git super awesome?
GitHub Basics - Derek Bable
Using Wordpress To Share Research
Matt Gauger - Git & Github web414 December 2010
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
Git & Github for beginners
FrontBox - what frontend web development is? Let's discover ReactJS!
Smile Gupta - Hacktoberfest Celebration 2020
Cheffing a department
Git, GitHub and Open Source
Intro to Git and GitHub
Make an Instant Website with Webhooks
AWS Lambda, WTF
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
Ad

Similar to Version Control with GitHub for Bioinformatics (20)

PDF
CVPR2017 oral survey
PDF
Introduction to Git, DrupalCamp LA 2015
PPTX
Intro. to Git and Github
PDF
The Basics of Open Source Collaboration With Git and GitHub
PDF
Grooscript gr8conf 2015
PPTX
Building Rackspace Cloud Monitoring
PPTX
Untangling fall2017 week2
PPTX
Untangling fall2017 week2_try2
PDF
How to not blow up spaceships
PDF
Contributing to Apache Airflow | Journey to becoming Airflow's leading contri...
PDF
Introduction to GitHub Actions
KEY
GR8CONF Contributing Back To Grails
PPTX
Reproducible research: practice
PDF
Git Started!
KEY
Building Event-Based Systems for the Real-Time Web
PDF
Collaborations in the Extreme: 
The rise of open code development in the scie...
PPTX
Fun with Github webhooks: verifying Signed-off-by
PDF
maksym vlasov - culture of git as roots of your ci
PDF
Better Python Coding with Prefect Blocks
PDF
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
CVPR2017 oral survey
Introduction to Git, DrupalCamp LA 2015
Intro. to Git and Github
The Basics of Open Source Collaboration With Git and GitHub
Grooscript gr8conf 2015
Building Rackspace Cloud Monitoring
Untangling fall2017 week2
Untangling fall2017 week2_try2
How to not blow up spaceships
Contributing to Apache Airflow | Journey to becoming Airflow's leading contri...
Introduction to GitHub Actions
GR8CONF Contributing Back To Grails
Reproducible research: practice
Git Started!
Building Event-Based Systems for the Real-Time Web
Collaborations in the Extreme: 
The rise of open code development in the scie...
Fun with Github webhooks: verifying Signed-off-by
maksym vlasov - culture of git as roots of your ci
Better Python Coding with Prefect Blocks
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Ad

More from Rayna Harris (6)

PDF
Hippocampal transcriptomic responses to technical and biological perturbations
PPTX
Time and Money: Techniques for Neural Gene Expression Profiling
PPTX
Toward Single Neuron Gene Expression Analysis for Studying Behavior
PPTX
Evolution of Social Brains
PPTX
X team 2 - presentation
PPTX
Neurobiology of Social Sensory Integration and Behavior
Hippocampal transcriptomic responses to technical and biological perturbations
Time and Money: Techniques for Neural Gene Expression Profiling
Toward Single Neuron Gene Expression Analysis for Studying Behavior
Evolution of Social Brains
X team 2 - presentation
Neurobiology of Social Sensory Integration and Behavior

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
01-Introduction-to-Information-Management.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Lesson notes of climatology university.
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Cell Types and Its function , kingdom of life
PDF
Basic Mud Logging Guide for educational purpose
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
Final Presentation General Medicine 03-08-2024.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
01-Introduction-to-Information-Management.pdf
RMMM.pdf make it easy to upload and study
VCE English Exam - Section C Student Revision Booklet
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Lesson notes of climatology university.
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Sports Quiz easy sports quiz sports quiz
Microbial diseases, their pathogenesis and prophylaxis
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Cell Types and Its function , kingdom of life
Basic Mud Logging Guide for educational purpose
Supply Chain Operations Speaking Notes -ICLT Program
Insiders guide to clinical Medicine.pdf
Institutional Correction lecture only . . .
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
O7-L3 Supply Chain Operations - ICLT Program
Renaissance Architecture: A Journey from Faith to Humanism

Version Control with GitHub for Bioinformatics