Skip to content
Daniel-Mietchen edited this page Jun 19, 2011 · 1 revision

contributing to the wiki

It is as easy as it gets: you just need a github user.

contributing data to the repo

First of all, you need to set up git; github help has a pretty good guide on how to do it. Then, get in touch so that I can give you push/pull access to the repo: @ehec_data, or through github

initial setup: getting the data at your machine

You need to clone the ehec-outbreak-crowdsourced/BGI-data-analysis repo on your local machine, by typing:

    git clone git@github.com:ehec-outbreak-crowdsourced/BGI-data-analysis.git

After a few minutes (depending on your internet connection), you have all the contents of the repo stored locally on the newly-created BGI-data-analysis folder. Note that this is only for first-time setup; you don't need to do this every time you want to add/get data.

adding data locally

whenever you want to add data, first of all you need to get the most recent version of the remote copy:

    git pull

Now, add anything you'd like to add on your local copy by just copying files/creating folders, and issue

    git add <whatever-new-file/folder>

you're ready to commit the changes:

    git commit -m 'a message explaining briefly the changes introduced'

pushing your changes to the remote side

you just need to type

    git push origin master

We're trying to keep this as simple as possible (no branches, forks, whatever). However, if you're new to this kind of stuff all of this can be rather daunting. The other option is:

ask for help!

If you have your data at some publicly available URL, and you are unable/confident to follow the steps above, we'll be happy to upload the data for you: just send and email to ehec@ohnosequences.com or send a message to any of @ehec_data, @marina_manrique, @eparejatobes