home login register your profile contact        
Affymetrix
Products Support Analysis Scientific Community Corporate Careers Shop Affymetrix Japan
Software Developer Network
File SDK Overview
File SDK Downloads
File SDK Object Hierarchy
IGDACEXPFile
IGDACDATFile
IGDACCELFile
IGDACCHPFile
IGDACCDFFile
IGDACProbe
IGDACProbeSet
IGDACProbePair
IGDACControlProbeSet
IGDACCustomSeqComposite
IGDACCustomSeqProbeSet
IGDACCustomSeqProbeGroup
IGDACCustomSeqProbeList
IGDACGenotypeProbeSet
IGDACGenotypeProbeGroup
IGDACGenotypeProbeList
IGdacFileChooserDlg
IGDACFilesMode
File SDK Definitions
File SDK Messages
File SDK Release Notes

IGDACCDFFile


OVERVIEW
The IGDACCDFFile interface provides read-only access to chip description (CDF) files. The CDF file contains layout information about an Affymetrix GeneChip probe array. The layout information describes which probes belong to probe sets on the arrray. Intensity data is not stored in the CDF file and thus are not available from objects retrieved from this class.

COM ATTRIBUTES

AttributeType/Supported
Threading modelBoth
InterfaceDual
AggregationNo
ISupportErrorInfoYes
Connection PointsNo
Free Threading MarshalerNo

PROPERTIES

ChipType
ID

1

Description

The probe array type which is used to identify the CDF file. This value must be set prior to reading the CDF file.

TypeBSTR
Length32 characters
AccessRead-Write
Remarks 

The CDF file name is ChipType.CDF. For example, Hu6800.CDF.

LibPath
ID

2

Description

The directory where the the library files (CDF) are stored. If the requesting CDF file is stored within a LIMS/GCOS server system the format of this property must be "\\<<server_name>>\gclims\library" where <<server_name>> is the name of the LIMS or GCOS server.

TypeBSTR
AccessRead-Write
Remarks

Must be set before using the interface.

FullPathName
ID

3

Description

The full name for the CDF file.

TypeBSTR
AccessRead-only
Remarks

The property value is set after specifying the ChipType and LibPath properties.

Date
ID

4

Description

The file creation timestamp.

TypeBSTR
FormatMMM DD YYYY HH:MM:SS AM/PM
AccessRead-only
Remarks

Read() must be called prior to use.  Returns an empty string if the CDF file has not been read.

Rows
ID

5

Description

This is the number of features in the y direction of the array.

Typelong
AccessRead-only
Remarks

Read() must be called prior to use.  Returns 0 if the CDF file has not been read.

Cols
ID

6

Description

This is the number of features in the x direction of the array.

Typelong
AccessRead-only
Remarks

Read() must be called prior to use.  Returns 0 the CDF file has not been read.

NumProbeSets
ID

7

Description

This is the number of probe sets on the array, not including the control probe sets.

Typelong
AccessRead-only
Remarks

Read() must be called prior to use.  Returns 0 if the CDF file has not been read.

NumQCProbeSets
ID

8

Description

This is the number of control probe sets in the array.

Typelong
AccessRead-only
Remarks

Read() must be called prior to use.  Returns 0 if the CDF file has not been read.

FilterQCType
ID

9

Description

This value is used to filter on the type of control probe set to load.

Typelong
AccessRead-Write
Remarks

Used together with FilterProbeSet property.

It supports bitwise or operation on the GDACFILES_QC_PROBESET_TYPE.By default, all QC types will be returned

FilterProbeSet
ID

10

Description

This value is used to determine the type of probe sets to load.

TypeGDACFILES_FILTER_PROBESET_TYPE
AccessRead-Write
Remarks

Used together with FilterQCType property.

By default, only analysis probesets will be returned.

NumProbeSetsLoaded
ID

11

Description

