Class SubsetFastqCollector
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.collectors.AbstractFastqCollector
-
- fr.ens.biologie.genomique.aozan.collectors.SubsetFastqCollector
-
- All Implemented Interfaces:
Collector
public class SubsetFastqCollector extends AbstractFastqCollector
This class manages the creation of subset fastq files for contamination research.- Since:
- 1.1
- Author:
- Sandrine Perrin
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLLECTOR_NAME
-
Constructor Summary
Constructors Constructor Description SubsetFastqCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description fr.ens.biologie.genomique.aozan.collectors.AbstractFastqProcessThread
collectSample(RunData data, FastqSample fastqSample, File reportDir, boolean runPE)
Collect data for a fastqSample.void
configure(QC qc, CollectorConfiguration conf)
Configure the collector with the path of the run data.List<String>
getCollectorsNamesRequiered()
Collectors to execute before fastqscreen Collector.String
getName()
Get collector name.protected int
getThreadsNumber()
Return the number of thread that the collector can be used for execution.protected boolean
isProcessUndeterminedIndicesSamples()
Test if undetermined indices samples must be processed.protected void
saveResultPart(FastqSample fastqSample, RunData data)
No data file to save in UncompressCollector.-
Methods inherited from class fr.ens.biologie.genomique.aozan.collectors.AbstractFastqCollector
clear, clearTemporaryFiles, collect, getFastqSamples, getTemporaryDir, isProcessAllReads, isProcessStandardSamples, isSummaryCollector
-
-
-
-
Field Detail
-
COLLECTOR_NAME
public static final String COLLECTOR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Get collector name.- Returns:
- name
-
getCollectorsNamesRequiered
public List<String> getCollectorsNamesRequiered()
Collectors to execute before fastqscreen Collector.- Specified by:
getCollectorsNamesRequiered
in interfaceCollector
- Overrides:
getCollectorsNamesRequiered
in classAbstractFastqCollector
- Returns:
- list of names collector
-
configure
public void configure(QC qc, CollectorConfiguration conf)
Description copied from interface:Collector
Configure the collector with the path of the run data.- Specified by:
configure
in interfaceCollector
- Overrides:
configure
in classAbstractFastqCollector
- Parameters:
qc
- QC object for the runconf
- the collector configuration
-
collectSample
public fr.ens.biologie.genomique.aozan.collectors.AbstractFastqProcessThread collectSample(RunData data, FastqSample fastqSample, File reportDir, boolean runPE) throws AozanException
Description copied from class:AbstractFastqCollector
Collect data for a fastqSample.- Specified by:
collectSample
in classAbstractFastqCollector
- Parameters:
data
- result data objectfastqSample
- sample objectreportDir
- the report dirrunPE
- if is a PE run- Returns:
- process thread instance
- Throws:
AozanException
- if an error occurs while execution
-
saveResultPart
protected void saveResultPart(FastqSample fastqSample, RunData data)
No data file to save in UncompressCollector.- Overrides:
saveResultPart
in classAbstractFastqCollector
- Parameters:
fastqSample
- sample objectdata
- RunData corresponding to one sample
-
getThreadsNumber
protected int getThreadsNumber()
Description copied from class:AbstractFastqCollector
Return the number of thread that the collector can be used for execution.- Specified by:
getThreadsNumber
in classAbstractFastqCollector
- Returns:
- number of thread
-
isProcessUndeterminedIndicesSamples
protected boolean isProcessUndeterminedIndicesSamples()
Description copied from class:AbstractFastqCollector
Test if undetermined indices samples must be processed.- Specified by:
isProcessUndeterminedIndicesSamples
in classAbstractFastqCollector
- Returns:
- true if undetermined indices samples must be processed
-
-