APE analysis