Skip to content

Issues using parameters in CLI #102

@jamesoccean1

Description

@jamesoccean1

Thank you for creating this great tool!

I am having trouble using parameters that are available in the API version of coolbox in the CLI version.
For example, in API mode, one can use cmap, depth_ratio, and resolution as parameters:

dhic = DotHiC(test_hic, cmap="RdYlBu_r", depth_ratio=.5, resolution=10000)
frame = XAxis() + dhic
frame.plot("chr9:4000000-6000000")

However, the parameters do not work in CLI mode. I tried a couple of ways, one example with "resolution" below, using add. But I have also tried --resolution. But it is not recognized.

coolbox add XAxis -
add HiCMat "/YM1_inter_30_0.mcool" -
add resolution=10000 -
add Title "young hic" -
set_genome mm10 -
goto "chr1:4770000-6230000" -
plot /Users/jamesoccean/Desktop/sen_lab/hic_analysis/chr1_4770000-6230000_output_cool_adj.pdf

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