From 89894d5cde3d43b42f675c041a7348be5a62927f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20To=CC=88pfer?= Date: Fri, 10 Mar 2023 16:44:48 +0100 Subject: [PATCH] Usage for zmwfilter --- README.md | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index dfb1cb3..dff72b7 100644 --- a/README.md +++ b/README.md @@ -17,16 +17,29 @@ This repository is replacing individual tool repositories and binaries from `pbb In bioconda, `pbtk` is a dependency of `pbbam`, so you won't see immediately that those binaries are longer from `pbbam` directly. - * ccs-kinetics-bystrandify - * extracthifi - * pbindex - * pbindexdump - * pbmerge - * zmwfilter + * `ccs-kinetics-bystrandify` + * `extracthifi` + * `pbindex` + * `pbindexdump` + * `pbmerge` + * `zmwfilter` ## Usage -TBD +### `zmwfilter` +zmwfilter provides a simple utility for filtering PacBio BAM data on ZMW ID(s), via either an "include-list" or "exclude-list". + + +ID list from command line: +``` +$ zmwfilter --include 100,200 input.bam filtered.out.bam +$ zmwfilter --exclude 50 input.bam filtered.out.bam +``` +ID list from file: +``` +$ zmwfilter --include good-zmws.txt input.bam filtered.out.bam +$ zmwfilter --exclude bad-zmws.txt input.bam filtered.out.bam +``` ## Changelog