Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Use a fixed seed for all SCENIC steps #13

Closed
3 tasks done
cflerin opened this issue Feb 20, 2020 · 2 comments
Closed
3 tasks done

Use a fixed seed for all SCENIC steps #13

cflerin opened this issue Feb 20, 2020 · 2 comments

Comments

@cflerin
Copy link
Member

cflerin commented Feb 20, 2020

pySCENIC processes that need to have a seed parameter added:

These require edits to the pySCENIC codebase before being implemented here. Related to vib-singlecell-nf/vsn-pipelines#43

@cflerin
Copy link
Member Author

cflerin commented Feb 27, 2020

For the pyscenic ctx step, the results are already deterministic, but when csv is used as an export format (as is the case here), the context column is sorted differently based on which module type was calculated first. For instance:

frozenset({'activating', 'top50', 'genome-ranking'})

vs:

frozenset({'genome-ranking', 'top50', 'activating'})

If the regulons are exported in gmt format, the file hashes will match exactly.

@cflerin
Copy link
Member Author

cflerin commented Feb 27, 2020

For pyscenic aucell, aertslab/pySCENIC#143 adds the ability to use a fixed seed in both AUCell and the regulon threshold calculation step. This produces loom files that are identical except for last_modified attribute.

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

No branches or pull requests

1 participant