Closed donaldcampbelljr closed 1 month ago
Just ran it now and it seems to work! Very briefly... I was wondering if we could make that -o
flag a boolean just by itself. I wonder if saying -o true
is a tad redundant because we can just say -o
and that represents true. The absence of the flag, therefore, represents false
.
Pending creation of .bw
files and inspecting in IGV
Just ran it now and it seems to work! Very briefly... I was wondering if we could make that
-o
flag a boolean just by itself. I wonder if saying-o true
is a tad redundant because we can just say-o
and that represents true. The absence of the flag, therefore, representsfalse
.
Yes. I would prefer that, but CLAP was giving me issues with it last week. I suppose I was just doing it wrong? Can you shed some light on how the argument should be wired up?
.default_value(true) or .default_value('true') or .default_value(1)
all seemed to give me a compiler error.
So, maybe this?
.arg(
Arg::with_name("metal")
.long("metal-micky")
.required(false)
.num_args(0)
.help("I want metal micky"),
)
This one worked: https://stackoverflow.com/a/77643381
.arg(
Arg::new("metal")
.long("metal-micky")
.short('m')
.action(ArgAction::SetTrue)
.help("I want metal micky"),
)
Add counting based on narrowpeak score.
Can now give uniwig a narrowPeak file and and set score flag via
Also refactored for convenience.