Class Cycle35ErrorRateLaneTest
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.tests.lane.AbstractLaneTest
-
- fr.ens.biologie.genomique.aozan.tests.lane.AbstractSimpleLaneTest
-
- fr.ens.biologie.genomique.aozan.tests.lane.Cycle35ErrorRateLaneTest
-
public class Cycle35ErrorRateLaneTest extends AbstractSimpleLaneTest
This class define a test on error rate on 35 cycle.- Since:
- 0.8
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description Cycle35ErrorRateLaneTest()
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getCollectorsNamesRequiered()
Get the name of the collectors required for the test.protected String
getKey(int read, boolean indexedRead, int lane)
Get the the key in the RunData object for the value to test.protected Class<?>
getValueType()
Get the type of the value.protected boolean
isValuePercent()
Test if the value is a percent.protected Number
transformValue(Number value, RunData data, int read, boolean indexedRead, int lane)
Transform the value.-
Methods inherited from class fr.ens.biologie.genomique.aozan.tests.lane.AbstractSimpleLaneTest
configure, test, testIndexedRead
-
Methods inherited from class fr.ens.biologie.genomique.aozan.tests.lane.AbstractLaneTest
getColumnName, getDescription, getName, getUnit, init
-
-
-
-
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 classAbstractSimpleLaneTest
- Parameters:
read
- index of the readindexedRead
- true if the read is indexedlane
- index of the lane- Returns:
- a String with the required key
-
getValueType
protected Class<?> getValueType()
Description copied from class:AbstractSimpleLaneTest
Get the type of the value.- Specified by:
getValueType
in classAbstractSimpleLaneTest
- Returns:
- a Class object with the type
-
isValuePercent
protected boolean isValuePercent()
Description copied from class:AbstractSimpleLaneTest
Test if the value is a percent.- Overrides:
isValuePercent
in classAbstractSimpleLaneTest
- Returns:
- true if the value is a percent
-
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 classAbstractSimpleLaneTest
- Parameters:
value
- value to transformdata
- run dataread
- index of readindexedRead
- true if the read is indexedlane
- lane index- Returns:
- the transformed value
-
-