Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
GUDMAP_RBK
RNA-seq
Commits
d92d93f9
Commit
d92d93f9
authored
5 years ago
by
Jonathan Gesell
Browse files
Options
Downloads
Patches
Plain Diff
Updated Hisat2 options, and output of parseMeta.
parent
25502c3d
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!37
v0.0.1
,
!15
Resolve "process_align"
Pipeline
#5772
failed with stages
in 8 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
workflow/rna-seq.nf
+3
-3
3 additions, 3 deletions
workflow/rna-seq.nf
workflow/scripts/parseMeta.py
+6
-3
6 additions, 3 deletions
workflow/scripts/parseMeta.py
with
9 additions
and
6 deletions
workflow/rna-seq.nf
+
3
−
3
View file @
d92d93f9
...
...
@@ -197,7 +197,7 @@ if (spike == 'yes') {
reference = Channel.fromPath ("/project/BICF/BICF_Core/shared/gudmap/references/GRCm38.P6/hisat2")
}
}
reference.subscribe { println "$it" }
//
reference.subscribe { println "$it" }
/*
* trimData: trims any adapter or non-host sequences from the data
...
...
@@ -249,8 +249,8 @@ process alignReads {
script:
"""
if [ "${endsManual_alignReads}" == 'pe' ]; then
hisat2 -p `nproc` --add-chrname --un-gz ${repRID}.unal.gz -S ${repRID}.sam -x ${reference}/genome -1 ${fqs[0]} -2 ${fqs[1]} 1>${repRID}.align.out 2>${repRID}.align.err;
else hisat2 -p `nproc` --add-chrname --un-gz ${repRID}.unal.gz -S ${repRID}.sam -x ${reference}/genome -U ${fqs[0]} 1>${repRID}.align.out 2>${repRID}.align.err;
hisat2 -p `nproc` --add-chrname --un-gz ${repRID}.unal.gz -S ${repRID}.sam -x ${reference}/genome
${stranded_alignReads}
-1 ${fqs[0]} -2 ${fqs[1]} 1>${repRID}.align.out 2>${repRID}.align.err;
else hisat2 -p `nproc` --add-chrname --un-gz ${repRID}.unal.gz -S ${repRID}.sam -x ${reference}/genome
${stranded_alignReads}
-U ${fqs[0]} 1>${repRID}.align.out 2>${repRID}.align.err;
fi;
samtools view -1 --threads `nproc` -o ${repRID}.bam ${repRID}.sam 1>>${repRID}.align.out 2>>${repRID}.align.err;
samtools sort -@ `nproc` -O BAM -o ${repRID}.bam 1>>${repRID}.align.out 2>>${repRID}.align.err;
...
...
This diff is collapsed.
Click to expand it.
workflow/scripts/parseMeta.py
+
6
−
3
View file @
d92d93f9
...
...
@@ -54,9 +54,12 @@ def main():
# Get strandedness metadata from 'Experiment Settings.csv'
if
(
args
.
parameter
==
"
stranded
"
):
if
(
metaFile
.
Has_Strand_Specific_Information
.
unique
()
==
"
yes
"
):
stranded
=
"
stranded
"
if
endsManual
==
"
se
"
:
stranded
=
"
--rna-strandness F
"
else
:
stranded
=
"
--rna-strandness FR
"
elif
(
metaFile
.
Has_Strand_Specific_Information
.
unique
()
==
"
no
"
):
stranded
=
"
unstranded
"
stranded
=
""
else
:
print
(
"
Stranded metadata not match expected options:
"
+
metaFile
.
Has_Strand_Specific_Information
.
unique
())
exit
(
1
)
...
...
@@ -85,4 +88,4 @@ def main():
print
(
species
)
if
__name__
==
'
__main__
'
:
main
()
\ No newline at end of file
main
()
This diff is collapsed.
Click to expand it.
Preview
0%
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