CyDAS Home funded by Sponsor: DFG
ISCNAnalyser Documentation Class Double Minutes Class Fusion Documentation Section HowTo Section Online Analysis Section Download Section Resources Section About Section

Class Fragment

The class Fragment describes a part of a (derivative) chromosome. It describes the start and end points of that part and provides functions for determining the relative position of the fragment on the chromosome.

Example: The derivative Philadelphia chromosome der(22)(22pter->22q112::9q34->9qter) consists of two fragments, "22pter->22q112" and "9q34->9qter", respectively.

Overview

Fragment
New()
New(Fragment: String)
New(Fragment: String, Format: String)
New(ByRef Band1: Band, ByRef Band2: Band)
New(ByRef StartBand: Band, FragmentWillContainCentromere As Boolean = False)
New(ByVal ContainsCentromere As Boolean)
EndBand: Band
StartBand: Band
clone(): Object {Implements ICloneable.Clone}
compareTo(obj: Object): Integer {Implements IComparable.CompareTo}
containsFragment(ByRef compareFragment: Fragment): Boolean
endsOnCentromere(): Boolean
extendsOverBand(ByRef CompareBand: Band): Boolean
extendsOverCentromer(): Boolean
getBandClosestToPTer(): Band
getBandClosestToQTer(): Band
getChromosome: String
getChromosomeWithoutUncertainty: String
getCentromere(): Band
getContainedBands(Resolution: eResolutionLevel): Bands
getFirstBand(): Band
getOrientation: eOrientation
getSecondBand(): Band
inverted(): Fragment
isFullChromosome(): Booelan
isPTerminalTo(ByRef CompareBand: Band): Boolean
isPTerminalTo(ByRef CompareFragment: Fragment): Boolean
toString(): String
toString(format: String): String
translateOrientationToString(OrientationValue: eOrientation): String {static}
translateStringToOrientation(OrientationString: String): eOrientation {static}

Programming Language

Availability

Constructors

Public Sub New()

Initializes an instance of the Fragment class.

Parameters

Remarks

Public Sub New(ByVal Fragment As String)

Initializes an instance of the Fragment class.

Parameters

Exceptions

Remarks

Examples

Public Sub New(ByVal Fragment As String, ByVal Format As String)

Initializes an instance of the Fragment class.

Parameters

Exceptions

Remarks

Examples

Public Sub New(ByRef Band1 As Band, ByRef Band2 As Band)

Initializes an instance of the Fragment class. The fragment extends from Band1 to Band2.

Parameters

Examples

Public Sub New(ByRef StartBand As Band, Optional ByVal FragmentWillContainCentromere As Boolean = False)

Initializes an instance of the Fragment class. The fragment starts at StartBand and extends to a terminus of the chromosome via or not via the centromere.

Parameters

Remarks

Examples

Public Sub New(ByVal ContainsCentromere As Boolean)

Initializes an instance of the Fragment class. The fragment starts is of unknown origin but may or may not contain a centromere.

Parameters

Remarks

Interfaces

IComparable

is implemented with the compareTo function.

ICloneable

is implemented with the clone function.

Enumerations

The class provides an enumerations for the orientation of a fragment.

Enum eOrientation

This enumeration describes the orientation of a fragment. If the fragment is oriented from p-terminus to q-terminus, it is along the plus-strand. This nomenclature basically coincides with the nomenclature used by the human genome project.
Value Meaning
PlusStrand = 1 from p-ter to q-ter.
Unknown = 0 the orientation cannot be determined.
MinusStrand = -1 from q-ter to p-ter.

Properties

Public Property EndBand() As Band

Gets or sets the band the fragment ends with.

Property Value

Parameters

Exceptions

Remarks

Public Property StartBand() As Band

Gets or sets the band the fragment starts with.

Property Value

Parameters

Exceptions

Remarks

Methods

Public Function clone() As Object Implements ICloneable.Clone

Creates a deep copy of the Fragment object.

Return Value

Implements

Remarks

Public Function compareTo(ByVal obj As Object) As Integer Implements IComparable.CompareTo

Compares this instance to a specified Fragment object and returns an indication of their relative values.

Return Value

Parameters

Exceptions

Implements

Remarks

Public Function containsFragment(ByRef CompareFragment As Fragment) As Boolean

Determines whether CompareBand is conatined in this fragment.

Return Value

Parameters

Remarks

Public Function endsOnCentromere() As Boolean

Determines whether one terminal band of this fragment is a centromere.

Return Value

Parameters

Remarks

Public Function extendsOverBand(ByRef CompareBand As Band) As Boolean

Determines whether CompareBand resides on this fragment.

Return Value

Parameters

Remarks

Examples

Public Function extendsOverCentromer() As Boolean

Determines whether this fragment contains a centromer.

Return Value

Remarks

Examples

Public Function getBandClosestToPTer() As Band

Returns the terminal band of this fragment which is closest to the p-terminus.

Return Value

Examples

Public Function getBandClosestToQTer() As Band

Returns the terminal band of this fragment which is closest to the q-terminus.

Return Value

Examples

Public Function getChromosome() As String

Gets the number of the chromosome the fragment resides on.

Return Value

Remarks

Public Function getChromosomeWithoutUncertainty() As String

Gets the number of the chromosome the fragment resides on. Uncertainties are removed from the number

Return Value

Remarks

Public Function getCentromere() As Band

Gets a Band corresponding to the centromere residing on this fragment.

Return Value

Remarks

Public Function getContainedBands(ByVal Resolution As Band.eResolutionLevel) As Bands

Produces a list of all chromosomal bands which reside on the fragment at the given resolution. Bands are ordered from the start band of the fragment to the end band.

Return Value

Parameters

Exceptions

Public Function getFirstBand() As Band

Gets the first Band of the fragment.

Return Value

Parameters

Remarks

Public Function getOrientation() As eOrientation

Gets a value indicating the orientation of the fragment.

Property Value

Parameters

Remarks

Examples

Public Function getSecondBand() As Band

Gets the second band of the fragment.

Return Value

Parameters

Remarks

Public Function inverted() As Fragment

Returns a Fragment with the same end points, but in the inverted orientation.

Return Value

Remarks

Public Function isFullChromosome() As Boolean

Determines whether the fragment describes a full (non-aberrant) chromosome.

Return Value

Parameters

Remarks

Examples

Public Function isPTerminalTo(ByRef CompareBand As Band) As Boolean

Determines whether the p-terminal end of the fragment resides closer to the p-terminus of the chromosome than does CompareBand.

Return Value

Parameters

Remarks

Examples

Public Function isPTerminalTo(ByRef CompareFragment As Fragment) As Boolean

Determines whether the p-terminal end of this fragment resides closer to the p-terminus of the chromosome than does the p-terminal end of CompareFragment.

Return Value

Parameters

Remarks

Examples

Public Shadows Function toString() As String

Returns a textual description of the fragment in the style "StartBand->EndBand".

Return Value

Remarks

Public Shadows Function toString(ByVal format As String) As String

Returns a textual description of the fragment in the specified format.

Return Value

Parameters

Remarks

Public Shared Function translateOrientationToString(ByValOrientationValue As eOrientation) As String

Returns a short description indicating the orientation.

Return Value

Parameters

Public Shared Function translateStringToOrientation(ByRef OrientationString As String) As eOrientation

Returns a value of the eOrientation enumeration corresponding to the short description.

Return Value

Parameters

Exceptions

Interaction with other classes

Classes using Fragment

Fragment objects are integral constituents of the Chromosome class, because a derivative chromosome is described by an ordered list of fragments. Also the QuantitativeAberration object contains a Fragment object which is marked gained or lost.

Fragment objects are also used by the Aberration class when determining gains and losses infered by an aberration.

Classes used by Fragment

Two Band objects are constituent parts of the Fragment class.

A Bands object is used as a return value for a list of all bands contained in the fragment.