  Knowledge of parton distribution functions (PDFs) at large momentum fraction
$ x $ is not only important to study the flavor and spin dynamics of quarks in
the nucleon, but also to search for signals of new physics at collider
experiments. It is well known now that the nonperturbative QCD effects
generally play a more significant role at such kinematic regions. In this work,
we present an open-source QCD analysis of PDFs considering target mass
corrections (TMCs) and higher-twist (HT) effects which are necessary when the
analysis includes also data points from deep inelastic scattering (DIS) with
larger values of $ x $ and smaller values of photon virtuality $ Q^2 $. To this
aim, we use the xFitter package, as a comprehensive and powerful tool for
studying PDFs. We report and discuss our recent activities on the
implementation of TMCs and HT effects in the xFitter framework in a
user-friendly way, so that the user can switch on or off them, and also choose
between different options. We check the validity of the modifications by
performing sample analyses of PDFs considering TMCs and HT effects and using a
wide range of DIS data.
