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
Last revisionBoth sides next revision
population-diversity:microbiome-analysis-with-qiime2-using-illumina-paired-end-sequence-data [2020/04/29 14:57] – [Qiime2 data filtering and feature (OTU) table construction] bnginapopulation-diversity:microbiome-analysis-with-qiime2-using-illumina-paired-end-sequence-data [2020/04/29 15:02] – [Qiime2 data filtering and feature (OTU) table construction] bngina
Line 47: Line 47:
 === Dada2 === === 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. +The Dada2 pipeline detects and corrects illumina amplicon sequence data and additionally filters 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 To see usage and parameters that can be adjusted get the help for the pluggin i.e
  
Line 63: Line 63:
   *Review the Interactive Quality Plot tab in the //''demux.qzv''// file that was generated by ''qiime demux summarize'' after importing the data to trim of the poor quality bases.    *Review the Interactive Quality Plot tab in the //''demux.qzv''// file that was generated by ''qiime demux summarize'' after importing the data to trim of the poor quality bases. 
   *The expected fragment size after the reads are joined, particularly for the //''--p-trunc-len[f|r]''// Refer to the expected fragment length for the primers used to prepare the libraries for sequencing. For example if the expected fragment length for your sequences is 465bp, and lets say the insert size during the sequencing was 300bp. We would want to have a final length of at least 465by or more to have better chances of final sequences of full length for the alignment. Considering that more often than not the forward sequences from illumina sequences have better quality than the reverse sequences. We could use a //''--p-trunc-len-f''// of //''250''// and a //''--p-trunc-len-r''// of //''220''//. to have a final sequence length of //''470bp''//.   *The expected fragment size after the reads are joined, particularly for the //''--p-trunc-len[f|r]''// Refer to the expected fragment length for the primers used to prepare the libraries for sequencing. For example if the expected fragment length for your sequences is 465bp, and lets say the insert size during the sequencing was 300bp. We would want to have a final length of at least 465by or more to have better chances of final sequences of full length for the alignment. Considering that more often than not the forward sequences from illumina sequences have better quality than the reverse sequences. We could use a //''--p-trunc-len-f''// of //''250''// and a //''--p-trunc-len-r''// of //''220''//. to have a final sequence length of //''470bp''//.
 +
 +The command would therefore be
 +
 +<code>
 +qiime dada2 denoise-paired \
 + --i-demultiplexed-seqs ${data_dir}/armel_run2.qza \
 + --p-trim-left-f 0 \
 + --p-trim-left-r 0 \
 + --p-trunc-len-f 250 \
 + --p-trunc-len-r 220\
 + --o-table ${data_dir}/armel_run2_dada2_470_table.qza \
 + --o-representative-sequences ${data_dir}/armel_run2_dada2_470_rep-seqs.qza \
 + --o-denoising-stats ${data_dir}/armel_run2_dada2_470_denoising-stats.qza \
 + --p-n-threads 4
 +
 +#next summarise the features table and view, 
 +        
 +time qiime feature-table summarize \
 + --i-table ${data_dir}/armel_run2_dada2_470_table.qza \
 + --o-visualization ${qzv_dir}/armel_run2_dada2_470_table.qzv
 +
 +
 +#view a summary of the rep sequences
 +
 +time qiime feature-table tabulate-seqs \
 + --i-data ${data_dir}/armel_run2_dada2_470_rep-seqs.qza \
 + --o-visualization ${qzv_dir}/armel_run2_dada2_470_rep-seqs.qzv
 +
 +#and also view the denoising statistics
 +time qiime metadata tabulate \
 +  --m-input-file ${data_dir}/armel_run2_dada2_470_denoising-stats.qza \
 +  --o-visualization ${qzv_dir}/armel_run2_dada2_470_denoising-stats.qzv
 +</code>
population-diversity/microbiome-analysis-with-qiime2-using-illumina-paired-end-sequence-data.txt · Last modified: 2020/04/29 15:09 by bngina