Class Fastq


  • public final class Fastq
    extends Object
    FASTQ formatted sequence.
    Since:
    1.7.1
    • Method Detail

      • getDescription

        public String getDescription()
        Return the description of this FASTQ formatted sequence. The description will not be null.
        Returns:
        the description of this FASTQ formatted sequence
      • getSequence

        public String getSequence()
        Return the sequence for this FASTQ formatted sequence. The sequence will not be null.
        Returns:
        the sequence for this FASTQ formatted sequence
      • getQuality

        public String getQuality()
        Return the quality scores for this FASTQ formatted sequence. The quality scores will not be null.
        Returns:
        the quality scores for this FASTQ formatted sequence
      • getVariant

        public FastqVariant getVariant()
        Return the FASTQ sequence format variant for this FASTQ formatted sequence. The FASTQ sequence format variant will not be null.
        Returns:
        the FASTQ sequence format variant for this FASTQ formatted sequence
      • convertTo

        public Fastq convertTo​(FastqVariant variant)
        Create and return a new FASTQ formatted sequence from this converted to the specified FASTQ sequence format variant.
        Parameters:
        variant - FASTQ sequence format variant, must not be null
        Returns:
        a new FASTQ formatted sequence from this converted to the specified FASTQ sequence format variant
        Since:
        1.9.3
      • builder

        public static final FastqBuilder builder()
        Create and return a new FastqBuilder. The FastqBuilder will not be null.
        Returns:
        a new FastqBuilder
      • builder

        public static final FastqBuilder builder​(Fastq fastq)
        Create and return a new FastqBuilder configured from the specified FASTQ formatted sequence. The FastqBuilder will not be null.
        Parameters:
        fastq - FASTQ formatted sequence, must not be null
        Returns:
        a new FastqBuilder configured from the specifed FASTQ formatted sequence
        Since:
        1.9.5