Metadata-Version: 2.1
Name: pyppl-jobtime
Version: 0.0.4
Summary: Job running time statistics for PyPPL
Home-page: https://github.com/pwwang/pyppl_jobtime
License: MIT
Author: pwwang
Author-email: pwwang@pwwang.com
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: cmdy
Requires-Dist: pyppl
Project-URL: Repository, https://github.com/pwwang/pyppl_jobtime
Description-Content-Type: text/markdown

# pyppl_jobtime

Job running time statistics for [PyPPL](https://github.com/pwwang/PyPPL).

## Installation
Require `R` and `ggplot2`.
```shell
pip install pyppl_jobtime
```

After this plugin is installed, a file named `job.time` will be created in each job directory with running time in seconds saved in it.

## Plotting the running time profile
```shell
pyppl jobtime --proc pVcfFix --outfile profile.png
```

![profile.png](./images/profile.png)

- Using violin plot:
    ```shell
    pyppl jobtime --proc pVcfFix --outfile violin.png --plottype violin
    ```
    ![violin.png](./images/violin.png)

- Changing process names:
    ```shell
    pyppl jobtime --outfile procnames.png \
        --proc pVcfFix --ggs.scale_x_discrete:dict \
        --ggs.scale_x_discrete.labels:list A B C
    ```

    ![procnames.png](./images/procnames.png)

