Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
svlib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SVdetection
svlib
Commits
2f124943
Commit
2f124943
authored
6 years ago
by
Thomas Faraut
Browse files
Options
Downloads
Patches
Plain Diff
fixing bug in lumpy parser
parent
f2a499b0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
svreader/__init__.py
+1
-1
1 addition, 1 deletion
svreader/__init__.py
svreader/lumpy.py
+1
-1
1 addition, 1 deletion
svreader/lumpy.py
with
2 additions
and
2 deletions
svreader/__init__.py
+
1
−
1
View file @
2f124943
...
@@ -213,7 +213,7 @@ class SVReader(object):
...
@@ -213,7 +213,7 @@ class SVReader(object):
if
(
sv
[
4
]
!=
"
.
"
if
(
sv
[
4
]
!=
"
.
"
and
sv
[
4
]
!=
"
-1
"
and
sv
[
4
]
!=
"
-1
"
and
float
(
sv
[
-
1
])
<
cutoff_proximity
):
and
float
(
sv
[
-
1
])
<
cutoff_proximity
):
print
(
"
-
"
.
join
(
sv
))
#
print("-".join(sv))
excluded
[
sv
[
3
]]
=
1
excluded
[
sv
[
3
]]
=
1
vcf_records_filtered
=
[]
vcf_records_filtered
=
[]
...
...
This diff is collapsed.
Click to expand it.
svreader/lumpy.py
+
1
−
1
View file @
2f124943
...
@@ -184,7 +184,7 @@ class LumpyReader(SVReader):
...
@@ -184,7 +184,7 @@ class LumpyReader(SVReader):
# Filtering criteria more than 4 PE
# Filtering criteria more than 4 PE
# see
# see
# http://bcb.io/2014/08/12/validated-whole-genome-structural-variation-detection-using-multiple-callers
# http://bcb.io/2014/08/12/validated-whole-genome-structural-variation-detection-using-multiple-callers
return
record
.
MaxIndSupportingRP
()
>
4
and
record
.
sr
>
0
return
record
.
MaxIndSupportingRP
()
>
4
and
record
.
sr
[
0
]
>
0
class
LumpyWriter
(
SVWriter
):
class
LumpyWriter
(
SVWriter
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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