Lecture 4
QUALITY CONTROL
Click the new-history icon at the top of the history panel.
If the new-history is missing:
Click on the galaxy-gear icon (History options) on the top of the history panel
Select the option Create New from the menu
Click on galaxy-pencil (Edit) next to the history name (which by default is “Unnamed history”)
Type the new name
Click on Save
If you do not have the galaxy-pencil (Edit) next to the history name:
Click on Unnamed history (or the current name of the history) (Click to rename history) at the top of your history panel
Type the new name
Press Enter
Import
1. Select genome solexa.fasta, illumina.fastq, solexa.fastq and import them into
your current history.
With the respectively type of data fasta , fastqIllumina and fastqsolexa
2. https://zenodo.org/record/3977236/files/female_oral2.fastq-4143.gz
Copy the link location
Click galaxy-upload Upload Data at the top of the tool panel
Select galaxy-wf-edit Paste/Fetch Data
Paste the link(s) into the text field
Press Start
Close the window
Import data from a data library
Go into Shared data (top panel) then Data libraries
Navigate to the correct folder as indicated by your instructor.
On most Galaxies tutorial data will be provided in a folder named GTN - Material –> Topic Name -> Tutorial Name.
Select the desired files
Click on Add to History galaxy-dropdown near the top and select as Datasets from the dropdown menu
In the pop-up window, choose
“Select history”: the history you want to import the data to (or create a new one)
Click on Import
A FASTQ file has four line-separated fields per sequence:
A FASTQ file containing a single sequence might look like this:
@SEQ_ID
GATTTGGGGTTCAAAGCAGTATCGATCAAATAGTAAATCCATTTGTTCAACTCACAGTTT
+
!''*((((***+))%%%++)(%%%%).1***-+*''))**55CCF>>>>>>CCCCCCC65
It means that the fragment named @SEQ_ID corresponds to the DNA sequence
GATTTGGGGTTCAAAGCAGTATCGATCAAATAGTAAATCCATTTGTTCAACTCACAGTTT
with a quality
!''*((((***+))%%%++)(%%%%).1***-+*''))**55CCF>>>>>>CCCCCCC65
To save space, the sequencer records an ASCII character to represent scores
0-42. For example 10 corresponds to “+” and 40 corresponds to “I”.
FastQC knows how to translate this. This is often called “Phred” scoring.
So there is an ASCII character associated with each nucleotide, representing its
Phred quality score, the probability of an incorrect base call:
Phred Quality Score | Probability of incorrect base call | Base call accuracy |
10 | 1 in 10 | 90% |
20 | 1 in 100 | 99% |
30 | 1 in 1000 | 99.9% |
40 | 1 in 10,000 | 99.99% |
50 | 1 in 100,000 | 99.999% |
60 | 1 in 1,000,000 | 99.9999% |
FastQC
Load the FastQC tool (section : NGS: QC and manipulation)
-> FastQC: Read Quality reports
Choose illumina.fastq file as input and execute.
http://www.bioinformatics.babraham.ac.uk/projects/
The tool produces a basic text and a HTML output file that contain all of the results, including the following:
Basic Statistics
Per base sequence quality
For each position, a boxplot is drawn with:
Per tile sequence quality
Per sequence quality scores
Per base sequence content
Per sequence GC content
Sequence length distribution
Sequence Duplication Levels
Over-represented sequences
Homework
get acquainted with the description of sequences of good and bad quality on the site http://www.bioinformatics.babraham.ac.uk/projects/fastqc/
Download data from the "Training Materials" folder, as shown in the lecture.
Download data from the link https://zenodo.org/record/3977236/files/female_oral2.fastq-4143.gz, as shown in the lecture.
Load data from the library, as shown in the lecture.
A. In what format should the data be uploaded for analysis in FastqC?
1. fasta
2. sam
3. fastq
4. Bed
B. In basic statistics we get information about the quality of reads
C. What is shown in the “Per tile sequence quality” window
E. The average quality score of Illumina sequencers decreases in the first:
F. Which graph shows the average quality score over the entire length of all reads?
1. Per sequence quality scores
2. Per tile sequence quality
3. Sequence length distribution
4. Over-represented sequences
J. In which window can you trace possible contamination of the sample?
K. What is shown in the window “Over-represented sequences”?
L. The result of the analysis of work in the program is presented
1. one file
Homework
Analyze the downloaded data using the program and describe the results obtained