willros / nanomux Goto Github PK
View Code? Open in Web Editor NEWDemultiplex your nanopore reads
License: GNU General Public License v3.0
Demultiplex your nanopore reads
License: GNU General Public License v3.0
concatenate_read_example.pdf
Hi William,
How do you define where do the barcode starts and ends in the read?
I found that some reads can be assigned to more than one sample due to read concatenation during nanopore sequencing. I used Dorado Basecaller to do the basecalling, and kept duplex and simplex reads for demultiplexing. To avoid trimming some parts of the barcodes, I kept the adapters (--no-trim). A small proportion of my reads are concatenated, i.e. they have 16S amplicons from different samples (please see an example in the pdf file). In this case, if I set --barcode_start to 0 and -bc_end to 2200 (I set 2200 because of the different lengths of the adapters), the function/program can find 2 barcodes and assign my reads to two samples. What do you think about this issue? I am not sure if trimming adapters is a good idea, as Dorado Basecaller says “The --no-trim option will prevent the trimming of detected barcode sequences as well as the detection and trimming of adapter and primer sequences”. What did you do? Have you used reads after trimming the adapters?
Any insights are welcome.
Thanks,
Xiu
Hi William,
I tested this package, and it works. Very cool. Thanks a lot!
However, I have a few questions regarding my output.
Thanks in advance!
Xiu
Hi @willros ,
I demultiplexed my reads again with the --trim option. Compared to --no-trim, I lost on average 8.7 reads per sample (Min.: 0, 1st Qu.: 3, Median: 7, 3rd Qu.: 12, Max: 57). What I don't understand is that 2 samples are completely lost after trimming, which means they lost all of their 57, and 52 reads, respectively. These are my negative PCR controls. When I check the reads without trimming, they are assigned correctly. Do you have any idea what has happened? How can nanomux prevent this from happening?
Thanks,
Xiu
Hi William,
I've asked our dry lab manager to install your package on our HPC. However, we are encountering a problem. Please refer to the error message below. Do you have any suggestions to solve the issue?
Thanks in advance.
Best,
Xiu
pip install -e .
Obtaining file:///home/tools/nanomux/nanomux
Preparing metadata (setup.py) ... done
Collecting pyfastx==2.0.2
Using cached pyfastx-2.0.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Requirement already satisfied: polars in /home/groups/VEO/tools/nanomux/myenv/lib/python3.6/site-packages (from nanomux==0.1.0) (0.12.5)
ERROR: Could not find a version that satisfies the requirement polars-ds (from nanomux) (from versions: none)
ERROR: No matching distribution found for polars-ds
pip install polars-ds==0.1.2
ERROR: Could not find a version that satisfies the requirement polars-ds==0.1.2 (from versions: none)
ERROR: No matching distribution found for polars-ds==0.1.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.