FredHutch / Galeano-Nino-Bullman-Intratumoral-Microbiota_2022

Analysis code used in Galeano Nino et al., Impact of Intratumoral Microbiota on Spatial and Cellular Heterogeneity in human cancer. 2022
MIT License
33 stars 10 forks source link

Running pipeline for non-Visium data #7

Closed AnnaAntonatouPap closed 1 year ago

AnnaAntonatouPap commented 1 year ago

Hi, I am trying to use your pipeline for my project, I have spatial data from breast cancer derived from a mouse model. the data are not Visium but Slide-seq like. I am using the full bam file of the sample So I want to ask you If I need to modify the UMI_annitator.py script somehow ?

My bam file looks like this, so the UB for me is MI and I already edit the script for it. But I am not python expert , do you think there is something else I need to change ?

image image image

ALso I wanted to ask you what's the content of each column in the readpath file, beacuse there are non headers
image

Thanks in advance, Anna

hanruiw commented 1 year ago

Hi, Thank you for the questions, based on my understanding, the structure of your bam file is very similar to 10x Visium bam file. However, we have not assessed data from Slide-seq so I am sorry to say that I can't give you specific advice for that type of data. I wish you good luck with your analysis!

AnnaAntonatouPap commented 1 year ago

Thank you for the reply! Could you give me a hint about my second question, the headers in the readpath file? so 1st column is the sequence, 2nd the barcode i guess what about the 3nd and 5th?

hanruiw commented 1 year ago

Hi, The idea for the readnamepath file is to extract read-level information from Cellranger bam file and PathSeq bam file, the first column is read name, the second column is CB (corrected barcode), the third column is UB (corrected UMI), the forth column is YP from Pathseq bam (genus level and species level taxa id), the fifth column is mapping quality, and the sixth is the genus level annotation (based on YP). Good luck with your analysis and please let us know if you have any other questions!