Class 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 Detail

      • FinalExpressionFeaturesCreator

        public FinalExpressionFeaturesCreator​(fr.ens.biologie.genomique.kenetre.bio.expressioncounter.ExpressionCounter counter)
        Public constructor.
        Parameters:
        counter - the counter
    • 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