Hi @jksr,
First of all, thanks for developing ballcools and I've been actively testing it in my pipeline. I have some doubts about the usage of ballcools query.
$ ballcools --version
0.9.9
$ ballcools query --help
Query info from a BAllC file
Usage: ballcools query [OPTIONS] ballcpath genomeranges...
Positionals:
ballcpath TEXT REQUIRED BAllC file path
genomeranges TEXT ... REQUIRED
Genome range of interests. Supported formats are chrX, chrX: chrX:XXX-XXX, chrX:-XXX, chrX:XXX-. Multiple ranges can be separated by space.
Options:
-h,--help Print this help message and exit
-c,--cmetapath TEXT Output path
-x,--c_context TEXT [*] Filter Cs only in desired context. The context code is three letters from IUPAC nucleotide symbols. The first letter should always be C.For example, the c_context CGN matches CGA, CGT, CGC, CGG, and CGN, and only C records in these contexts will be displayed.
-s,--c_strand TEXT [.] Filter Cs strandness. Use "+" for only Cs on the plus/Watson strand, "-" for only Cs on the minus/Crick strand, "." or "*" for both strands.
-o,--operation TEXT [query]
Perform a selected operation on the querying genome range. Currently supported operations are:
"query" to display the records in the specified range (ie. no operation will be performed). The output format is of [chrom pos strand context mc cov 1];
"frac" to calculate the mean of mc and cov values in the specified range. The output format is of [#C mCFrac];
"sum" to calculate the sum of mc and cov values in the specified range. The output format is of [#C sum_mc sum_cov];
Q1: what if I want to filter Cs for globally? since the genomeranges is required, is there a more easy way to declare the whole genome range?
Q2: is the -c,--cmetapath meant to be the -o, --outputpath? It's a bit confusing for me about the meaning of this parameter.
Thx,
Sherry
Hi @jksr,
First of all, thanks for developing ballcools and I've been actively testing it in my pipeline. I have some doubts about the usage of ballcools query.
Q1: what if I want to filter Cs for globally? since the genomeranges is required, is there a more easy way to declare the whole genome range?
Q2: is the -c,--cmetapath meant to be the -o, --outputpath? It's a bit confusing for me about the meaning of this parameter.
Thx,
Sherry