Investors & landlords

How would this work if you purchased a duplex and live in one and rent the other?

 

Would all loan costs get added to the total cost basis of the home and cost basis split between both units?

 

Would I deduct the points paid on the part I live in on my personal tax return or would they only be deducted when it was converted to a 100% rental property?