-
Notifications
You must be signed in to change notification settings - Fork 38
Possible code simplifications for SearchReadsExample #57
Comments
The coverage buckets are precomputed? I know the end is fixed, but if the ~p |
Coverage is precomputed at various bucket widths. The targetBucketWidth is floored to the nearest precomputed bucket width and that's what gets returned. The minimum bucket width is chosen such that it's not too much more expensive to compute the coverage yourself, if finer granularity is needed, i.e. the smallest bucket (2048 bases) contains about one page of reads for a 100x coverage read group set. This is documented here. That said, I think counting coverage at a specific single position, or perhaps even for all single bases is still a useful example. |
Aha! Thanks CH for clarifying this for me. Yeah, I agree that in the future that type of granularity would help, but for now that the tried-and-true way of
Thanks, |
(updated initial comment to remove the suggestion of deleting the coverage example) |
The text was updated successfully, but these errors were encountered: