annotate SMART/DiffExpAnal/deseq.sh @ 18:94ab73e8a190

Uploaded
author m-zytnicki
date Mon, 29 Apr 2013 03:20:15 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
1 #! /bin/sh
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
2
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
3 #Arguments :
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
4 #$1=targetFile(the list of files)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
5 #$2=with or without header
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
6 #$3=with or without replicates
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
7 #$4=OUT_HTML.html
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
8 #$5=OUT_HTML images directory
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
9 #$6=OUT_complete.xls
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
10 #$7=OUT_up.xls
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
11 #$8=OUT_down.xls
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
12
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
13 #run example:
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
14 #bash deseq.sh DESeqTools/targetTest.txt 1 1 testOUT_HTML.html /tmp/ testOUT_complet.xls testOUT_up.xls testOUT_down.xls
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
15
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
16 #echo $5
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
17 #mkdir -p $5 #First, create the images tmp directory given by Galaxy, -p option can create the parent directory which dosen't exist.
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
18
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
19 mkdir -p $5
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
20 MY_PATH=`dirname $0`
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
21 cat $MY_PATH/DESeqTools/anadiffGenes2conds.R | R --slave --args $1 $2 $3 $4 $5 $6 $7 $8 $0 < $MY_PATH/DESeqTools/anadiffGenes2conds.R