src/SequenceDNA.java
/**
     * returns number of ATs in an interval from start to end inclusive of this sequence
     * @param interval  the sequence interval defined start and end indices
     * @return number ATs in interval
     */
returns number of ATs in an interval from start to end inclusive of this sequence
@param interval  the sequence interval defined start and end indices
@return number ATs in interval
returns number of ATs in an interval from start to end inclusive of this sequence @param interval the sequence interval defined start and end indices @return number ATs in interval
int atNumber(int startIndex, int endIndex) {
        int numberAT = 0;
        for (int i = startIndex; i < endIndex + 1; i++) {
            if(sequence.charAt(i) == 'A' || sequence.charAt(i) == 'T') {
                numberAT++;
            }
        }
        return numberAT;
    }
int atNumber ( int startIndex , int endIndex ) { int numberAT = 0 ; for ( int i = startIndex ; i < endIndex + 1 ; i ++ ) { if ( sequence . charAt ( i ) == 'A' || sequence . charAt ( i ) == 'T' ) { numberAT ++ ; } } return numberAT ; }
returns number of ATs in an interval from start to end inclusive of this sequence
 @param interval  the sequence interval defined start and end indices
 @return number ATs in interval
returns number of ATs in an interval from start to end inclusive of this sequence @param interval the sequence interval defined start and end indices @return number ATs in interval