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
8b2eaaaf
Commit
8b2eaaaf
authored
9 years ago
by
Holger Brandl
Browse files
Options
Downloads
Patches
Plain Diff
save cached jar next to script until
#5
is fixed.
parent
dc74d040
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dge_workflow/star_align.kts
+3
-2
3 additions, 2 deletions
dge_workflow/star_align.kts
dge_workflow/testdata/featcounts_deseq/test_star.sh
+2
-2
2 additions, 2 deletions
dge_workflow/testdata/featcounts_deseq/test_star.sh
with
5 additions
and
4 deletions
dge_workflow/star_align.kts
+
3
−
2
View file @
8b2eaaaf
...
...
@@ -84,10 +84,11 @@ for (fastqFile in fastqFiles) {
// --quantMode GeneCounts see https://groups.google.com/forum/#!searchin/rna-star/GeneCounts/rna-star/gZRJx3ElRNo/p5FjBYKuY00J
// --outSJfilterCountUniqueMin see https://groups.google.com/forum/#!topic/rna-star/_1BeAlGUmpA
val
fastqBaseName
=
fastqFile
.
name
.
replace
(
".fastq.gz"
,
""
)
val
fastqBaseName
=
fastqFile
.
name
.
removeSuffix
(
".gz"
).
removeSuffix
(
".fastq"
)
val
optionalZcat
=
if
(
fastqFile
.
name
.
endsWith
(
"gz"
))
"--readFilesCommand zcat"
else
""
val
cmd
=
"""
STAR --genomeDir $star_index --readFilesIn $fastqFile --runThreadN 6
--readFilesCommand z
cat --outFileNamePrefix ${fastqBaseName}. --outSAMtype BAM SortedByCoordinate --outSAMstrandField intronMotif --sjdbGTFfile $gtfFile --outFilterIntronMotifs RemoveNoncanonicalUnannotated --outFilterType BySJout --quantMode GeneCounts --outFilterMultimapNmax 1 --outSJfilterCountUniqueMin 8 3 3 3
STAR --genomeDir $star_index --readFilesIn $fastqFile --runThreadN 6
${optionalZ
cat
}
--outFileNamePrefix ${fastqBaseName}. --outSAMtype BAM SortedByCoordinate --outSAMstrandField intronMotif --sjdbGTFfile $gtfFile --outFilterIntronMotifs RemoveNoncanonicalUnannotated --outFilterType BySJout --quantMode GeneCounts --outFilterMultimapNmax 1 --outSJfilterCountUniqueMin 8 3 3 3
mv ${fastqBaseName}.Aligned.sortedByCoord.out.bam ${fastqBaseName}.bam
samtools index ${fastqBaseName}.bam
"""
.
trimIndent
()
...
...
This diff is collapsed.
Click to expand it.
dge_workflow/testdata/featcounts_deseq/test_star.sh
+
2
−
2
View file @
8b2eaaaf
...
...
@@ -10,6 +10,6 @@ source $NGS_TOOLS/dge_workflow/dge_utils.sh
#git clone https://github.com/holgerbrandl/kutils && cd kutils && gradle install && cd .. && rm -rf kutils
star_align.kts /local2/igenomes/Mus_Musculus/Ensembl/GRCm38 test.fastq
star_align.kts /local2/igenomes/Mus_Musculus/Ensembl/GRCm38
~/
test.fastq
mailme
"test"
\ No newline at end of file
mailme
"star test done"
\ No newline at end of file
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