code: public static int getCDSLength(GeneChromosomePosition chromPos) {
  
  		List<Integer> exonStarts = chromPos.getExonStarts();
  		List<Integer> exonEnds = chromPos.getExonEnds();
  
  		int cdsStart = chromPos.getCdsStart();
  		int cdsEnd = chromPos.getCdsEnd();
  
  		int codingLength;
  		if (chromPos.getOrientation().equals('+'))
  			codingLength = ChromosomeMappingTools.getCDSLengthForward(exonStarts, exonEnds, cdsStart, cdsEnd);
  		else
  			codingLength = ChromosomeMappingTools.getCDSLengthReverse(exonStarts, exonEnds, cdsStart, cdsEnd);
  		return codingLength;
  	}
docs: Get the length of the CDS in nucleotides.
  
  @param chromPos
  @return length of the CDS in nucleotides.