atarashansky / SAMap

SAMap: Mapping single-cell RNA sequencing datasets from evolutionarily distant organisms.
MIT License
66 stars 19 forks source link

Could alternative methods for BLAST be used? #138

Closed Budjavac closed 10 months ago

Budjavac commented 10 months ago

I was wondering if there was a way of incorporating an alternative BLAST method into this pipeline. E.g. would it be possible to, instead of using the map_genes.sh command to perform BLAST between each pair of transcriptomes or proteomes via running a DIAMOND alignment via orthofinder?

atarashansky commented 10 months ago

As long as you can generate a homology graph, then any mapper can be used. There's an optional parameter to the SAMAP(...) constructor called gnnm which accepts a custom homology graph. The docstring is a bit out of date, but it's a tuple of (homology_graph, genes, gene_species_dictionary):

Budjavac commented 10 months ago

Thank you! Closing the thread