public String printFASTA() {

		StringBuffer buf = new StringBuffer();
		String nl = System.getProperty("line.separator");
		buf.append(">"+groups[0].getChain().getStructure().getIdentifier()+nl);

		for (int g = 0; g < groups.length; g++){
			buf.append(getSecStrucState(g).getType());
		}
		return buf.toString();
	}
public String printFASTA ( ) { StringBuffer buf = new StringBuffer ( ) ; String nl = System . getProperty ( "line.separator" ) ; buf . append ( ">" + groups [ 0 ] . getChain ( ) . getStructure ( ) . getIdentifier ( ) + nl ) ; for ( int g = 0 ; g < groups . length ; g ++ ) { buf . append ( getSecStrucState ( g ) . getType ( ) ) ; } return buf . toString ( ) ; }
Generate a FASTA sequence with the SS annotation letters in the
aminoacid sequence order.
@return String in FASTA sequence format