Class FastQScreenMappedExceptRefGenomeSampleTest

  • All Implemented Interfaces:
    AozanTest, SampleTest

    public class FastQScreenMappedExceptRefGenomeSampleTest
    extends AbstractSimpleSampleTest
    The class adds in the qc report html one result from fastqScreen for each sample. It print the percent of reads which mapped on at least one genomes except the genome sample.
    Since:
    1.0
    Author:
    Sandrine Perrin
    • Constructor Detail

      • FastQScreenMappedExceptRefGenomeSampleTest

        public FastQScreenMappedExceptRefGenomeSampleTest()
        Public constructor.
    • Method Detail

      • 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
      • getKey

        protected String getKey​(int read,
                                int readSample,
                                int sampleId,
                                int lane,
                                boolean undetermined)
        Description copied from class: AbstractSimpleSampleTest
        Get the the key in the RunData object for the value to test.
        Specified by:
        getKey in class AbstractSimpleSampleTest
        Parameters:
        read - index of the read
        readSample - index of read without indexed reads
        sampleId - the id of the sample
        lane - sample lane
        undetermined - true if the sample is an undetermined sample
        Returns:
        a String with the required key
      • transformValue

        protected Number transformValue​(Number value,
                                        RunData data,
                                        int read,
                                        boolean indexedRead,
                                        int lane)