Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can i set multi core to accelarate the align process of calculation #8

Open
amateur-boy opened this issue Oct 31, 2024 · 1 comment

Comments

@amateur-boy
Copy link

i have the trajectory which is more than 50000 cells and 2000 genes, will spend more time on align process.

@dinithins
Copy link
Collaborator

@amateur-boy Thanks for your query. Yes, you can try the concurrent mode by calling the main alignment function as below. (It will automatically detect the number of cores in the system).
aligner.align_all_pairs(concurrent=True)
You can also tell a specific number of cores to use, for instance:
aligner.align_all_pairs(concurrent=True, n_processes=24)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants