Welcome to the Wefugees community and thank you for sharing your situation with us.
What I could find in my research did not properly answer your question regarding the consequences of your result - and I can understand that you are afraid of facing deportation.
If your lab results do show that you have tuberculosis, you should first of all be provided with medical treatment, enacted by the "epidemic protection system" of Germany.
But since I'm not an expert in this topic, I would recommend reaching out to a medibuero (http://medibueros.m-bient.com/standorte.html) or refugee support service in your area (https://www.proasyl.de/en/our-network/).
Here is some more information regarding health care for people who need medical treatment by the BAMF: http://www.bamf.de/EN/Willkommen/GesundheitVorsorge/KrankheitUnfall/krankheitunfall-node.html
I hope these sources and contact details help for now. Feel free to reach out to us again if you need any further assistance!