Depreciation of rental property that i also live in

I have a 2 unit rental property. I live in one unit and rent the other one. I calculated my cost basis of the property. For depreciation purposes do i divide that amount by 50%. Is this correct? Is this the same for the Loan Cost when I amortize them. 


Thanks for the help,

David