A first determination of parton distributions with theoretical uncertainties