Class FinalExpressionFeaturesCreator
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.modules.expression.FinalExpressionFeaturesCreator
-
public class FinalExpressionFeaturesCreator extends Object
This class generates the final expression file after counting the alignments for each feature with HTSeq-count.- Since:
- 1.2
- Author:
- Claire Wallon
-
-
Constructor Summary
Constructors Constructor Description FinalExpressionFeaturesCreator(fr.ens.biologie.genomique.kenetre.bio.expressioncounter.ExpressionCounter counter)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initializeExpressionResults()
Clear.void
loadPreResults(File preResultFile)
Load pre result file.void
loadPreResults(InputStream is)
Load pre-result file.void
saveFinalResults(File resultFile)
Save the final results.void
saveFinalResults(OutputStream os)
Save the final results.
-
-
-
Method Detail
-
initializeExpressionResults
public void initializeExpressionResults()
Clear.
-
loadPreResults
public void loadPreResults(File preResultFile) throws IOException
Load pre result file.- Parameters:
preResultFile
- pre-result file- Throws:
IOException
- if an error occurs while reading data
-
loadPreResults
public void loadPreResults(InputStream is) throws IOException
Load pre-result file.- Parameters:
is
- input stream of pre-results- Throws:
IOException
- if an error occurs while reading data
-
saveFinalResults
public void saveFinalResults(File resultFile) throws IOException
Save the final results.- Parameters:
resultFile
- output result file- Throws:
IOException
- if an error occurs while writing data
-
saveFinalResults
public void saveFinalResults(OutputStream os) throws IOException
Save the final results.- Parameters:
os
- output stream- Throws:
IOException
- if an error occurs while writing data
-
-