Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

metadamage print output and filtering #4

Description

@tpinotti

Issues with metadamage print output right now:

  1. combining -ctga with -names does not work. The output keeps showing taxID instead of the taxon name

  2. -ctga prints both 5' and 3' in the same line with no differentiation. One has to count the columns to find out when the 3' G>A starts. If -p is 5 is ok, but I was testing with -p 15 and it is clumsy. Maybe split in two different lines? Make two columns? Something else?

  3. maybe we can have more options for filtering the print output? I was actually every time piping metadamage print into some "awk '{if ($2>1000 && $12>0.20) print}'" whenever I used it. For example, it would be nice to be able to filter the output by a) number of alignments, b) C>T frequency and c) G>A frequency. And actually my awk solution is no good because it only prints the "matching line", it would be great if metadamage actually included the next relevant lines. For example, if I am filtering for C>T frequency > 0.20, to include also the frequencies of position 2,3,4 etc so we can access the damage pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions