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
76102f6c
Commit
76102f6c
authored
5 years ago
by
Jonathan Gesell
Browse files
Options
Downloads
Patches
Plain Diff
Added Hisat2 alignment step. Also made files transferable via links.
parent
19195674
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!37
v0.0.1
,
!15
Resolve "process_align"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
workflow/conf/biohpc.config
+2
-2
2 additions, 2 deletions
workflow/conf/biohpc.config
workflow/rna-seq.nf
+32
-1
32 additions, 1 deletion
workflow/rna-seq.nf
with
34 additions
and
3 deletions
workflow/conf/biohpc.config
+
2
−
2
View file @
76102f6c
...
...
@@ -5,10 +5,10 @@ process {
//
Process
specific
configuration
withName
:
splitData
{
container
=
'docker://bicf/gudmaprbkfilexfer:1.
1
'
container
=
'docker://bicf/gudmaprbkfilexfer:1.
3
'
}
withName
:
getData
{
container
=
'docker://bicf/gudmaprbkfilexfer:1.
1
'
container
=
'docker://bicf/gudmaprbkfilexfer:1.
3
'
}
withName
:
trimData
{
container
=
'docker://bicf/trimgalore:1.1'
...
...
This diff is collapsed.
Click to expand it.
workflow/rna-seq.nf
+
32
−
1
View file @
76102f6c
...
...
@@ -17,6 +17,29 @@ bdbag = Channel
outDir = params.outDir
logsDir = "${outDir}/Logs"
/*
* Pass in programs from the scripts directory, and any default files for later
*/
/*
*Checking the species and spike-in status
*/
if (params.spikein) {
if (params.species == "human") {
reference = file ("/project/BICF/BICF_Core/s181706/github/gudmap/rna-seq/References/GRCh38.p12-S/hisat2")
} else if (params.species == "mouse") {
reference = file ("/project/BICF/BICF_Core/s181706/github/gudmap/rna-seq/References/GRCm38.P6-S/hisat2")
}
} else if (params.species == "mouse") {
reference = file ("/project/BICF/BICF_Core/s181706/github/gudmap/rna-seq/References/GRCm38.P6/hisat2")
} else if (params.species == "human") {
reference = file ("/project/BICF/BICF_Core/s181706/github/gudmap/rna-seq/References/GRCh38.p12/hisat2")
} else {
print ("Warning: Reference genome not specified, defaulting to GRCm38.P6 with NO spike-in")
reference = file ("/project/BICF/BICF_Core/s181706/github/gudmap/rna-seq/References/GRCm38.P6/hisat2")
}
/*
* splitData: split bdbag files by replicate so fetch can occure in parallel, and rename files to replicate rid
*/
...
...
@@ -112,5 +135,13 @@ process alignReads {
input:
set repID, fqs from aligning
file reference
output:
set repID, file ("${repID}.aln.gz"), file ("${repID}.unal.gz"), file ("${repID}.sam")
script:
"""
hisat2 -p `nproc` --add-chrname --mm --al-gz ${repID}.aln.gz --un-gz ${repID}.unal.gz -S ${repID}.sam -x ${reference}/genome -1 ${fqs[0]} -2 ${fqs[1]}
"""
}
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