Closed lb15 closed 1 year ago
Thanks for reporting this. I think I know what the issue is. I uploaded an attempt at a fix. Can you try installing from the source repo directly and try again?
git clone https://github.com/atarashansky/samap
cd samap
pip install .
Or, if you already have the repo cloned:
cd samap
git pull origin main
pip install .
(Make sure to restart your python kernel after installing the update so that the imports update properly.)
Please let me know if that didn't resolve your issue.
Thanks for your quick reply. I created a new conda environment and reinstalled via your instructions, but unfortunately the same error pops up.
@lb15 In order to unblock you as fast as possible, would you mind sharing the two mapping tables?
sc_to_mm.txt
and mm_to_sc.txt
. That's all I need to be able to debug the issue.
If you're okay with that, you can email them to me (or a google drive link) at tarashan@stanford.edu.
Found the bug! It looks like SAMap doesn't like it when you have duplicate genes provided in the names
argument. Fixing it now and I'll update you when to try again!
@lb15 Please install from github again (or install with pip install samap==1.0.13
) and try again!
The issue is fixed, thank you!
Hi,
I'm mapping using the names parameter in SAMAP, but running into an error. I think it's related to the names and trying to match the FASTA IDs in the maps output from the blast script to those in the sams and/or names files. I'm new to python though, so I'm struggling to pinpoint which file or object may not be correct. Would appreciate any help! Thank you!
I process the sams like this, 1 is already preprocessed (converted from a Seurat object), the other is the raw data from 10x files.
And here is what the names and maps files look like:
and the adata objects: