Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngs_tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioinfo
ngs_tools
Commits
c3958cf3
Commit
c3958cf3
authored
9 years ago
by
Holger Brandl
Browse files
Options
Downloads
Patches
Plain Diff
improved dge template
parent
8e2316e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dge_workflow/dge_master_template.sh
+8
-12
8 additions, 12 deletions
dge_workflow/dge_master_template.sh
dge_workflow/dge_utils.sh
+4
-2
4 additions, 2 deletions
dge_workflow/dge_utils.sh
with
12 additions
and
14 deletions
dge_workflow/dge_master_template.sh
+
8
−
12
View file @
c3958cf3
...
@@ -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
This diff is collapsed.
Click to expand it.
dge_workflow/dge_utils.sh
+
4
−
2
View file @
c3958cf3
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment