Skip to content

feature request paf filter  #7

@colindaven

Description

@colindaven

Hi,

I couldn't find any utilities for filtering pafs and this tool seems to be the most capable and toolkit-like.

Maybe it would be an option to put in a filter to avoid users having to hack together one liners in awk, like I did here.

# this is nextflow so contains escaped $

   awk '{if ((P=\$11/\$2*100) >= $params.min_align_length) {print P"\t"\$_}}' $paf

Filters might include

  • Mapping Quality if available ?
  • NM number mismatches
  • alignment length

It might be easy to do this in awk, but it is a bit hacky and error prone.

Other repos do not seem to offer a paf filter either AFAIK

https://github.com/AndreaGuarracino/paf2chain

https://github.com/AndreaGuarracino/pafgnostic

https://github.com/ekg/pafplot

etc

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions