public void getCategories ( ) { // download SCOP if required and load into memory ScopDatabase scop = ScopFactory . getSCOP ( ) ; List < ScopDescription > superfams = scop . getByCategory ( ScopCategory . Superfamily ) ; System . out . println ( "Total nr. of superfamilies:" + superfams . size ( ) ) ; List < ScopDescription > folds = scop . getByCategory ( ScopCategory . Fold ) ; System . out . println ( "Total nr. of folds:" + folds . size ( ) ) ; }
Get various categories