You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GeorgescuC edited this page Mar 23, 2020
·
3 revisions
Welcome to the bamsifter wiki!
Bamsifter is a small command line utility to downsample a sam/bam file to a given max coverge using htslib. It assumes the input file is sorted and outputs in the same format as the input.
The options available are the following:
-c: Max coverage target value (coverage can get higher if max coverage has been hit but the paired read of a previously selected read is encountered).
-o: Output file name. Default is to stdout.
-i: Max number of reads with an identical cigar starting at the some position to keep.