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

Use multiple of total file size for memory for sourmash_compare_sketches #1

Open
olgabot opened this issue Mar 26, 2019 · 0 comments
Open
Assignees

Comments

@olgabot
Copy link
Owner

olgabot commented Mar 26, 2019

e.g. as here nextflow-io/nextflow#922 they use the file size of a single file to specify the memory.

Something like this:

	memory { sourmash_sketches.size().sum() < 100.MB ? 8.GB * task.attempt :
		sourmash_sketches.size() * 100.MB * task.attempt}

Use 100 MB times the summed file size, times the task attempt, otherwise use 8GB

olgabot added a commit that referenced this issue Oct 20, 2019
Add dayhoff encoding for molecule options
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