Sequence- and structure-based classification of proteins and nsSNPs