User Tools

Site Tools


population-diversity:microbiome-analysis-with-qiime2-using-illumina-paired-end-sequence-data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
population-diversity:microbiome-analysis-with-qiime2-using-illumina-paired-end-sequence-data [2020/03/28 11:27] – [Importing data into Qiime2] bnginapopulation-diversity:microbiome-analysis-with-qiime2-using-illumina-paired-end-sequence-data [2020/04/29 13:11] – [Qiime2 data filtering and feature (OTU) table construction] bngina
Line 9: Line 9:
 [[https://docs.qiime2.org/2020.2/concepts/|Data]] used and produced by qiime2 are stored as artifacts. Artifacts contain data and metadata and have a ''.qza'' extension. Qiime2 provides methods to view information (data and metadata) stored in artifacts by creating visualizations, that have a ''.qzv'' extension.  [[https://docs.qiime2.org/2020.2/concepts/|Data]] used and produced by qiime2 are stored as artifacts. Artifacts contain data and metadata and have a ''.qza'' extension. Qiime2 provides methods to view information (data and metadata) stored in artifacts by creating visualizations, that have a ''.qzv'' extension. 
  
-We import raw fastq files into qiime2. Depending on the sequencing platform used to generate the data, you will have data that has been de-multiplexed into sample specif fastq files, or not. The Miseq plaform at BecA-ILRI Hub will demultiplex the data and we get sample specific fastq files.+We import raw fastq files into qiime2. Depending on the sequencing platform used to generate the data, you will have data that has been de-multiplexed into sample specif fastq files, or not. The MiSeq platform at [[ https://hub.africabiosciences.org/BecA-ILRI Hub]] will de-multiplex the data and we get sample specific fastq files. 
 + 
 +Read more about [[ https://docs.qiime2.org/2020.2/tutorials/importing/|different data types and importing them into qiime2]] for anlaysis. We will be importing data described as type //Cassava 1.8 paired-end de-multiplexed fastq//. 
 + 
 +To import fastq files; 
 + 
 +<code> 
 + 
 +#i create a directory to store all my artifact i.e '.qza' and the related visualization i.e '.qzv' files. 
 + 
 +mkdir /home/mydir/qiime2_data/ 
 + 
 +#import the fastq files 
 + 
 +qiime tools import \ 
 + --type 'SampleData[PairedEndSequencesWithQuality]'
 + --input-path /home/mydir/qiime2_data/
 + --input-format CasavaOneEightSingleLanePerSampleDirFmt \ 
 + --output-path /home/mydir/qiime2_data/my_raw_data.qza 
 +</code> 
 + 
 +We mentioned that qiime2 provides method to summarize and view artifacts by storing them as visualizations, .qzv, files. The ''.qzv''  files can be opened on any browser using [[https://view.qiime2.org/ |qiime viewer]]. To create visualization for the imported data; 
 + 
 +<code> 
 + 
 +qiime demux summarize \ 
 + --i-data  /home/mydir/qiime2_data/my_raw_data.qza \ 
 + --o-visualization /home/mydir/qiime2_data/my_raw_data.qzv 
 +</code> 
 + 
 +==== Qiime2 data filtering and feature (OTU) table construction ==== 
 + 
 +Qiime2 provides two pluggins/methods for filtering your sequences to the required quality and length.Sequence Variants are then selected from quality filtered data and the results are feature tables better known as OTU tables and the representative feature sequences. These methods are [[https://www.ncbi.nlm.nih.gov/pubmed/27214047| Dada2]] and [[ https://msystems.asm.org/content/2/2/e00191-16| Deblur]].  
 + 
 +Important to keep in mind is the size of the amplified region covered by the primers used and what is the expected fragment length after read joining? This will determine the trim and truncate length parameters for dada2 and deblur pipelines. 
 + 
 +=== Dada2 === 
 + 
 +The Dada2 pipeline detects and corrects illumina amplicon sequence data and additionally filter any phiX reads identified in sequencing data and also filter out any chimeric sequences.  
 +To see usage and parameters that can be adjusted get the help for the pluggin i.e 
 + 
 +<code> 
 +qiime dada2 --help 
 +</code> 
 + 
 +The data we are using is paired-end, hence we will use the [[https://docs.qiime2.org/2020.2/plugins/available/dada2/|qiime dada2 denoise-paired]] pluggin.  
 + 
 +Key parameters in quality control of the sequences are those used to trim the forward, ''--p-trim-left-f''; ''--p-trunc-len-f'' and reverse '' --p-trim-left-r''; ''--p-trunc-len-r'' reads. The  
population-diversity/microbiome-analysis-with-qiime2-using-illumina-paired-end-sequence-data.txt · Last modified: 2020/04/29 15:09 by bngina