-
Notifications
You must be signed in to change notification settings - Fork 9
Add UCE method #7
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
Conversation
Requires more memory than allowed by the local labels config
@@ -26,6 +26,7 @@ input_states: resources/datasets/**/state.yaml | |||
rename_keys: 'input_dataset:output_dataset;input_solution:output_solution' | |||
output_state: "state.yaml" | |||
publish_dir: "$publish_dir" | |||
settings: '{"methods_exclude": ["uce"]}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I excluded UCE from the local benchmark scripts because it requires more memory than is allowed by the local labels config
# Code has hardcoded paths that only work correctly inside the UCE directory | ||
if os.path.isdir("UCE"): | ||
# For executable we can work inside the UCE directory | ||
os.chdir("UCE") | ||
else: | ||
# For Nextflow we need to copy files to the Nextflow working directory | ||
print(">>> Copying UCE files to local directory...", flush=True) | ||
import shutil | ||
|
||
shutil.copytree("/workspace/UCE", ".", dirs_exist_ok=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is quite hacky but it was the only way I could get it to work. Happy to hear other suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Describe your changes
Adds the Universal Cell Embeddings foundation model as a method
Checklist before requesting a review
I have performed a self-review of my code
Check the correct box. Does this PR contain:
Proposed changes are described in the CHANGELOG.md
CI Tests succeed and look good!