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
e108c736
Commit
e108c736
authored
4 years ago
by
Jonathan Gesell
Browse files
Options
Downloads
Plain Diff
Merge branch '44-stranded.logic' into '45-parallelizeTin'
Fix infer logic See merge request
!25
parents
af133ded
28850994
Branches
Branches containing commit
Tags
Tags containing commit
4 merge requests
!37
v0.0.1
,
!27
Develop
,
!26
Resolve "Chunk bam for parallel tin calculation"
,
!25
Fix infer logic
Pipeline
#6339
failed with stages
in 1 hour, 24 minutes, and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/rna-seq.nf
+4
-4
4 additions, 4 deletions
workflow/rna-seq.nf
with
4 additions
and
4 deletions
workflow/rna-seq.nf
+
4
−
4
View file @
e108c736
...
...
@@ -431,7 +431,7 @@ process inferMetadata {
set path (inBam), path (inBai), path (inBamChr) from dedupBam_inferMeta
output:
path "infer.
c
sv" into inferedMetadata
path "infer.
t
sv" into inferedMetadata
path "${inBam.baseName}.tin.xls" into tin
path "${repRID}.insertSize.inner_distance_freq.txt" optional true into innerDistance
...
...
@@ -456,7 +456,7 @@ process inferMetadata {
percentF=`bash inferMeta.sh sef ${repRID}.rseqc.log`
percentR=`bash inferMeta.sh ser ${repRID}.rseqc.log`
fi
if [ \$percentF
-gt
0.25 ] && [ \$percentR
-lt
0.25 ]
if [
1 -eq \$(echo \$(expr
\$percentF
">"
0.25
))
] && [
1 -eq \$(echo \$(expr
\$percentR
"<"
0.25
))
]
then
stranded="forward"
if [ \$endness == "PairEnd" ]
...
...
@@ -465,7 +465,7 @@ process inferMetadata {
else
strategy="++,--"
fi
elif [ \$percentR
-gt
0.25 ] && [ \$percentF
-lt
0.25 ]
elif [
1 -eq \$(echo \$(expr
\$percentR
">"
0.25
))
] && [
1 -eq \$(echo \$(expr
\$percentF
"<"
0.25
))
]
then
stranded="reverse"
if [ \$endness == "PairEnd" ]
...
...
@@ -487,6 +487,6 @@ process inferMetadata {
# write infered metadata to file
echo \${endness}
,
\${stranded}
,
\${strategy}
,
\${percentF}
,
\${percentR}
,
\${fail} > infer.
c
sv
echo
-e
\${endness}
'\\t'
\${stranded}
'\\t'
\${strategy}
'\\t'
\${percentF}
'\\t'
\${percentR}
'\\t'
\${fail} > infer.
t
sv
"""
}
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