public boolean sequenceAndQualityLengthsMatch ( ) { if ( sequence == null && quality == null ) { return true ; } if ( ( sequence != null && quality == null ) || ( sequence == null && quality != null ) ) { return false ; } return sequence . length ( ) == quality . length ( ) ; }
Return true if the sequence and quality scores for this FASTQ formatted sequence builder are equal in length .