Class Q30PercentSampleTest
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.tests.sample.AbstractSampleTest
-
- fr.ens.biologie.genomique.aozan.tests.sample.Q30PercentSampleTest
-
- All Implemented Interfaces:
AozanTest,SampleTest
public class Q30PercentSampleTest extends AbstractSampleTest
This class define a percent Q30 sample test.- Since:
- 0.8
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description Q30PercentSampleTest()Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AozanTest>configure(TestConfiguration conf)Configure the test.List<String>getCollectorsNamesRequiered()Get the name of the collectors required for the test.TestResulttest(RunData data, int read, int readSample, int sampleId)Do a test.-
Methods inherited from class fr.ens.biologie.genomique.aozan.tests.sample.AbstractSampleTest
getColumnName, getDescription, getName, getUnit, init
-
-
-
-
Method Detail
-
getCollectorsNamesRequiered
public List<String> getCollectorsNamesRequiered()
Description copied from interface:AozanTestGet the name of the collectors required for the test.- Returns:
- a list of String with the name of the required collectors
-
test
public TestResult test(RunData data, int read, int readSample, int sampleId)
Description copied from interface:SampleTestDo a test.- Parameters:
data- result objectread- index of readreadSample- index of read without indexed readssampleId- the sample id of the sample to test.- Returns:
- a TestResult object with the result of the test
-
configure
public List<AozanTest> configure(TestConfiguration conf) throws AozanException
Description copied from interface:AozanTestConfigure the test.- Parameters:
conf- the test configuration- Returns:
- list of Aozan tests
- Throws:
AozanException
-
-