gov.nih.nci.caarray.services.fileparse2.arraydesign.zonematchers
Class UCSFSpotZoneMatcher
java.lang.Object
gov.nih.nci.caarray.services.fileparse2.arraydesign.zonematchers.DefaultZoneMatcher
gov.nih.nci.caarray.services.fileparse2.arraydesign.zonematchers.UCSFSpotZoneMatcher
- All Implemented Interfaces:
- ZoneMatcher
public class UCSFSpotZoneMatcher
- extends DefaultZoneMatcher
This ZoneMatcher is to look up Zone for a UCSF .spt file. A sub array in
the .spt file is converted to Zone and Zone.name is set to "Block[n]",
e.g Block1, Block2, etc. Then for each parsed feature, its zoneColumn
and zoneRow values are concatenated in the format [zoneColumn] + "-" + [zoneRow]
to be looked up in the mappings returned by the setupZoneMappings()
which uses the Zone's row and column as the key.
- Author:
- TranP
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UCSFSpotZoneMatcher
public UCSFSpotZoneMatcher()
matchZone
public Zone matchZone(java.util.Map zoneMappings,
ParsedFeature parsedFeature)
- Specified by:
matchZone
in interface ZoneMatcher
- Overrides:
matchZone
in class DefaultZoneMatcher
setupZoneMappings
public java.util.Map setupZoneMappings(Zone[] zones)
- Specified by:
setupZoneMappings
in interface ZoneMatcher
- Overrides:
setupZoneMappings
in class DefaultZoneMatcher