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
df73c7e9
Commit
df73c7e9
authored
5 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Add local ref
parent
bf9d4f71
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!37
v0.0.1
,
!24
Develop
,
!23
Resolve "process_RSeQC"
Pipeline
#5966
failed with stages
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/rna-seq.nf
+24
-13
24 additions, 13 deletions
workflow/rna-seq.nf
with
24 additions
and
13 deletions
workflow/rna-seq.nf
100755 → 100644
+
24
−
13
View file @
df73c7e9
...
...
@@ -13,7 +13,7 @@ params.deriva = "${baseDir}/../test_data/auth/credential.json"
params.bdbag = "${baseDir}/../test_data/auth/cookies.txt"
//params.repRID = "16-1ZX4"
params.repRID = "Q-Y5JA"
params.refM
u
Version = "38.p6.vM22"
params.refM
o
Version = "38.p6.vM22"
params.refHuVersion = "38.p12.v31"
params.outDir = "${baseDir}/../output"
...
...
@@ -25,8 +25,7 @@ bdbag = Channel
.fromPath(params.bdbag)
.ifEmpty { exit 1, "deriva cookie file for bdbag not found: ${params.bdbag}" }
repRID = params.repRID
refVersion = params.refVersion
refMuVersion = params.refMuVersion
refMoVersion = params.refMoVersion
refHuVersion = params.refHuVersion
outDir = params.outDir
logsDir = "${outDir}/Logs"
...
...
@@ -194,9 +193,11 @@ stranded.into {
}
spike.into{
spike_getRef
spike_rseqc
}
species.into {
species_getRef
species_rseqc
}
/*
...
...
@@ -207,10 +208,6 @@ process getRef {
publishDir "${logsDir}", mode: "copy", pattern: "*.getRef.err"
input:
val referenceBase
val refVersion
val refMuVersion
val refHuVersion
val spike_getRef
val species_getRef
...
...
@@ -223,13 +220,13 @@ process getRef {
ulimit -a >>${repRID}.getRef.err
export https_proxy=\${http_proxy}
# r
etreive appropriate reference from S3 bucket
# r
un set the reference name
if [ "${species_getRef}" == "Mus musculus" ]
then
references=\$(echo ${referenceBase}/
mouse/
GRCm${refM
u
Version})
references=\$(echo ${referenceBase}/GRCm${refM
o
Version})
elif [ '${species_getRef}' == "Homo sapiens" ]
then
references=\$(echo ${referenceBase}/
human/
GRCh${refHuVersion})
references=\$(echo ${referenceBase}/GRCh${refHuVersion})
else
exit 1
fi
...
...
@@ -240,8 +237,17 @@ process getRef {
then
reference=\$(echo \${references}/)
fi
#aws s3 cp "\${references}" ./ --recursive >>${repRID}.getRef.err
cp "\${references}" ./ --recursive >>${repRID}.getRef.err
# retreive appropriate reference appropriate location
if [ ${referenceBase} == "s3://bicf-references" ]
then
aws s3 cp "\${references}" /hisat2 ./ --recursive >>${repRID}.getRef.err
aws s3 cp "\${references}" /bed ./ --recursive >>${repRID}.getRef.err
elif [ ${referenceBase} == "/project/BICF/BICF_Core/shared/gudmap/references" ]
then
cp -R "\${references}"/hisat2 ./ >>${repRID}.getRef.err
cp -R "\${references}"/bed ./ >>${repRID}.getRef.err
fi
"""
}
...
...
@@ -277,6 +283,11 @@ process trimData {
"""
}
reference.into {
reference_alignData
reference_rseqc
}
/*
* alignData: aligns the reads to a reference database
*/
...
...
@@ -288,7 +299,7 @@ process alignData {
val endsManual_alignData
val stranded_alignData
path fastq from fastqs_trimmed
path reference
path reference
_alignData
output:
path ("${repRID}.sorted.bam") into rawBam
...
...
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