Not a genome —a pile of fragments
Nothing reads a chromosome end to end. You get millions of short pieces, each with a confidence score, and the genome is something you reconstruct.
Fragments of a few hundred bases, or tens of thousands on a long-read platform. Never a whole chromosome.
A Phred quality per position. Q30 means one wrong call in a thousand, and that is the usual target.
You sequence the same region many times over, and confidence comes from the reads agreeing.
Three technologies,three trade-offs
Read length against accuracy against cost. Every sequencing platform sits somewhere on that triangle, and none of them wins outright.
The practical consequence is that long and short reads are complements, not competitors. A common assembly today uses long reads for structure and short reads to polish the base-level accuracy, which is why the two file types keep turning up in the same project directory.
Align to a reference,or assemble from nothing
Everything downstream forks here, and the fork is decided by whether a good reference genome exists for your organism.
Place each read against a known genome with BWA or minimap2, then call the differences. Fast and cheap.
Reconstruct the genome from overlaps alone. Memory-hungry, slow, and the only route without a reference.
Alignment can only find what the reference lets you see. Novel insertions are invisible to it by construction.
Alignment is cheap, well-tooled and answers most questions about a well-studied species. Assembly is expensive in both compute and memory, and it is the only option when the reference does not exist — or when the thing you are looking for is precisely what the reference does not contain.
Coverage first,then four settled steps
Depth of coverage governs what you can conclude. After that, the shape of a reference-based project has been stable for a decade.
Sequencing is a sampling process, so coverage is uneven by nature — Poisson at best, and worse wherever GC content is extreme. Thirty-fold average depth on a human genome still leaves regions at five, which is why a caller reports low confidence somewhere in every run. Deciding the depth you need before you sequence is far cheaper than discovering it afterwards.
$ fastqc -t 8 -o qc/ reads/*.fastq.gz
$ bwa mem -t 8 ref.fa r1.fq.gz r2.fq.gz > aln.sam
$ samtools sort -@ 8 -o aln.bam aln.sam && samtools index aln.bam
FastQC isalready built
Nothing here needs compiling. Pick a machine, and these two commands put it on there.
$ dxflow workflow create --identity fastqc hub://fastqc
$ dxflow workflow start fastqc