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
ae3d1340
Commit
ae3d1340
authored
9 years ago
by
Holger Brandl
Browse files
Options
Downloads
Patches
Plain Diff
rreplace mysub with jl submit
parent
815f3301
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dge_workflow/dge_utils.sh
+15
-16
15 additions, 16 deletions
dge_workflow/dge_utils.sh
with
15 additions
and
16 deletions
dge_workflow/dge_utils.sh
+
15
−
16
View file @
ae3d1340
...
...
@@ -96,13 +96,10 @@ for fastqFile in $fastqFiles ; do
continue
;
fi
mysub
"fastqc__
$(
basename
$fastqFile
)
"
"fastqc -j /sw/bin/java -o
$outputDir
-f fastq
$fastqFile
"
-q
medium | joblist .fastqc_jobs
jl submit
-j
.fastqc_jobs
-q
medium
-n
"fastqc__
$(
basename
$fastqFile
)
"
"fastqc -j /sw/bin/java -o
$outputDir
-f fastq
$fastqFile
"
done
wait4jobs .fastqc_jobs
jl
wait
--report
.fastqc_jobs
rend.R
${
NGS_TOOLS
}
/dge_workflow/fastqc_summary.R
$outputDir
...
...
@@ -122,15 +119,13 @@ for fastqFile in $* ; do
echo
"cutadapting
$caFastq
into
$caFastq
"
#todo use a more specific trimming model (trim just correct part on each side without using reverse complements
mysub
"
${
project
}
__ca__
$(
basename
$fastqFile
.fastq.gz
)
"
"cutadapt -b file:
$Ill_ADAPTERS
-m 20 -q 25 -o
$caFastq
$fastqFile
"
-q
long | joblist .cajobs
jl submit
-j
.cajobs
-q
long
-n
"
${
project
}
__ca__
$(
basename
$fastqFile
.fastq.gz
)
"
"cutadapt -b file:
$Ill_ADAPTERS
-m 20 -q 25 -o
$caFastq
$fastqFile
"
done
wait
4jobs
.cajobs
jl
wait
--report
--email
.cajobs
spin.R
${
NGS_TOOLS
}
/dge_workflow/cutadapt_summary.R
.
## todo do a small report here about what has been trimmed away and why
}
...
...
@@ -188,16 +183,18 @@ for fastqFile in $fastqFiles ; do
## uniquely mapping reads only: http:/seqanswers.com/forums/showthread.php?s=93da11109ae12a773a128a637d69defe&t=3464
### tophat -p6 -G $gtfFile -g1 -o test $bowtie_gindex $fastqFile
mysub
"
${
project
}
__tophat__
${
fastqBaseName
}
"
"
tophatCmd
=
"
tophat -p6 -G
$gtfFile
-g1 -o
$outputdir
$bowtie_gindex
$fastqFile
mv
$outputdir
/accepted_hits.bam
$outputdir
/
$(
basename
$outputdir
)
.bam
samtools index
$outputdir
/
$(
basename
$outputdir
)
.bam
"
-n
5
-R
span[hosts
=
1]
-q
medium | joblist .tophatjobs
done
"
wait4jobs .tophatjobs
jl submit
-j
.tophatjobs
-t
5
-q
medium
-n
"
${
project
}
__tophat__
${
fastqBaseName
}
"
"
${
tophatCmd
}
"
done
jl
wait
--report
.tophatjobs
## see https://github.com/fidelram/deepTools/wiki/QC#bamCorrelate
...
...
@@ -270,10 +267,11 @@ fi
for
bamFile
in
$bamFiles
;
do
sample
=
$(
basename
$bamFile
.bam
)
echo
"converting
$bamFile
to bigwig format"
mysub
"
${
project
}
__bw__
${
sample
}
"
"genomeCoverageBed -split -bg -ibam
$bamFile
-g
${
genomeFai
}
| wigToBigWig -clip stdin
${
genomeFai
}
${
sample
}
.bw"
-q
short | joblist .bigwig
jl submit
-j
.bigwig
-q
short
-n
"
${
project
}
__bw__
${
sample
}
"
"genomeCoverageBed -split -bg -ibam
$bamFile
-g
${
genomeFai
}
| wigToBigWig -clip stdin
${
genomeFai
}
${
sample
}
.bw"
done
wait
4jobs
.bigwig
jl
wait
--report
.bigwig
}
export
-f
dge_bigwig
...
...
@@ -404,7 +402,8 @@ echo $gtfFile $bamsSplit | tr "," " " | xargs ls -la
cdCmd
=
"cuffdiff -L
$labels
-o . -p 10
$gtfFile
$bamsSplit
"
echo
"cuffdiff cmd is:
$cdCmd
"
#eval $cdCmd
mysub
"
${
project
}
__cuffdiff"
"
$cdCmd
"
-q
long
-n
4
-R
span[hosts
=
1] | blockScript
jl submit
--wait
-t
4
-q
long
-n
"
${
project
}
__cuffdiff"
"
$cdCmd
"
## create a cuffdiff db using cummerbund in a temporary directory to avoid locking problems
...
...
This diff is collapsed.
Click to expand it.
brandl
@brandl
mentioned in commit
815f3301
·
9 years ago
mentioned in commit
815f3301
mentioned in commit 815f3301b792ea1b2765af1d1496f897d729e2e1
Toggle commit list
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