Mercurial > repos > vipints > rdiff
comparison rDiff/examples/run_example.sh @ 0:0f80a5141704
version 0.3 uploaded
author | vipints |
---|---|
date | Thu, 14 Feb 2013 23:38:36 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0f80a5141704 |
---|---|
1 #/bin/bash | |
2 include ../bin/rdiff_config.sh | |
3 | |
4 set -e | |
5 | |
6 echo | |
7 echo ${PROG}: This program is part of the rDiff version $RDIFF_VERSION. | |
8 echo | |
9 echo rDiff performs differential expression testing from RNA-Seq measurements. | |
10 echo | |
11 | |
12 if [ -z "$1" -o "$1" == '--help' ]; | |
13 then | |
14 echo Usage: $0 poisson\|param\|nonparam | |
15 echo " or:" $0 --help | |
16 false | |
17 fi | |
18 if [ "$1" != 'poisson' -a "$1" != 'param' -a "$1" != 'nonparam' ]; | |
19 then | |
20 echo invalid parameter: $1 | |
21 false | |
22 fi | |
23 | |
24 | |
25 | |
26 ../bin/rdiff -o results -d data/ -a example_condition_A_replicate_1.bam,example_condition_A_replicate_2.bam -b example_condition_B_replicate_1.bam,example_condition_B_replicate_2.bam -g data/genes_example.gff3 -m $1 |