Why Subscribe?✅ Curated by Tommy Tang, a Director of Bioinformatics with 150K+ followers across LinkedIn, X, and YouTube✅ No fluff—just deep insights and working code examples✅ Trusted by grad students, postdocs, and biotech professionals✅ 100% free
|
Hello Bioinformatics lovers, Tommy here. Last week Claude Code offered to rename every FASTQ from a 1.2 TB SHARE-seq run with symlinks. I hit reject and asked why. I’ve run bcl2fastq many times, and I know what a symlink is. Those two basics changed how the run went. btw, to help me create the content you find valuable, please take 2 min to complete this short survey on google form. The error We converted BCL to FASTQ with bcl2fastq and started the SHARE-seq pipeline. The first QC step failed its naming check:
The pipeline expected Claude Code proposed four symlinks named S1, one each for R1, R2, I1 and I2. That costs almost nothing compared with rewriting 1.2 TB. To me, Undetermined meant trouble. Those are reads that matched no sample index, which usually points to a bad sample sheet or a flipped i5. So I asked why. Undetermined was the plan In SHARE-seq, the I1 read is 99 bp. It holds three 8-bp cell barcodes from three rounds of split-pool barcoding, separated by linkers. bcl2fastq sorts reads by a fixed list of sample indexes. It can’t sort them across 96 × 96 × 96 = 884,736 barcode combinations. So our sample sheet listed no samples, and every read went to Undetermined by design. The pipeline does the demultiplexing itself from the I1 and I2 FASTQs:
One file set holding both modalities is the intended input. Make the agent show its evidence When I asked, Claude Code checked the data:
A good “why” gets you numbers from your own data. Fix the source The symlinks were harmless. A symlink is a new name pointing to the same bytes, so they were safe for the 1.2 TB already on disk. I still didn’t want a symlink step in every future run. So I suggested having bcl2fastq write the S1 name itself. The fix is a sample sheet with one sample and no index columns. Every read goes to that sample, and out comes
What the basics bought me My bcl2fastq experience made Undetermined look wrong. My hunch was off, but asking made Claude Code show its evidence, and I learned how SHARE-seq gets demultiplexed. My symlink knowledge let me judge the workaround myself, and that pushed us to fix the sample sheet. Without those basics, I’d have clicked approve. The run would have worked and I’d have learned nothing. AI amplifies the foundation you bring. Try this
When did you last reject an AI suggestion, and what did asking why teach you? Hit reply. I read every one. Tommy aka crazyhottommy PS: If you want to learn Bioinformatics, there are four ways that I can help:
Stay awesome! |
Why Subscribe?✅ Curated by Tommy Tang, a Director of Bioinformatics with 150K+ followers across LinkedIn, X, and YouTube✅ No fluff—just deep insights and working code examples✅ Trusted by grad students, postdocs, and biotech professionals✅ 100% free