This is the number of probe sets (expression, genotyping, CustomSeq and control) loaded after the LoadProbeSets function has been invoked.

Typelong
AccessRead-only
Remarks

Set by LoadProbeSets method.

Returns 0 if the CDF file has not been read.

METHODS

Exists
ID

12

DescriptionThis function returns a flag indicating if the CDF file exists within the specified library directory.
PrototypeHRESULT Exists(BOOL *pbExists)
ParametersBOOL *pbExists - Flag indicating existence (output)
ReturnHRESULT - S_OK if successful, E_FAIL otherwise
RemarksThe ChipType and LibPath properties are required.

Read
ID

13

DescriptionReads the contents of the CDF file into memory.
PrototypeHRESULT Read( )
ParametersN/A
ReturnHRESULT - S_OK if successful, E_FAIL otherwise
Remarks

The ChipType and LibPath properties are required.

This method will return an error if the assay type of the CDF file is not Expression.

LoadProbeSets
ID

14

DescriptionThis function loads the analysis and/or QC probe sets into memory based on the FilterQCType and FilterProbeSet properties.
PrototypeHRESULT LoadProbeSets( )
ParametersN/A
ReturnHRESULT - S_OK if successful, E_FAIL otherwise.
RemarksThe user can use NumProbeSetsLoaded property to get the number of probe sets that have been loaded according to the filters specified.

GetProbeSet
ID

15

