In this contribution, we aim at investigating the mechanism of biosensing in graphene-based materials from first principles. Inspired by recent experiments, we construct an atomistic model composed of a pyrene molecule serving as a linker fragment, which is used in experiment to attach certain aptamers, and a defective zigzag graphene nanoribbons (ZGNRs). Density functional theory including dispersive interaction is employed to study the energetics of the linker absorption on the defective ZGNRs. Combining non-equilibrium Green's function and the Landauer formalism, the total current-bias voltage dependence through the device is evaluated. Modifying the distance between the linker molecule and the nanojunction plane reveals a quantitative change in the total current-bias voltage dependence, which correlates to the experimental measurements. In order to illuminate the geometric origin of these variation observed in the considered systems, the local currents through the device are investigated using the method originally introduced by Evers and co-workers. In our new implementation, the numerical efficiency is improved by applying sparse matrix storage and spectral filtering techniques, without compromising the resolution of the local currents. Local current density maps qualitatively demonstrate the local variation of the interference between the linker molecule and the nanojunction plane.