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
ee236d89
Commit
ee236d89
authored
8 years ago
by
Holger Brandl
Browse files
Options
Downloads
Patches
Plain Diff
fixed madmax config
parent
87cd7170
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/star_align.kts
+4
-4
4 additions, 4 deletions
dge_workflow/star_align.kts
with
4 additions
and
4 deletions
dge_workflow/star_align.kts
+
4
−
4
View file @
ee236d89
...
...
@@ -8,7 +8,6 @@
import
joblist.JobConfiguration
import
joblist.JobList
import
joblist.ResubmitStrategy
import
kutils.evalBash
import
org.docopt.Docopt
import
java.io.File
...
...
@@ -76,7 +75,7 @@ fastqFiles.filter { !it.isFile }.let {
println
(
"Running STAR using igenome '${igenome}' for the following files:\n ${fastqFiles.joinToString("
\
n
")}"
)
val
jl
=
JobList
(
".starjobs"
)
val
jl
=
JobList
(
".starjobs"
)
.
apply
{
reset
()
}
for
(
fastqFile
in
fastqFiles
)
{
println
(
"submitting STAR job for $fastqFile"
)
...
...
@@ -101,7 +100,7 @@ for (fastqFile in fastqFiles) {
// or use process substiutation in case of zipped reads (see https://github.com/alexdobin/STAR/issues/143#issuecomment-216597465)
// detect if paired end reads are supplied
val
revReads
=
if
(
isPE
)
fastqFile
.
parentFile
.
resolve
(
fastqFile
.
name
.
replace
(
"_1.fastq"
,
"_2.fastq"
)).
path
else
""
val
revReads
=
if
(
isPE
)
fastqFile
.
absoluteFile
.
parentFile
.
resolve
(
fastqFile
.
name
.
replace
(
"_1.fastq"
,
"_2.fastq"
)).
path
else
""
val
cmd
=
"""
STAR --genomeDir ${star_index} --readFilesIn ${fastqFile} ${revReads} --runThreadN 6 ${optionalZcat} --outFileNamePrefix ${fastqBaseName}. --outSAMtype BAM SortedByCoordinate --outSAMstrandField intronMotif --sjdbGTFfile ${gtfFile} --outFilterIntronMotifs RemoveNoncanonicalUnannotated --outFilterType BySJout --quantMode GeneCounts --outFilterMultimapNmax 1 --outSJfilterCountUniqueMin 8 3 3 3
...
...
@@ -113,7 +112,8 @@ for (fastqFile in fastqFiles) {
// todo provide proper walltime here
// slurm memory limit https://rc.fas.harvard.edu/resources/documentation/slurm-memory/
// sacct -o MaxRSS -j JOBID
jl
.
run
(
JobConfiguration
(
cmd
,
"star__${fastqBaseName}"
,
"10:00"
,
""
,
5
,
40000
,
""
,
better
.
files
.
File
(
File
(
"."
).
toPath
())))
// jl.run(JobConfiguration(cmd, "star__${fastqBaseName}", "10:00", "", 5, 40000, "", better.files.File(File(".").toPath())))
jl
.
run
(
JobConfiguration
(
cmd
,
"star__${fastqBaseName}"
,
""
,
"medium"
,
5
,
0
,
""
,
better
.
files
.
File
(
File
(
"."
).
toPath
())))
}
...
...
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