Hi, I'm a little unclear what you are trying to do - clustalw doesn't let you send input via stdin or get the alignment by stdout. Other tools like muscle can do this and our tutorial has examples of this. Peter