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
{{ message }}
Repository navigation
make_fragment_file silently drops marked duplicates, making frac_duplicates always 0 and fragment counts always 1 #464
I am passing my BAM file, which has been pre-processed already, to the snap.pp.make_fragment_file and all duplicate-flagged reads are silently dropped before SnapATAC2's own dedup pass. The results that I got are the following:
frac_duplicates in the returned stats is always 0.0
Column 5 (count) in the output fragments file is always 1 for every row
What can I do in order to retain the duplicates as well, not only the primary reads? Is there a parameter I missed, or a recommended workflow for users whose BAMs come from a pipeline that already runs MarkDuplicates? I'd like column 5 and frac_duplicates to reflect the real per-fragment read counts.
Activity
kaizhang commentedon May 19, 2026
We're working on a preprocessing pipeline for long-read single-cell ATAC-seq. "make_fragment_file" works best for short read raw Bam files.