Click or drag to resize
PairwiseSequenceAlignment Class
A simple implementation of IPairwiseSequenceAlignment that stores the results as list of Aligned Sequences.
Inheritance Hierarchy
SystemObject
  Bio.Algorithms.AlignmentPairwiseSequenceAlignment

Namespace: Bio.Algorithms.Alignment
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public class PairwiseSequenceAlignment : IPairwiseSequenceAlignment, 
	ISequenceAlignment, ICollection<PairwiseAlignedSequence>, IEnumerable<PairwiseAlignedSequence>, 
	IEnumerable

The PairwiseSequenceAlignment type exposes the following members.

Constructors
  NameDescription
Public methodPairwiseSequenceAlignment
Initializes a new instance of the PairwiseSequenceAlignment class Constructs an empty PairwiseSequenceAlignment.
Public methodPairwiseSequenceAlignment(ISequence, ISequence)
Initializes a new instance of the PairwiseSequenceAlignment class Constructs PairwiseSequenceAlignment with input sequences.
Top
Properties
  NameDescription
Public propertyAlignedSequences
Gets list of the (output) aligned sequences.
Public propertyCount
Gets number of aligned sequence objects in the PairwiseSequenceAlignment.
Public propertyDocumentation
Gets or sets Documentation object is intended for tracking the history, provenance, and experimental context of a PairwiseSequenceAlignment. The user can adopt any desired convention for use of this object.
Public propertyFirstSequence
Gets accessor for the first sequence.
Public propertyIsReadOnly
Gets or sets a value indicating whether PairwiseSequenceAlignment is read-only or not.
Public propertyItem
Returns the nth aligned sequence in the alignment.
Public propertyMetadata
Gets any additional information about the Alignment.
Public propertyPairwiseAlignedSequences
Gets the list of alignments.
Public propertySecondSequence
Gets accessor for the second sequence.
Public propertySequences
Gets list of sequences involved in this alignment.
Top
Methods
  NameDescription
Public methodAdd
Adds an aligned sequence to the list of aligned sequences in the PairwiseSequenceAlignment. Throws exception if sequence alignment is read only.
Public methodAddSequence
Add a new Aligned Sequence Object to the end of the list.
Public methodClear
Clears the PairwiseSequenceAlignment Throws exception if PairwiseSequenceAlignment is read only.
Public methodContains
Returns true if the PairwiseSequenceAlignment contains the aligned sequence in the list of aligned sequences.
Public methodCopyTo
Copies the aligned sequences from the PairwiseSequenceAlignment into an existing aligned sequence array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator for the aligned sequences in the PairwiseSequenceAlignment.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes item from the list of aligned sequences in the PairwiseSequenceAlignment. Throws exception if PairwiseSequenceAlignment is read only.
Public methodToString
Converts the Aligned Sequences to string.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodAppendPairwiseAlignedSequence(PairwiseAlignedSequence)Overloaded.
Yield an Enumeration of the list with the item appended to the end
(Defined by IEnumerableExtensions.)
Public Extension MethodAppendPairwiseAlignedSequence(IEnumerablePairwiseAlignedSequence)Overloaded.
Yield a concatenation of the two Enumerable lists
(Defined by IEnumerableExtensions.)
Public Extension MethodElementAtPairwiseAlignedSequence
Returns the element at a specified index in a sequence.
(Defined by IEnumerableExtensions.)
Public Extension MethodForEachPairwiseAlignedSequence(ActionPairwiseAlignedSequence)Overloaded.
Calls an action on each element of a sequence. The action takes one argument: an element. It has no return value.
(Defined by IEnumerableExtensions.)
Public Extension MethodForEachPairwiseAlignedSequence(ActionPairwiseAlignedSequence, Int32)Overloaded.
Calls an action on each element of a sequence. The action takes two arguments: an element and the index of the element. It has no return value.
(Defined by IEnumerableExtensions.)
Public Extension MethodShufflePairwiseAlignedSequence
Shuffles the elements of a sequence.
(Defined by IEnumerableExtensions.)
Public Extension MethodStringJoinOverloaded.
Creates a string from a sequence of elements. No delimiter is used.
(Defined by IEnumerableExtensions.)
Public Extension MethodStringJoin(String)Overloaded.
Creates a delimited string from a sequence of elements.
(Defined by IEnumerableExtensions.)
Public Extension MethodStringJoin(String, Int32, String)Overloaded.
Creates a delimited string from a sequence of elements. At most maxLength elements will be used and "..." shows that more elements were in the list.
(Defined by IEnumerableExtensions.)
Public Extension MethodSubSequencePairwiseAlignedSequence
Take the items from a sequence starting with item # start (index 0) and contining for count items.
(Defined by IEnumerableExtensions.)
Public Extension MethodToHashSetPairwiseAlignedSequenceOverloaded.
Creates a HashSet from a sequence. If the sequence is already a HashSet, a new HashSet is still created.
(Defined by IEnumerableExtensions.)
Public Extension MethodToHashSetPairwiseAlignedSequence(IEqualityComparerPairwiseAlignedSequence)Overloaded.
Creates a HashSet from a sequence. If the sequence is already a HashSet, a new HashSet is still created.
(Defined by IEnumerableExtensions.)
Public Extension MethodToQueuePairwiseAlignedSequence
Creates a Queue from a sequence. If the sequence is already a Queue, a new Queue is still created.
(Defined by IEnumerableExtensions.)
Top
See Also