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

Programmatically fix database version downloaded #53

Open
bednarsky opened this issue Feb 13, 2024 · 0 comments
Open

Programmatically fix database version downloaded #53

bednarsky opened this issue Feb 13, 2024 · 0 comments

Comments

@bednarsky
Copy link

bednarsky commented Feb 13, 2024

Hi omnipath team,

thanks for the amazing resource! Maybe I overlooked it but how can I fix the omnipath database version with the python API, for example, with these two requests:

interactions = op.interactions.AllInteractions.get(directed=True, organism='human')
tf_annot = op.requests.Annotations.get(
    proteins=proteins,
    resources=['TFcensus']
)

This would be useful so that in some years, if my code is rerun, the same results are obtained. So far I just download the dataframes once and store them - is this the best solution?

Thanks again!

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

1 participant