File: GenomicIntervalQuery_Reuse.txt

package info (click to toggle)
pbbam 1.6.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,812 kB
  • sloc: cpp: 57,023; xml: 2,749; ansic: 869; python: 534; sh: 277; makefile: 187
file content (8 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
DataSet ds("data.xml");
GenomicIntervalQuery query(GenomicInterval(), ds);
for (const GenomicInterval& interval : intervals) {
    query.Interval(interval);
    for (const BamRecord& record : query) {}
        // do stuff
    }
}