Class PreTreatmentMapper
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
-
- fr.ens.biologie.genomique.eoulsan.modules.mapping.hadoop.PreTreatmentMapper
-
public class PreTreatmentMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>This class defines a mapper for the pretreatment of paired-end data before the reads filtering step.- Since:
- 1.2
- Author:
- Claire Wallon
-
-
Constructor Summary
Constructors Constructor Description PreTreatmentMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanup(org.apache.hadoop.mapreduce.Mapper.Context context)protected voidmap(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.Text value, org.apache.hadoop.mapreduce.Mapper.Context context)'key': offset of the beginning of the line from the beginning of the TFQ file.protected voidsetup(org.apache.hadoop.mapreduce.Mapper.Context context)
-
-
-
Method Detail
-
setup
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException- Overrides:
setupin classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>- Throws:
IOExceptionInterruptedException
-
map
protected void map(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException'key': offset of the beginning of the line from the beginning of the TFQ file. 'value': the TFQ record.- Overrides:
mapin classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>- Throws:
IOExceptionInterruptedException
-
cleanup
protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException- Overrides:
cleanupin classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>- Throws:
IOExceptionInterruptedException
-
-