Class QualityMetricsCollector
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.collectors.interop.QualityMetricsCollector
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLLECTOR_NAME
The sub-collector name from ReadCollector.static String
DATA_PREFIX
static String
FORK_VERSION_5
static String
FORK_VERSION_6
static String
FORK_VERSION_7
-
Constructor Summary
Constructors Constructor Description QualityMetricsCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Remove temporary files.void
collect(RunData data)
Collect data from QualityMetric interOpFile.void
configure(QC qc, CollectorConfiguration conf)
Configure the collector with the path of the run data.List<String>
getCollectorsNamesRequiered()
Get the name of the collectors required to run this collector.File
getInterOpDir()
Gets the directory interOp file path.int
getLanesCount()
Gets the lanes count.String
getName()
Get the name of the collector.fr.ens.biologie.genomique.aozan.collectors.interop.ReadsData.ReadData
getReadData(int read)
Gets the read data.int
getReadFromCycleNumber(int cycleNumber)
Define the readNumber corresponding to the cycle.int
getReadsCount()
Gets the reads count.fr.ens.biologie.genomique.aozan.collectors.interop.ReadsData
getReadsData()
Gets the reads data.boolean
isSummaryCollector()
Test if the class is a summary collector.
-
-
-
Field Detail
-
COLLECTOR_NAME
public static final String COLLECTOR_NAME
The sub-collector name from ReadCollector.- See Also:
- Constant Field Values
-
DATA_PREFIX
public static final String DATA_PREFIX
- See Also:
- Constant Field Values
-
FORK_VERSION_5
public static final String FORK_VERSION_5
- See Also:
- Constant Field Values
-
FORK_VERSION_6
public static final String FORK_VERSION_6
- See Also:
- Constant Field Values
-
FORK_VERSION_7
public static final String FORK_VERSION_7
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Collector
Get the name of the collector.- Returns:
- the name of the collector
-
collect
public void collect(RunData data) throws AozanException
Collect data from QualityMetric interOpFile.- Specified by:
collect
in interfaceCollector
- Parameters:
data
- result data object- Throws:
AozanException
- if an error occurs while collecting data
-
getCollectorsNamesRequiered
public List<String> getCollectorsNamesRequiered()
Get the name of the collectors required to run this collector.- Specified by:
getCollectorsNamesRequiered
in interfaceCollector
- Returns:
- a list of String with the name of the required collectors
-
configure
public void configure(QC qc, CollectorConfiguration conf)
Description copied from interface:Collector
Configure the collector with the path of the run data.
-
getReadFromCycleNumber
public int getReadFromCycleNumber(int cycleNumber) throws AozanException
Define the readNumber corresponding to the cycle.- Parameters:
cycleNumber
- the cycle number- Returns:
- readNumber
- Throws:
AozanException
- if cycleNumber invalid or if no read found
-
getInterOpDir
public File getInterOpDir()
Gets the directory interOp file path.- Returns:
- the directory interOp file path.
-
getLanesCount
public int getLanesCount()
Gets the lanes count.- Returns:
- the lanes count
-
getReadsCount
public int getReadsCount()
Gets the reads count.- Returns:
- the reads count
-
getReadsData
public fr.ens.biologie.genomique.aozan.collectors.interop.ReadsData getReadsData()
Gets the reads data.- Returns:
- the reads data
-
getReadData
public fr.ens.biologie.genomique.aozan.collectors.interop.ReadsData.ReadData getReadData(int read)
Gets the read data.- Parameters:
read
- the read- Returns:
- the read data
-
isSummaryCollector
public boolean isSummaryCollector()
Description copied from interface:Collector
Test if the class is a summary collector. A summary collector must be executed after all the other collectors.- Specified by:
isSummaryCollector
in interfaceCollector
- Returns:
- true if the collector is a summary collector
-
-