Class AbstractFastQCSampleTest

    • Constructor Detail

      • AbstractFastQCSampleTest

        protected AbstractFastQCSampleTest​(String name,
                                           String description,
                                           String columnName)
        Constructor that set the field of this abstract test.
        Parameters:
        name - name of the test
        description - description of the test
        columnName - column name of the test
    • Method Detail

      • test

        public TestResult test​(RunData data,
                               int read,
                               int readSample,
                               int sampleId)
        Description copied from interface: SampleTest
        Do a test.
        Parameters:
        data - result object
        read - index of read
        readSample - index of read without indexed reads
        sampleId - the sample id of the sample to test.
        Returns:
        a TestResult object with the result of the test
      • getCollectorsNamesRequiered

        public List<String> getCollectorsNamesRequiered()
        Description copied from interface: AozanTest
        Get the name of the collectors required for the test.
        Returns:
        a list of String with the name of the required collectors
      • getQCModuleName

        protected abstract String getQCModuleName()
        Get the name of the FastQC module.
        Returns:
        the name of the FastQC module
      • getHTMLAnchorIndex

        protected abstract int getHTMLAnchorIndex()
        Get the anchor index of for the module in FastQC HTML report.
        Returns:
        the position anchor