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
9cccaef7
Commit
9cccaef7
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Correct reference var name
parent
3235c1c4
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!68
Develop
,
!67
Resolve "Change Single Read to Single End for submitted endness"
Pipeline
#9181
passed with stages
in 9 hours, 5 minutes, and 40 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/rna-seq.nf
+8
-8
8 additions, 8 deletions
workflow/rna-seq.nf
with
8 additions
and
8 deletions
workflow/rna-seq.nf
+
8
−
8
View file @
9cccaef7
...
...
@@ -1529,11 +1529,11 @@ process getRef {
# set the reference name
if [ "${species}" == "Mus musculus" ]
then
reference
s
=\$(echo ${referenceBase}/GRCm${refMoVersion})
reference=\$(echo ${referenceBase}/GRCm${refMoVersion})
refName=GRCm
elif [ '${species}' == "Homo sapiens" ]
then
reference
s
=\$(echo ${referenceBase}/GRCh${refHuVersion})
reference=\$(echo ${referenceBase}/GRCh${refHuVersion})
refName=GRCh
else
echo -e "LOG: ERROR - References could not be set!\nSpecies reference found: ${species}" >> ${repRID}.getRef.log
...
...
@@ -1541,12 +1541,12 @@ process getRef {
fi
if [ "${spike}" == "true" ]
then
reference
s
=\$(echo \${reference}-S)
reference=\$(echo \${reference}-S)
elif [ "${spike}" == "false" ]
then
reference=\$(echo \${reference
s
})
reference=\$(echo \${reference})
fi
echo -e "LOG: species set to \${reference
s
}" >> ${repRID}.getRef.log
echo -e "LOG: species set to \${reference}" >> ${repRID}.getRef.log
# retreive appropriate reference appropriate location
echo -e "LOG: fetching ${species} reference files from ${referenceBase}" >> ${repRID}.getRef.log
...
...
@@ -1558,9 +1558,9 @@ process getRef {
elif [ arams.refSource == "datahub" ]
then
echo -e "LOG: grabbing reference files from datahub" >> ${repRID}.getRef.log
GRCv=\$(echo \${reference
s
} | grep -o \${refName}.* | cut -d '.' -f1)
GRCp=\$(echo \${reference
s
} | grep -o \${refName}.* | cut -d '.' -f2)
GENCODE=\$(echo \${reference
s
} | grep -o \${refName}.* | cut -d '.' -f3)
GRCv=\$(echo \${reference} | grep -o \${refName}.* | cut -d '.' -f1)
GRCp=\$(echo \${reference} | grep -o \${refName}.* | cut -d '.' -f2)
GENCODE=\$(echo \${reference} | grep -o \${refName}.* | cut -d '.' -f3)
query=\$(echo 'https://${referenceBase}/ermrest/catalog/2/entity/RNASeq:Reference_Genome/Reference_Version='\${GRCv}'.'\${GRCp}'/Annotation_Version=GENCODE%20'\${GENCODE})
curl --request GET \${query} > refQuery.json
refURL=\$(python ${script_refData} --returnParam URL)
...
...
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