Class SAMFilterReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
-
- fr.ens.biologie.genomique.eoulsan.modules.mapping.hadoop.SAMFilterReducer
-
public class SAMFilterReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
This class define a reducer for alignments filtering.- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description SAMFilterReducer()
-
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.Text> values, org.apache.hadoop.mapreduce.Reducer.Context context)
'key': identifier of the aligned read, without the integer indicating the pair member if data are in paired-end mode.protected void
setup(org.apache.hadoop.mapreduce.Reducer.Context context)
-
-
-
Method Detail
-
setup
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
- Overrides:
setup
in classorg.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
- Throws:
IOException
InterruptedException
-
reduce
protected void reduce(org.apache.hadoop.io.Text key, Iterable<org.apache.hadoop.io.Text> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
'key': identifier of the aligned read, without the integer indicating the pair member if data are in paired-end mode. 'value': alignments without the identifier part of the SAM line.- Overrides:
reduce
in classorg.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
- Throws:
IOException
InterruptedException
-
-