Skip to content

Commit

Permalink
add necessary value parsers for force-cells and expect-cells
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Patro committed Oct 11, 2022
1 parent b6b7782 commit de0be74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ fn main() -> anyhow::Result<()> {
-k --"knee-distance" "attempt to determine the number of barcodes to keep using the knee distance method."
)
)
.arg(arg!(-e --"expect-cells" <EXPECTCELLS> "defines the expected number of cells to use in determining the (read, not UMI) based cutoff"))
.arg(arg!(-f --"force-cells" <FORCECELLS> "select the top-k most-frequent barcodes, based on read count, as valid (true)"))
.arg(arg!(-e --"expect-cells" <EXPECTCELLS> "defines the expected number of cells to use in determining the (read, not UMI) based cutoff")
.value_parser(value_parser!(usize)))
.arg(arg!(-f --"force-cells" <FORCECELLS> "select the top-k most-frequent barcodes, based on read count, as valid (true)")
.value_parser(value_parser!(usize)))
.arg(
arg!(-b --"valid-bc" <VALIDBC> "uses true barcode collected from a provided file")
.value_parser(pathbuf_file_exists_validator)
Expand Down

0 comments on commit de0be74

Please sign in to comment.