public class CelValidator extends Object
Constructor and Description |
---|
CelValidator()
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
copyMetadata(affymetrix.fusion.cel.FusionCELData cel,
RawBioAssay rba)
Copy metadata from the CEL file to the raw bioassay.
|
affymetrix.fusion.cel.FusionCELData |
loadCelFile(File celFile)
Load a CEL file using the Affymetric Fusion SDK.
|
void |
resetMetadata(RawBioAssay rba)
Reset metadata on the given raw bioassay.
|
private void |
setHeader(RawBioAssay rba,
String name,
String value) |
void |
validateCelAndCdf(affymetrix.fusion.cel.FusionCELData cel,
affymetrix.fusion.cdf.FusionCDFData cdf,
String cdfChipType)
Check if the loaded CEL and CDF files matches.
|
private void setHeader(RawBioAssay rba, String name, String value)
public affymetrix.fusion.cel.FusionCELData loadCelFile(File celFile)
celFile
- The file to loadItemNotFoundException
- If the actual file is not on the serverInvalidDataException
- If the file is not a CEL filepublic void copyMetadata(affymetrix.fusion.cel.FusionCELData cel, RawBioAssay rba)
cel
- The CEL filerba
- The raw bioassaypublic void resetMetadata(RawBioAssay rba)
rba
- The raw bioassaypublic void validateCelAndCdf(affymetrix.fusion.cel.FusionCELData cel, affymetrix.fusion.cdf.FusionCDFData cdf, String cdfChipType) throws InvalidDataException
cel
- The CEL fila datacdf
- The CDF file datacdfChipType
- The CDF chip typeInvalidDataException