Click or drag to resize
NewickParser Class
A NewickParser reads from a source of text that is formatted according to the Newick notation flat file specification, and converts the data to in-memory PhylogeneticTree object. Documentation for the latest Newick file format can be found at http://evolution.genetics.washington.edu/phylip/newicktree.html http://en.wikipedia.org/wiki/Newick_format
Inheritance Hierarchy
SystemObject
  Bio.IO.NewickNewickParser

Namespace: Bio.IO.Newick
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public class NewickParser : IPhylogeneticTreeParser, 
	IParser

The NewickParser type exposes the following members.

Constructors
  NameDescription
Public methodNewickParser
Initializes a new instance of the NewickParser class
Top
Properties
  NameDescription
Public propertyDescription
Gets the description of Newick parser. This is intended to give developers some information of the parser class. This property returns a simple description of what the NewickParser class achieves.
Public propertyName
Gets the type of Parser i.e NEWICK. This is intended to give developers some information of the parser class.
Public propertySupportedFileTypes
Gets a comma separated values of the possible file extensions for a Newick file.
Public propertyTreeName
Name for the tree when parsing. If not set, this will be set to a default value of "PhylogeneticTree"
Top
Methods
  NameDescription
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInternalParse
Internal parse method used to parse out the data from a low-level TextReader.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParse(Stream)
Parses a Phylogenetic tree text from a reader into a PhylogeneticTree.
Public methodParse(StringBuilder)
Parses a Phylogenetic tree text from a StringBuilder into a PhylogeneticTree.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also