Rick Beeloo's Avatar

Rick Beeloo

@rickbitloo.bsky.social

PhD candidate Utrecht University Some bio and coding stuff

66 Followers  |  26 Following  |  17 Posts  |  Joined: 28.04.2025  |  1.8951

Latest posts by rickbitloo.bsky.social on Bluesky

Output of `sassy grep -p ACTGGCATGAGAACTGAG -k1 human-genome.fa`. Should fuzzy matches with up to one error, grouped by file, then by record. The matching part is highlighted with colours (green=match, orange=mismatch, red=delete, blue=insert), and the strandedness of each match, the location, and the cost are shown.

Output of `sassy grep -p ACTGGCATGAGAACTGAG -k1 human-genome.fa`. Should fuzzy matches with up to one error, grouped by file, then by record. The matching part is highlighted with colours (green=match, orange=mismatch, red=delete, blue=insert), and the strandedness of each match, the location, and the cost are shown.

Following ish's `filter` and bqtools' `grep`, Sassy now also has initial support for grep and filter!

Grep mode shows all matches, grouped per record, and is meant for human consumption.
Filter mode prints full matching (or non-matching) records to stdout or output files.

30.10.2025 23:46 β€” πŸ‘ 15    πŸ” 5    πŸ’¬ 1    πŸ“Œ 2

Was just checking if we could add the adapter search directly, then "slice" out all sub-reads so splitting does still look at the barcodes. And thanks for the discussions, nice to get ideas from what else to improve :)

25.10.2025 14:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Indeed does happen, but more often they are duplex reads that are not detected as such by Dorado. Then the sequences on either side of the mid strand adapter are reverse complement (example pic)

25.10.2025 14:12 β€” πŸ‘ 0    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

With Flye? Aah in the preprint we actually used Flye with Dorado trimmed reads πŸ˜…. You can see a list of "contaminated" assemblies here: zenodo.org/records/1739..., still quite a few, and this is very strict filtering. In reality there will be more

25.10.2025 09:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yeah Porechop is probably "necessary" when using Dorado, though it shouldn't be. "Appreciable" heavily depends on the application. For assembly a few reads wrong is not always an issue, but for diagnostics a few reads wrong can be a big issue. Of course one should also check scores then, etc.

24.10.2025 14:27 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Hey Misha, on a 10K read sample around 60% is the expected dual-end (top), but often a single-end is enough to assign already. That puts it at around 90% (top 3 in image). Double barcode ligations do happen (bottom) but not sure about the exact stats of bleeding because of that.

24.10.2025 14:01 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

To add, you can then add the desired pattern to barbell filter where you put β€œcut” marks (<<, >>) such that only the long reads is kept and the short contam is cut off

24.10.2025 12:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Agree, Barbell will just give a "complex" pattern for those reads which are not added to the output by default. Though, if the reads are very long, and contain little contamination (i.e. long read + short concat read at the end) it might still be worth it including it for assembly

24.10.2025 12:16 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yeah most of NCBI is down, or outdated at the moment. We will upload them to Zenodo

24.10.2025 12:12 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Hey Kevin, that comes down to the difference between demultiplexing correct and removing contamination. If you had a read with NB01-NB02--read--. Dorado will demux to NB01, and you can remove NB02 contamination using Porechop, but that does mean your read was still demultiplexed incorrect initially

24.10.2025 10:04 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Really exciting that the preprint on Barbell, a new demultiplexer, is finally out!
It's the first tool that builds on Sassy, the approximate-DNA-searching tool that @rickbitloo.bsky.social and myself developed earlier this year, specifically with this application in mind.

23.10.2025 21:28 β€” πŸ‘ 20    πŸ” 15    πŸ’¬ 2    πŸ“Œ 0

See the thread for a quick summary! bsky.app/profile/rick...

23.10.2025 20:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Barbell Resolves Demultiplexing and Trimming Issues in Nanopore Data https://www.biorxiv.org/content/10.1101/2025.10.22.683865v1

23.10.2025 19:47 β€” πŸ‘ 6    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

In the pre-print we also discuss a specific tagmentation pattern causing partial loss of the second barcode, a custom barcode scoring scheme, and more: www.biorxiv.org/content/10.1...

23.10.2025 20:16 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

In Barbell we solve this by first annotating all the reads, and then detecting all patterns, which looks like this:

23.10.2025 20:16 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Why is this a problem? Remaining adapters/barcodes not only contaminated assemblies but also created "artificial" links in taxonomic annotation, to Enterobacteriaceae, and to contaminated assemblies in NCBI.

23.10.2025 20:16 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 1
Post image

Many tools, including the widely used Dorado, almost always only detected the *first* occurrence, leaving the rest untrimmed. In the figure black lines indicate matches to adapters + barcodes in trimmed reads.

23.10.2025 20:16 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

For rapid barcoding only ~83% of the reads contain the expected single barcode on the left. The rest? Barcodes on both sides (6.1%), two barcodes on the left side (3.5%), and so on.

23.10.2025 20:16 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Around 10% of your Nanopore reads (SQK-RBK114) are incorrectly trimmed. Here is why, and how our new tool Barbell solves it:

www.biorxiv.org/content/10.1...

Want to get started? github.com/rickbeeloo/b...

23.10.2025 20:16 β€” πŸ‘ 48    πŸ” 30    πŸ’¬ 3    πŸ“Œ 4

Now also on biorxiv :)

26.07.2025 19:15 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Sassy solves approximate string matching: finding all matches of a pattern in a text.

Sassy solves approximate string matching: finding all matches of a pattern in a text.

Sassy is out now!

Ever need to search for approximate matches of short DNA strings?
Sassy is the tool to use!

Available now wherever you get your code

With @rickbitloo.bsky.social

curiouscoding.nl/papers/sassy...
github.com/ragnarGrootK...

18.07.2025 20:20 β€” πŸ‘ 38    πŸ” 22    πŸ’¬ 2    πŸ“Œ 2

πŸ˜‚

10.07.2025 14:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@rickbitloo is following 20 prominent accounts