Skip to content
Snippets Groups Projects
Commit c3958cf3 authored by Holger Brandl's avatar Holger Brandl
Browse files

improved dge template

parent 8e2316e6
No related branches found
No related tags found
No related merge requests found
...@@ -147,11 +147,12 @@ dge_merge_treps $baseDir/mapped/ $bio_reps ...@@ -147,11 +147,12 @@ dge_merge_treps $baseDir/mapped/ $bio_reps
mcdir $baseDir/cuffdiff mcdir $baseDir/cuffdiff
gtfFile=$igenome/Annotation/Genes/genes.gtf gtfFile=$igenome/Annotation/Genes/genes.gtf
head $gtfFile
## define labels to split bam files into replicate groups ## define labels to split bam files into replicate groups
#labels=$(csvcut -t -c1 $baseDir/lanereps_pooled/sample2replicates.txt | tail -n+2 | uniq | xargs echo | sed 's/ /,/g') labels=$(csvcut -t -c1 $baseDir/lanereps_pooled/sample2replicates.txt | tail -n+2 | uniq | xargs echo | sed 's/ /,/g')
## better externalize them ## todo better externalize them
labels=<<<<TBD>>>> #labels=<<<<TBD>>>>
dge_cuffdiff $gtfFile $baseDir/mapped $labels dge_cuffdiff $gtfFile $baseDir/mapped $labels
...@@ -171,15 +172,10 @@ spin.R $DGE_HOME/cuffdiff_report.R .. ...@@ -171,15 +172,10 @@ spin.R $DGE_HOME/cuffdiff_report.R ..
######################################################################################################################## ########################################################################################################################
### Sync back to project space ### Sync back to project space
# uni ## bidirectional sync with project space
screen -R rsync_$project
## main sync
## todo define mount path on bioinfo for bidirectional synching ## todo define mount path on bioinfo for bidirectional synching
~/bin/unison $baseDir ssh://bioinfo///home/brandl/mnt/<<MOUNT_PATH>> -fastcheck true -times -perms 0 ~/bin/unison $baseDir ssh://bioinfo///home/brandl/mnt/<<MOUNT_PATH>> -fastcheck true -times -perms 0
# uni-directional sync
rsync -avsn --delete $baseDir brandl@fileserver:/projects//file/server/path #rsync -avsn --delete $baseDir brandl@fileserver:/projects//file/server/path
mailme "$project: sync done"
mailme "$project: rsync done" \ No newline at end of file
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
## http://blog.joncairns.com/2013/08/what-you-need-to-know-about-bash-functions/ ## http://blog.joncairns.com/2013/08/what-you-need-to-know-about-bash-functions/
## load lsf helpers ## load lsf helpers
source <(curl https://raw.githubusercontent.com/holgerbrandl/datautils/v1.9/bash/lsf_utils.sh 2>&1 2>/dev/null) source <(curl https://raw.githubusercontent.com/holgerbrandl/datautils/v1.10/bash/lsf_utils.sh 2>&1 2>/dev/null)
## enable snippet spinning ## enable snippet spinning
source <(curl https://raw.githubusercontent.com/holgerbrandl/datautils/master/R/spinr/spin_utils.sh 2>&1 2>/dev/null) source <(curl https://raw.githubusercontent.com/holgerbrandl/datautils/v1.10/R/spinr/spin_utils.sh 2>&1 2>/dev/null)
## define common binaries ## define common binaries
## todo tweak this to work on bioinfo as well
export PATH=/projects/bioinfo/holger/bin/bowtie2-2.2.2:$PATH export PATH=/projects/bioinfo/holger/bin/bowtie2-2.2.2:$PATH
export PATH=/projects/bioinfo/holger/bin/tophat-2.0.13.Linux_x86_64:$PATH export PATH=/projects/bioinfo/holger/bin/tophat-2.0.13.Linux_x86_64:$PATH
export PATH=/home/brandl/bin/cufflinks-2.2.1.Linux_x86_64:$PATH export PATH=/home/brandl/bin/cufflinks-2.2.1.Linux_x86_64:$PATH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment