Skip to content

Commit 8836f90

Browse files
committed
Merge pull request #2 from dmlond/master
Merge into my fork
2 parents ee3198c + 7e3e610 commit 8836f90

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,8 @@ http://www.ee.surrey.ac.uk/Teaching/Unix/
5858
* docker https://www.docker.com/
5959
* docker-machine https://docs.docker.com/machine/
6060
* docker-compose https://docs.docker.com/compose/
61+
62+
## Vagrant, virtualbox
63+
64+
- vagrant http://vagrantup.com
65+
- virtualbox http://virtualbox.org

docs/2015-05-11/git/Readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ technology.
6464
changes in the project file system to descriptions and information about why those changes were made. Much of the above documentation can be managed by carefully controlling the way you commit changes to files in the project to the git repository, and crafting well designed, informative commit messages to go with each commit.
6565
* Logical Commits: Researchers might use this by committing changes to analysis code along with new datasets that were produced by running the newly changed code, with a commit message describing how the changes to the code affected the changes to the dataset.
6666
* Clones and Forks: When you copy/tar/zip your project directory, or push it to Github, you are creating a clone. Anyone that installs your clone on their machine (untar/unzip/git clone) can use the git command to access its entire life-history documentation, and even revert files to previous states to investigate or use them. They can then adapt the repository to their own uses, commit new changes, etc. without affecting the original repository. In addition, both you and your colleagues retain the potential to push and/or pull changes made in one fork of the repository into any other fork.
67+
* Citeable Code: github and zenodo have teamed up to allow specific versions of a [git repository to be assigned a DOI](https://guides.github.com/activities/citable-code/) that people can cite. An example of that is [here](https://github.com/naturalis/monophylizer) (notice the DOI badge at the bottom of the README.md).
68+
* Testable Code: you can make it so that after every push to github, the repository is submitted to a server that runs the tests you have written for your code. This way, users (and yourself) can verify that everything (still) works. An example is [here](https://github.com/naturalis/supersmart) (notice the ''build passing'' badge. Click on it and you can see the test results).
6769

6870
Git Gotchas
6971
-----------
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
We are going to try to run [pipeline.sh](https://github.com/dmlond/arangs2015/blob/master/bin/pipeline.sh). Have a look at the script.
2+
3+
- How many values does the `$FASTQS` variable hold?
4+
- How many values will the `$SAIS` variable hold when running the script? Why?
5+
- How many times will the `$SAM` variable be assigned a value? Is it the same value? Why?
6+
- What's the function of the if/else statements, why would they be there?
7+
- Which programs need to be installed to run pipeline.sh?
8+
- Which versions of these programs do we need (consult the download* scripts)?
9+
- Download and (try to) compile these programs.
10+
- Are there any libraries missing?
11+
- If there are missing libraries, try to install these with the package manager (`apt-get`)
12+
- Make sure the compiled programs are on the `$PATH`.
13+
- Download the data. If you use the download* scripts for this, where will the data end up?
14+
- Will the pipeline.sh be able to find the data there?
15+
- Does it matter where you run the pipeline?

0 commit comments

Comments
 (0)