DescriptionReturns a single expression or control probe set given an index value between 0 and the number of probe sets loaded - 1.
PrototypeHRESULT GetProbeSet(long nIndex, IGDACProbeSet *iProbeSet
Parameterslong nIndex - The index of the probe set (input). Must be between 0 and the number of probe sets loaded (i.e. NumProbeSetsLoaded property)
IGDACProbeSet *iProbeSet - ProbeSet object (input/output)
ReturnHRESULT - S_OK if successful, E_FAIL otherwise
Remarks

LoadProbeSets() must be called prior to use. The contents of the IGDACProbeSet object will be reset if the CDF filehas not been read.

The user has to create the IGDACProbeSet object instance before passing into the method.

GetProbeSets
ID

16

DescriptionReturns an array of expression or control probe sets.
PrototypeHRESULT GetProbeSets(VARIANT *iProbeSets)
ParametersVARIANT *iProbeSets - _variant_t pointer to objects (input/output)
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks

LoadProbeSets() must be called prior to use. The variant will be returned empty (i.e. VT_EMPTY) if the CDF file has not been read.

This method will create an individual IGDACProbeSet instance for each probe set element and add it to the output variant array. The user can use the NumProbeSetsLoaded to get the total number of probe sets available and iterate the variant array. It is required to destroy each object inside the array after use.  

GetCustomSeqProbeSet
ID 17
DescriptionReturns a single CustomSeq probe set given an index value between 0 and the number of probe sets - 1.
PrototypeHRESULT GetCustomSeqProbeSet([in] long nIndex, [in] IGDACCustomSeqProbeSet *iProbeSet)
Parameters long nIndex - The index to the probe set. Must be between 0 and the number of probe sets loaded (input)
IGDACCustomSeqProbeSet *iProbeSet - The probe set data (intput/output).
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks

LoadProbeSets() must be called prior to use. The contents of the IGDACCustomSeqProbeSet object will be reset if the CDF file has not been read.

The user has to create the IGDACCustomSeqProbeSet object instance before passing into the method.

GetCustomSeqProbeSets
ID 18
DescriptionReturns an array of CustomSeq probe sets.
PrototypeHRESULT GetCustomSeqProbeSets([in, out] VARIANT *iProbeSets)
Parameters VARIANT *iProbeSets - _variant_t pointer to objects (input/output)
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks

LoadProbeSets() must be called prior to use. The variant will be returned empty (i.e. VT_EMPTY) if the CDF file has not been read.

This method will create an individual IGDACCustomSeqProbeSet instance for each probe set element and add it to the output variant array. The user can use the NumProbeSetsLoaded to get the total number of probe sets available and iterate the variant array. It is required to destroy each object inside the array after use.  

GetGenotypeProbeSet
ID 19
DescriptionReturns a single genotyping probe set given an index value between 0 and the number of probe sets - 1.
PrototypeHRESULT GetGenotypeProbeSet([in] long nIndex, [in] IGDACGenotypeProbeSet *iProbeSet)
Parameters long nIndex - The index to the probe set. Must be between 0 and the number of probe sets loaded (input)
IGDACGenotypeProbeSet *iProbeSet - The probe set data (intput/output).
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks

LoadProbeSets() must be called prior to use. The contents of the IGDACGenotypeProbeSet object will be reset if the CDF file has not been read.

The user has to create the IGDACGenotypeProbeSet object instance before passing into the method.

GetGenotypeProbeSets
ID 20
DescriptionReturns an array of genotype probe sets.
PrototypeHRESULT GDACGenotypeProbeSets([in, out] VARIANT *iProbeSets)
Parameters VARIANT *iProbeSets - _variant_t pointer to objects (input/output)
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks

LoadProbeSets() must be called prior to use. The variant will be returned empty (i.e. VT_EMPTY) if the CDF file has not been read.

This method will create an individual IGDACGenotypeProbeSet instance for each probe set element and add it to the output variant array. The user can use the NumProbeSetsLoaded to get the total number of probe sets available and iterate the variant array. It is required to destroy each object inside the array after use.  

GetControlProbeSet
ID 21
DescriptionReturns a single control probe set given an index value between 0 and the number of control probe sets - 1.
PrototypeHRESULT GetControlProbeSet([in] long nIndex, [in] IGDACControlProbeSet *iProbeSet)
Parameters long nIndex - The index to the probe set. Must be between 0 and the number of probe sets loaded (input)
IGDACControlProbeSet *iProbeSet - The probe set data (intput/output).
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks

LoadProbeSets() must be called prior to use. The contents of the IGDACControlProbeSet object will be reset if the CDF file has not been read.

The user has to create the IGDACControlProbeSet object instance before passing into the method.

GetControlProbeSets
ID 22
DescriptionReturns an array of control probe sets.
PrototypeHRESULT GetControlProbeSets([in, out] VARIANT *iProbeSets)
Parameters VARIANT *iProbeSets - _variant_t pointer to objects (input/output)
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks

LoadProbeSets() must be called prior to use. The variant will be returned empty (i.e. VT_EMPTY) if the CDF file has not been read.

This method will create an individual IGDACControlProbeSet instance for each probe set element and add it to the output variant array. The user can use the NumProbeSetsLoaded to get the total number of probe sets available and iterate the variant array. It is required to destroy each object inside the array after use.  

GetProbeSetType
ID 23
DescriptionThis function retreives the type of probe set stored at the input index after the LoadProbeSets function has been called.
PrototypeHRESULT GetProbeSetType([in] long nIndex, [out, retval] GDACFILES_PROBESET_TYPE *pVal)
Parameters long nIndex - The desired index
GDACFILES_PROBESET_TYPE*pVal - The type of probe set (input/output).
ReturnThe type of probe set (see the parameter section).
Remarks LoadProbeSets() must be called prior to use. The index must be between 0 and NumProbeSetsLoaded.

GetCustomSeqComposite
ID 24
DescriptionReturns the composite data for a CustomSeq array.
PrototypeHRESULT GetCustomSeqComposite([in] IGDACCustomSeqComposite *iComposite)
Parameters IGDACCustomSeqComposite *iComposite - A pointer to the composite data (input/output).
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks The user has to create the IGDACCustomSeqComposite object instance before passing into the method.

888-DNA-CHIP (888-362-2447) +44 (0) 1628 552550 feedback e-mail support terms of use privacy policy