Skip to content

estimate for segmentation.py memory usage #46

@mr-c

Description

@mr-c

In the CWL tool description for segmentation.py we need memory sizing hints in mebibytes (2**20).

We can provide this number using a bit of JavaScript.

The following numbers are available for the formula:

  • number of inputs JSONs (inputs.bins.length) and the size of each (inputs.bins[N].size)
  • Number of cells per file from --cells-per-file (inputs.cells_per_file)
  • the size of the --fasta file (inputs.pangenome_sequence.size)
  • and the number of CPU cores passed to --parallel-cores (runtime.cores, if that matters)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions