Yes, the DP charges are tax deductible and you can claim the same while calculating STCG (short-term capital gain) because this is an expense incurred in connection with the transfer.