SequenceRangeGroupingMergeOverlaps Method (Int64, Boolean) |
For each group in the grouping, this method traverses through each range
in the group and normalizes the ranges down to the minimal spanning set
required to still show the same range spans.
For instance if you had in group 'Chr1' the following ranges:
-> 10 to 100
-> 200 to 250
-> 35 to 45
-> 90 to 150
The result of MergeOverlaps would reduce the ranges in the 'Chr1' group to:
For minOverlap = 0
-> 10 to 150
-> 200 to 250
for minOverlap = -50
-> 10 to 250
Running this method creates all new ISequenceRange objects and adds them
to the newly created SequenceRangeGrouping returned here.
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public SequenceRangeGrouping MergeOverlaps(
long minOverlap = 0,
bool isParentSeqRangesRequired = false
)
Public Function MergeOverlaps (
Optional minOverlap As Long = 0,
Optional isParentSeqRangesRequired As Boolean = false
) As SequenceRangeGrouping
public:
SequenceRangeGrouping^ MergeOverlaps(
long long minOverlap = 0,
bool isParentSeqRangesRequired = false
)
member MergeOverlaps :
?minOverlap : int64 *
?isParentSeqRangesRequired : bool
(* Defaults:
let _minOverlap = defaultArg minOverlap 0
let _isParentSeqRangesRequired = defaultArg isParentSeqRangesRequired false
*)
-> SequenceRangeGrouping
Parameters
- minOverlap (Optional)
- Type: SystemInt64
Minmum length of bases pairs should be overlapped. - isParentSeqRangesRequired (Optional)
- Type: SystemBoolean
If this flag is set to true then the sequence ranges from
which the new sequence range is created are added to the ParentSeqRanges property of the
new sequence range.
Return Value
Type:
SequenceRangeGroupingThe overlapped sequence range grouping.
See Also