Are closing costs deductible?

We sold one house and purchased another.