|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpotIntensityParser
A spot intensity parser is responsible for parsing and extracting
spot intensity data on a row-by-row basis from a BASEfile.
After parsing the headers of a 'spot' section each registered
spot intensity parser will be asked if the section contains
all needed data columns hasRequiredAssayFields(BaseFileParser, FlatFileParser, List)
.
The first parser that gives a positive response will be used to
parse the spot intensity data for that section.
The actual parsing is done in the second pass.
FirstPassSectionSpotsParser.addSpotIntensityParser(SpotIntensityParser)
Method Summary | |
---|---|
void |
beginSection(BaseFileParser parser,
FlatFileParser ffp,
List<String> assayFields)
Prepare for parsing the data section. |
boolean |
hasRequiredAssayFields(BaseFileParser parser,
FlatFileParser ffp,
List<String> assayFields)
Check the list of assay fields to see if all columns that are required are present or not. |
boolean |
setIntensities(FlatFileParser.Data data,
float[] intensities,
int firstIndex)
Extract the intensity values from the current data line for a single bioassay. |
Method Detail |
---|
boolean hasRequiredAssayFields(BaseFileParser parser, FlatFileParser ffp, List<String> assayFields)
parser
- The master BASEfile parserffp
- The flat file parser that parses the current fileassayFields
- The list of assay fields
void beginSection(BaseFileParser parser, FlatFileParser ffp, List<String> assayFields)
parser
- The master BASEfile parserffp
- The flat file parser that parses the current fileassayFields
- The list of assay fieldsboolean setIntensities(FlatFileParser.Data data, float[] intensities, int firstIndex)
data
- The current data lineintensities
- An array that should be populate with intensity valuesfirstIndex
- The index of the first data column that contains data
for the current bioassay
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |