Click or drag to resize
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: Bio
Assembly: 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
)

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: SequenceRangeGrouping
The overlapped sequence range grouping.
See Also