Protein structure analysis using contact maps and secondary structure