SequenceRangeGroupingMergeOverlaps Method (SequenceRangeGrouping, Int64, Boolean) |
Merges query sequence ranges with this sequence ranges.
For example,
Ranges in this instance Ranges in the query
3 to 15 4 to 10
5 to 18 11 to 20
Result for minOverlap set to 1
3 to 20
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(
SequenceRangeGrouping query,
long minOverlap = 0,
bool isParentSeqRangesRequired = false
)
Public Function MergeOverlaps (
query As SequenceRangeGrouping,
Optional minOverlap As Long = 0,
Optional isParentSeqRangesRequired As Boolean = false
) As SequenceRangeGrouping
public:
SequenceRangeGrouping^ MergeOverlaps(
SequenceRangeGrouping^ query,
long long minOverlap = 0,
bool isParentSeqRangesRequired = false
)
member MergeOverlaps :
query : SequenceRangeGrouping *
?minOverlap : int64 *
?isParentSeqRangesRequired : bool
(* Defaults:
let _minOverlap = defaultArg minOverlap 0
let _isParentSeqRangesRequired = defaultArg isParentSeqRangesRequired false
*)
-> SequenceRangeGrouping
Parameters
- query
- Type: BioSequenceRangeGrouping
Query sequence ranges. - 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 merged sequence range grouping.
See Also