You need to get a bankruptcy attorney to represent your interest in bankruptcy court. While this may not be the most cost efficient alternative given the amount involved, you may have claims to the house. In bankruptcy court the judge has a great deal of discretion and a good attorney may be of great assistance to you.
I recently gave a seller $1300 earnest money on his house when he told me his loan was 3 months past due and he was facing foreclosure. He signed a purchase and sale agreement which had a 3 day grace period to back out. However, he also signed a warranty deed to trustee and a quit claim deed which were both notorized. The next day I find out the house is going into bankruptcy chapter 13 and the seller says he wants to back out of the deal. I say OK and ask for the $1300 back. He says no and after many repeated attempts to contact his lawyer I registerd the quit claim deed. Any one have suggestions for a next step?