GithubHelp home page GithubHelp logo

Comments (1)

FrickTobias avatar FrickTobias commented on August 26, 2024

In an optimal solution, duplicates would not be removed here because of the problem you correctly point out with single reads out of pairs.

However, currently read duplicates are used for finding barcode duplicates (aka where two barcode has tagged the same molecule). This leads to two barcodes sharing a lot of proximal read duplicates which subsequently are merged into one barcode for all reads sharing that barcode sequence.

The actual procedure doing this is first to remove all duplicates with the BARCODE_TAG=BC option and afterwards analyze duplicate reads left in the file with cluster_rmdup.py (by first marking duplicates without the BARCODE_TAG flag).

I suggest that I rewrite the script to so it ignores duplicate reads at the same positions if they do not have different barcodes, essentially compacting the duplicate removal (BARCODE_TAG=BC), duplicate marking & cluster_rmdup step into duplicate removal & cluster_rmdup.

from blr.

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.