C# Class CSMSL.IO.MzTab.MzTab

mzTab: exchange format for proteomics and metabolomics results
Show file Open project: dbaileychess/CSMSL Class Usage Examples

Public Properties

Property Type Description
DefaultEncoding System.Text.Encoding
MultipleEntryRegex System.Text.RegularExpressions.Regex

Public Methods

Method Description
GetFieldIndicies ( string fieldName, string &condensedFieldName ) : List
GetLinePrefixText ( LinePrefix prefix ) : string

Private Methods

Method Description
GetArrayName ( string fieldName, int index ) : string
GetArrayName ( string fieldName, int index, int index2 ) : string

Method Details

GetFieldIndicies() public static method

public static GetFieldIndicies ( string fieldName, string &condensedFieldName ) : List
fieldName string
condensedFieldName string
return List

GetLinePrefixText() public static method

public static GetLinePrefixText ( LinePrefix prefix ) : string
prefix LinePrefix
return string

Property Details

DefaultEncoding public static property

The default encoding is UTF8
http://stackoverflow.com/questions/2437666/write-text-files-without-byte-order-mark-bom
public static Encoding,System.Text DefaultEncoding
return System.Text.Encoding

MultipleEntryRegex public static property

A regex for extracting the index part of a multiple field

i.e. fixed_mod[1] fixed_mod[5] etc..

public static Regex,System.Text.RegularExpressions MultipleEntryRegex
return System.Text.RegularExpressions.Regex