We present a novel method, based on encoder mapping OCT imaging, for real-time guidance of core biopsy procedures. This method provides real-time feedback to the interventional radiologist, such that he/she can reorient the needle during the biopsy and sample the most representative area of the suspicious mass that is being investigated. This aspect is very important for tailoring therapy to the specific cancer based on biomarker analysis, which will become one of the next big advances in our search for the optimal cancer therapy. To enable individualized treatment, the genetic constitution and the DNA repair status in the affected areas is needed for each patient. Thus, representative sampling of the tumor is needed for analyzing various biomarkers, which are used as a tool to personalize cancer therapy. The encoder-based OCT enables samping of large size masses and provides full control on the imaging probe, which is passed through the bore of the biopsy guidance needle. The OCT image is built gradually, based on the feedback of an optical encoder which senses the incremental movement of the needle with a few microns resolution. Tissue mapping is independent of the needle speed, while it is advanced through the tissue. The OCT frame is analyzed in real-time and tissue cellularity is reported in a very simple manner (pie chart). Our preliminary study on a rabbit model of cancer has demonstrated the capability of this technology for accurately differentiating between viable cancer and heterogeneous or necrotic tissue.