public String parseToString(SecondaryStructure ss1, SecondaryStructure ss2, Geometry gg) {
	//return information needed in appropriate manner
	String stRes = cutToSize(gg.getStart(), 12);
	String endRes = cutToSize(gg.getEnd(), 10);
	String type = "";
	
	if(ss1.getSSType().equals("S")) { type += "B"; }
	if(ss1.getSSType().equals("H")) { type += "A"; }
	if(ss1.getSSType().equals("T")) { type += "T"; }
	if(ss2.getSSType().equals("S")) { type += "B"; }
	if(ss2.getSSType().equals("H")) { type += "A"; }
	if(ss2.getSSType().equals("T")) { type += "T"; }
	
	type = cutToSize(type, 10);
	String d = cutToSize(gg.getD(), 8);
	String delta = cutToSize(gg.getDelta(), 8);
	String theta = cutToSize(gg.getTheta(), 8);
	String rho = cutToSize(gg.getRho(), 8);

	String bin = binMe(type, d, delta, theta, rho, Integer.parseInt(ss1.firstResidue().getResNum()), Integer.parseInt(ss2.lastResidue().getResNum()));
	return AnalyzeOneProtein.pdbID + "         " + bin + "  " + stRes + "" + endRes + 
	    "" + type + " " + d + "  " + delta + "  " + theta + "  " + rho + "";
    }