Get your taxes done using TurboTax

First, since you do meet the substantial presence test for 2016, you are a dual status alien. Turbotax does not support dual status returns (but if you are married you have other options)

A person on F1 is a nonresident alien for the first 5 calendar years. A nonresident alien cannot be claimed as a dependent (unless a resident of Mexico or Canada)