Except as otherwise provided in this subchapter, the basis on which depletion is to be allowed in respect of any property shall be the adjusted basis provided in section
1011 for the purpose of determining the gain upon the sale or other disposition of such property.