Skip to content

Commit

Permalink
Added test script. Next commit will be via a pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfphxd committed Jan 29, 2016
1 parent bc3a310 commit 4ea9a88
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Background
=============

This repositopry contains a workshop that Marcus Davy gave on 20 Feb 2014 in Palmy. Marcus used moa to steamline the analysis. This version is exactly teh same workshop except
that it uses knitr as moe seems a wee bit out of date and not maintained these days. This versio also uses modules. If you don't have modules available (which you really should) then remove
This repository contains a workshop that Marcus Davy gave on 20 Feb 2014 in Palmy. Marcus used moa to streamline the analysis. This version is exactly th same workshop except
that it uses knitr as moe seems a wee bit out of date and not maintained these days. This version also uses modules. If you don't have modules available (which you really should) then remove
the module call from your knitr scripts. As long as the system finds tassel 3 you are fine.


Expand All @@ -15,9 +15,12 @@ Prerequisites

[![Join the chat at https://gitter.im/biospectrabysequencing/gbs_rmd](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/biospectrabysequencing/gbs_rmd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

- wget
- unzip
- R (>3.1)
- knitr
- tassel 3
- bowtie2
- modules


Expand Down
15 changes: 15 additions & 0 deletions test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Testing
===========

Executing test script
---------------------

```
git clone https://github.com/biospectrabysequencing/gbs_rmd
cd test
Rscript test.R
```


4 changes: 4 additions & 0 deletions test/test.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
library(knitr)

knit("test.Rmd")

14 changes: 14 additions & 0 deletions test/test.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Sanity checks

```{r test-bash, engine='bash'}
wget -h
unzip -h
bowtie2 -h
run_pipeline.pl -h
pandoc test.md -o test.html
```


0 comments on commit 4ea9a88

Please sign in to comment.