Ways to do NGS analysis
There is no single NGS analysis. The question, the organism and the type of data decide the steps.
I used to work at a genetic testing company, where we built custom analysis pipelines for clients. I collected my notes from that time and expanded them into this map.
This map shows 10 workflows. Each column is a stage and each box is one option at that stage. Turn routes on with the buttons, and select a box for its details. Hover a column name for how to choose, or a dotted word for its meaning.
Lines and dots take the colour of each route that is on. On a narrow screen, the map scrolls sideways.
What a read looks like Sequencers write reads to a FASTQ file. Each read takes 4 lines. This is one short read: Each character stands for a number. The number is the character's ASCII code minus 33. This encoding is called Phred+33. The quality score Q gives the chance that the base is wrong. A score 10 higher means 10 times fewer errors. In this read the first bases are reliable and the last bases are not. Quality usually falls towards the end of a read. Trimmers such as fastp cut read ends where the score falls below about Q20. Every base has its own score. A run is judged by how many of its bases reach Q30. A good Illumina run has 75 to 80 or more out of every 100 bases at Q30 or above. A real FASTQ file holds millions of these 4-line blocks and is usually compressed as .fastq.gz.@READ_0001 sample=A
GATTTGGGGTTCAAAGCAGTAT
+
IIIIIIIIIII???????55##
Character Calculation Score Chance the base is wrong I73 minus 33 Q40 1 in 10,000 ?63 minus 33 Q30 1 in 1,000 553 minus 33 Q20 1 in 100 #35 minus 33 Q2 almost certainly wrong
Bostock, M. (2023). D3.js (Version 7) [Computer software]. https://d3js.org/