Class ClusterDensityLaneTest

  • All Implemented Interfaces:
    AozanTest, LaneTest

    public class ClusterDensityLaneTest
    extends AbstractSimpleLaneTest
    This class define a lane test on cluster density.
    Since:
    0.8
    Author:
    Laurent Jourdren
    • Constructor Detail

      • ClusterDensityLaneTest

        public ClusterDensityLaneTest()
        Public constructor.
    • Method Detail

      • getCollectorsNamesRequiered

        public List<String> getCollectorsNamesRequiered()
        Description copied from interface: AozanTest
        Get the name of the collectors required for the test.
        Returns:
        a list of String with the name of the required collectors
      • getKey

        protected String getKey​(int read,
                                boolean indexedRead,
                                int lane)
        Description copied from class: AbstractSimpleLaneTest
        Get the the key in the RunData object for the value to test.
        Specified by:
        getKey in class AbstractSimpleLaneTest
        Parameters:
        read - index of the read
        indexedRead - true if the read is indexed
        lane - index of the lane
        Returns:
        a String with the required key
      • transformValue

        protected Number transformValue​(Number value,
                                        RunData data,
                                        int read,
                                        boolean indexedRead,
                                        int lane)
        Description copied from class: AbstractSimpleLaneTest
        Transform the value.
        Overrides:
        transformValue in class AbstractSimpleLaneTest
        Parameters:
        value - value to transform
        data - run data
        read - index of read
        indexedRead - true if the read is indexed
        lane - lane index
        Returns:
        the transformed value