Coder Social home page Coder Social logo

dropseq_barcodes's Introduction

barcodes

Collapsing barcodes generated by faulty dropseq beads. Implemented in Python.

Scripts

  • deletionsAnalysis, collapses barcodes according to existence of Ts in the end of UMIs. Assumes the existence of a single tab separated file containing each barcode and its UMI.
  • checkHamming, collapses barcodes from bulk onto top ones. Only mutations are currently considered. Assumes the existence of two files, topBarcodes.txt and restBarcodes.txt, which are lists of barcodes sorted by number of reads.

To-do list

High priority

  • collapse a set of top barcodes among themselves.

Medium priority

  • introduce dynamically thresholds for number of reads and/or percentages of Ts.
  • introduce check for percentage of Gs in the last positions of barcodes when Ts are found in the UMIs.
  • introduce computeKnee function to have an estimate of the number of tops.

Low priority

  • refactor the deletionsAnalysis search to incorporate arbitrary number of bases to check.
  • improve the structure of identifying mutations function in the checkHamming.
  • possibly trear Ns in the checkHamming.

dropseq_barcodes's People

Contributors

nukappa avatar

Watchers

 avatar  avatar

dropseq_barcodes's Issues

heisenbug (manifests with -O2) in clearing hit_lists

Commit db935d1 introduced a bug that causes a segmentation fault when clearing the hit_lists during top-barcode collapsing.

This bug does not occur with -O1 optimization.

Even with -O3, the bug disappeared when introducing fputs statements within the clear_hit_list definition.

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.