Some good and some bad advice here.
First, capitol gains can be eleminated if occupied 2 years out of the last 5 yrs. Period. It will not apply to you in this case.
Second someone would have assigned a 'cost basis' to the house when you converted it into an invetment property. That can and should be ofset by costs associated with owning and maintaing the property. If you doubled your money, you still made repairs and had vacancies, carrying costs, etc. Those costs will be deducted from the gain.
This will be considered a long term capitol gain event and those rates vary from 0% up to 20% and are dependant on length of ownership and your personal income tax rate. I.m not positive but I think if you made less than $41,000 per year, there would be zero capitol gains tax.
Third recapture tax is based on what you depreciated not a fixed % of sales price. Residnetial assets have a 27.5 yr deprecaition shcdule. So if you applied depreciation on the purchase of $160,000, held for 20 yrs you might have depreciated $5800 per year which if you depreciated since year 1 would be approx $116,000. That is taxed at 25% on the federal level. Now their are some odd ways to calculate that number depending on when it was placed in service, so thats a rough guess and I am not an attorney or tax advisor either.
If you just rented it out and did not claim this income, which is what most small investors do, you may or may ot even have an issue. More information is needed to discuss that.