A federal judge ruled that the court-appointed trustee overseeing the liquidation of Thornburg Mortgage can move forward with a lawsuit against Barclays Capital over allegations that the bank made improper margin calls that helped drive the mortgage lender into bankruptcy.