profile.py

Parse the pipeline.log file from a cgat-core pipeline and summarise information on task resource usage.

Usage

After running a pipline, the resources used by the pipeline tasks can be summarised with the “cellhub pipeline_name profile” command, e.g.

> cellhub cluster make full -v5 -p 100
> cellhub cluster profile

Code

cellhub.tasks.profile.is_tool(name)

Check whether name is on PATH and marked as executable.