Class ExpressionReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
-
- fr.ens.biologie.genomique.eoulsan.modules.expression.hadoop.ExpressionReducer
-
public class ExpressionReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
Reducer for the expression estimation.- Since:
- 1.2
- Author:
- Claire Wallon
-
-
Constructor Summary
Constructors Constructor Description ExpressionReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
reduce(org.apache.hadoop.io.Text key, Iterable<org.apache.hadoop.io.LongWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context)
'key': annotation identifier of the feature (gene, mRNA, exon...).
-
-
-
Method Detail
-
reduce
protected void reduce(org.apache.hadoop.io.Text key, Iterable<org.apache.hadoop.io.LongWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
'key': annotation identifier of the feature (gene, mRNA, exon...). 'values': a list of '1', the size of this list is the number of reads found on the feature.- Overrides:
reduce
in classorg.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
- Throws:
IOException
InterruptedException
-
-