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
Compare revisions
765e87245fcc733e09f9c3471bfa6fd42106f941 to cc271741d7ee6a7b74f82e33097b8345ee45cbc9
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
svdetection/svlib
Select target project
No results found
cc271741d7ee6a7b74f82e33097b8345ee45cbc9
Select Git revision
Branches
master
newfilter
Swap
Target
svdetection/svlib
Select target project
svdetection/svlib
1 result
765e87245fcc733e09f9c3471bfa6fd42106f941
Select Git revision
Branches
master
newfilter
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Add ignore file
· 80f0cb83
Floreal Cabanettes
authored
6 years ago
80f0cb83
new filters according to recomendations
· cc271741
Floreal Cabanettes
authored
6 years ago
cc271741
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
svreader/delly.py
+1
-1
1 addition, 1 deletion
svreader/delly.py
svreader/lumpy.py
+5
-1
5 additions, 1 deletion
svreader/lumpy.py
with
7 additions
and
2 deletions
.gitignore
0 → 100644
View file @
cc271741
**__pycache__
This diff is collapsed.
Click to expand it.
svreader/delly.py
View file @
cc271741
...
...
@@ -202,7 +202,7 @@ class DellyReader(SVReader):
# see http://bcb.io/2014/08/12/validated-whole-genome-structural-variation-detection-using-multiple-callers
# TODO : should we modifiy this in order to account for individual
# specific filtering (e.g pe > 5 at least for an individual)
return
(
record
.
pe
>
5
or
(
record
.
pe
>
0
and
record
.
sr
>
0
))
return
(
record
.
pe
>
5
or
record
.
sr
>
0
))
def
bnd_merge
(
sef
,
svtype
,
records
):
"""
...
...
This diff is collapsed.
Click to expand it.
svreader/lumpy.py
View file @
cc271741
...
...
@@ -98,6 +98,10 @@ class LumpyRecord(SVRecord):
def
record
(
self
):
return
self
.
__record
@property
def
sr
(
self
):
return
self
.
__record
.
info
[
'
SR
'
]
def
getAltBND
(
self
):
'''
extract second breakend chr,pos from ALT field
'''
alt
=
self
.
__record
.
ALT
[
0
]
...
...
@@ -180,7 +184,7 @@ class LumpyReader(SVReader):
# Filtering criteria more than 4 PE
# see
# http://bcb.io/2014/08/12/validated-whole-genome-structural-variation-detection-using-multiple-callers
return
(
record
.
MaxIndSupportingRP
()
>
4
)
return
record
.
MaxIndSupportingRP
()
>
4
and
record
.
sr
>
0
class
LumpyWriter
(
SVWriter
):
...
...
This diff is collapsed.
Click to expand it.