Opened 9 years ago

Closed 9 years ago

#738 closed request (fixed)

Functor to filter BamReads

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.11
Component: omic Version: trunk
Keywords: Cc:

Description

Quite often one want to iterate through a bam file and ignore certain entries. The boost::filter_iterator is practical for this purpose and one only needs a functor that discriminates good reads from bad reads. Rather than re-writing that functor every time, it's more convenient to place it within libyat. I'm thinking of three filters: 1) minimal mapping quality (-q in samtools view), 2) filtering flags (-F in samtools view), and 3) required flags (-f in samtools view).

Change History (2)

comment:1 Changed 9 years ago by Peter

Status: newassigned

comment:2 Changed 9 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [2994]) new class BamReadFilter?. closes #738

Note: See TracTickets for help on using tickets.