A method to obtain the spatial location and sequence information of an m-RNA target sequence on a tissue sample comprising the steps a. providing a solid surface having at least with at least one fiducial marker b. attaching a plurality of anchor molecules comprising a photo cleavable linker and an adapter unit to the solid surface c. Binding scaffolding molecules comprising a unit capable of binding to the adapter unit of an anchor molecule, a poly-inosine unit having 5 to 30 inosine bases and a poly-adenine unit having 10 to 50 adenine bases to the anchor molecules d. randomly incorporating adenine, guanine, cytosine and thymine as nucleic bases to the anchor molecule complementing the inosine bases of the scaffolding molecules thereby creating barcodes on the anchor molecules, wherein the nucleic bases are provided with a photo-detectable unit and wherein the sequence of the barcodes and their spatial location relative to the fiducial marker is detected simultaneously as spatial information. e. incorporating thymine to the anchor molecules complementing the poly-adenine unit of the scaffolding molecules thereby creating a poly-T unit f. removing the scaffolding molecules from the anchor molecules g. A tissue sample that has been provided comprises at least one m-RNA strand wherein at least one m-RNA strand of the sample binds to a poly-T unit of at least one anchor molecule h. reverse transcription of the m-RNA strand creating a c-DNA strand attached to the solid surface i. remove c-DNA strands from the solid surface by cleaving the photo-cleavable linker of the anchor molecules j. obtaining the sequence information of the c-DNA strands and linking the spatial information with the sequence information of the c-DNA strands. a. providing a solid surface having at least with at least one fiducial marker b. attaching a plurality of anchor molecules comprising a photo cleavable linker and an adapter unit to the solid surface c. Binding scaffolding molecules comprising a unit capable of binding to the adapter unit of an anchor molecule, a poly-inosine unit having 5 to 30 inosine bases and a poly-adenine unit having 10 to 50 adenine bases to the anchor molecules d. randomly incorporating adenine, guanine, cytosine and thymine as nucleic bases to the anchor molecule complementing the inosine bases of the scaffolding molecules thereby creating barcodes on the anchor molecules, wherein the nucleic bases are provided with a photo-detectable unit and wherein the sequence of the barcodes and their spatial location relative to the fiducial marker is detected simultaneously as spatial information. e. incorporating thymine to the anchor molecules complementing the poly-adenine unit of the scaffolding molecules thereby creating a poly-T unit f. removing the scaffolding molecules from the anchor molecules g. A tissue sample that has been provided comprises at least one m-RNA strand wherein at least one m-RNA strand of the sample binds to a poly-T unit of at least one anchor molecule h. reverse transcription of the m-RNA strand creating a c-DNA strand attached to the solid surface i. remove c-DNA strands from the solid surface by cleaving the photo-cleavable linker of the anchor molecules j. obtaining the sequence information of the c-DNA strands and linking the spatial information with the sequence information of the c-DNA strands.