Comments (1)
Hi Derek
PAMLD computes full Bayesian probabilities, that means it will compute the conditional probability of each possible barcode sequence for each observation, and then compute the posterior using all those and the priors. With a white list of 2-3 biilion possible barcode sequences this will be both slow and pointless. The conditional probabilities for the vast majority of possibilities will be extremely small and contribute almost nothing to the posterior. To be honest, even creating a JSON configuration file with such a long list might be challenging and require a significant amount of memory and load time.
The most realistic approach would be to try and narrow down your list. You can try and extract the relevant 18 bases from your data and do a basic sort|uniq -c
to see the possible combinations. You can also try and run an initial MDD run and use the results from that run to compute priors for PAMLD. With a list this long, MDD will likely not allow any errors since almost every sequence is possible. That means MDD will stop scanning once it hits the first match. That said, it might not be that different from a basic sort|uniq
. since almost every sequence is allowed to be a barcode, there is not much room for "error correcting" and I am not sure a bayesian approach even makes sense. If what you want is speed with no tolerance for errors that would be best achieved with a tool that uses suffix trees (trie). I think this one is mentioned in the pheniqs manuscript: https://academic.oup.com/bioinformatics/article/34/22/3924/5026649
from pheniqs.
Related Issues (20)
- Incorrect urls in 'Getting Started' HOT 1
- Install failure with pheniqs-tools (ppkg.py) HOT 2
- error while installing pheniqs under centos 6 using ppkg.py HOT 5
- Pheniqs only processes a small fraction of reads HOT 21
- --help bug HOT 2
- Desirable future features
- EOF error HOT 3
- Citing Pheniqs HOT 3
- Trouble replicating basic behavior HOT 3
- Troubleshooting "SequenceError" error HOT 1
- output knitted and corrected barcodes to fastq HOT 7
- demultiplexing based on primer HOT 7
- Help understanding json config for basic demultiplexing HOT 2
- Last record missing in barcode corrected BAM file HOT 8
- Quickstart Example not working for me HOT 1
- Quadruple indexing, variable index length HOT 6
- IO error HOT 1
- Tutorial info not correct? HOT 1
- demultiplexing by multiple barcode positions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pheniqs.