Giter Club home page Giter Club logo

Comments (6)

dpryan79 avatar dpryan79 commented on July 22, 2024

No, since they're rarely included in fastq files. I could add an option to include them and make them ignored by default in the next release, but currently they're included if they're there and pass the MAPQ threshold.

If such behavior would be useful for you then just let me know. I can implement something like that in about 15 minutes.

from methyldackel.

will-NYGC avatar will-NYGC commented on July 22, 2024

I'm doing some postprocessing on BAMs with our own custom filters and instead of throwing away reads, converting their q-scores or making them N's, i'd like to just flag them as "QC-failed". I'm also using BWA-meth for alignment which also flags reads as QC-failed.

If you wouldn't mind adding a switch, that would be great.

appreciate your help.

from methyldackel.

dpryan79 avatar dpryan79 commented on July 22, 2024

Will do. I'll default to ignoring them and add a switch to have them included. New version coming shortly...

from methyldackel.

dpryan79 avatar dpryan79 commented on July 22, 2024

Oh, I'd forgotten that QC-failed alignments are already skipped. I guess I should have documented that. Likewise, secondary alignments are skipped (I'll add supplemental alignments to that for the next release). Do you ever want QC-failed reads included? If so I'll finished adding a --keepQCFail switch. If not, I'll document the current behavior and close the issue.

from methyldackel.

dpryan79 avatar dpryan79 commented on July 22, 2024

I've opted for an -F/--ignoreFlags option that's identical to what -F in samtools view does. I'll keep the default of ignoring QC fail, secondary, supplemental, and PCR/optical duplicates.

from methyldackel.

dpryan79 avatar dpryan79 commented on July 22, 2024

This is now implemented in 0.1.13.

from methyldackel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.