No, STT is not subject to any deduction from capital gains. It will not reduce capital gains tax liability. The only exception is when you are trading shares professionally and can claim a deduction under income tax.