Class GenomeNamesSampleTest

  • All Implemented Interfaces:
    AozanTest, SampleTest

    public class GenomeNamesSampleTest
    extends AbstractSimpleSampleTest
    This class define a test to get the genome(s) reference(s) of a sample.
    Since:
    3.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • GenomeNamesSampleTest

        public GenomeNamesSampleTest()
        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