public static void getFeaturesFromCDD(String queryString, Map<String, CyIdentifiable> reverseMap,
	                                      Map<CyIdentifiable, List<CDDFeature>> featureMap) throws Exception {
		BufferedReader in = queryCDD("feats", queryString);
		List<String> inputLines = new ArrayList<String>();
		String line;
		while ((line  = in.readLine()) != null) {
			// System.out.println("Feature line from CDD: "+line);
			line = line.trim();
			// Skip over the header lines
			if (line.startsWith("#") || line.startsWith("Query") || line.length()==0) continue;
			CDDFeature feature = new CDDFeature(line);
			if (reverseMap.containsKey(feature.getProteinId())) {
				CyIdentifiable cyId = reverseMap.get(feature.getProteinId());
				if (!featureMap.containsKey(cyId))
					featureMap.put(cyId, new ArrayList<CDDFeature>());
				featureMap.get(cyId).add(feature);
			}
		}
		return;
	}