Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • svdetection/svlib
1 result
Show changes
Commits on Source (2)
**__pycache__
......@@ -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):
"""
......
......@@ -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):
......