Class ExpressionCounterUtils
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.modules.expression.ExpressionCounterUtils
-
public class ExpressionCounterUtils extends Object
This class define some glue methods between Eoulsan and Kenetre.- Since:
- 2.6
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Integer>count(fr.ens.biologie.genomique.kenetre.bio.expressioncounter.ExpressionCounter counter, DataFile samFile, fr.ens.biologie.genomique.kenetre.util.ReporterIncrementer reporter, String counterGroup)Count the the features.static voidinit(fr.ens.biologie.genomique.kenetre.bio.expressioncounter.ExpressionCounter counter, DataFile genomeDescFile, DataFile annotationFile, boolean gtfFormat)Initialize the counter.static voidinit(fr.ens.biologie.genomique.kenetre.bio.expressioncounter.ExpressionCounter counter, fr.ens.biologie.genomique.kenetre.bio.GenomeDescription genomeDesc, DataFile annotationFile, boolean gtfFormat)Initialize the counter.
-
-
-
Method Detail
-
init
public static void init(fr.ens.biologie.genomique.kenetre.bio.expressioncounter.ExpressionCounter counter, fr.ens.biologie.genomique.kenetre.bio.GenomeDescription genomeDesc, DataFile annotationFile, boolean gtfFormat) throws IOException, fr.ens.biologie.genomique.kenetre.KenetreExceptionInitialize the counter.- Parameters:
counter- the countergenomeDesc- genome descriptionannotationFile- annotation filegtfFormat- true if the input format is in GTF format- Throws:
EoulsanException- if an error occurs while initialize the counterfr.ens.biologie.genomique.kenetre.KenetreException- if an error occurs while reading input filesIOException
-
init
public static void init(fr.ens.biologie.genomique.kenetre.bio.expressioncounter.ExpressionCounter counter, DataFile genomeDescFile, DataFile annotationFile, boolean gtfFormat) throws IOException, fr.ens.biologie.genomique.kenetre.KenetreExceptionInitialize the counter.- Parameters:
counter- the countergenomeDescFile- genome description fileannotationFile- annotation filegtfFormat- true if the input format is in GTF format- Throws:
fr.ens.biologie.genomique.kenetre.KenetreException- if an error occurs while initialize the counterIOException- if an error occurs while reading input files
-
count
public static Map<String,Integer> count(fr.ens.biologie.genomique.kenetre.bio.expressioncounter.ExpressionCounter counter, DataFile samFile, fr.ens.biologie.genomique.kenetre.util.ReporterIncrementer reporter, String counterGroup) throws IOException, fr.ens.biologie.genomique.kenetre.KenetreException
Count the the features.- Parameters:
counter- the countersamFile- SAM filereporter- the reportercounterGroup- the counter group of the reporter- Returns:
- a map with the counts
- Throws:
EoulsanException- if an error occurs while countingIOException- if an error occurs while reading the input filefr.ens.biologie.genomique.kenetre.KenetreException
-
-