I have a multiple alignment of some proteins from the same family. All of them have 2 functional domains. Both of them are presented in Pfam database. There are no overlaps of these two domains in my alignment. I want cut the first domain off from all the proteins in the alignment. But I don't know how conservative is the boundary of first domain is. I don't want to watch each sequence individually and cut off the first domain by hand. Does there exist some way to do it automatically?
Few lines of python code will do the job.