annotate fastqc_report.Rmd @ 0:b7c115edd970 draft

planemo upload
author mingchen0919
date Tue, 27 Feb 2018 10:37:12 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
1 ---
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
2 title: 'Short reads evaluation with [FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/)'
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
3 output:
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
4 html_document:
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
5 number_sections: true
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
6 toc: true
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
7 theme: cosmo
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
8 highlight: tango
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
9 ---
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
10
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
11 ```{r setup, include=FALSE, warning=FALSE, message=FALSE}
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
12 knitr::opts_chunk$set(
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
13 echo = as.logical(opt$X_e),
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
14 error = TRUE,
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
15 eval = TRUE
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
16 )
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
17 ```
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
18
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
19
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
20
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
21
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
22
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
23 ##
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
24
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
25 ##
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
26
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
27
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
28 ##
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
29
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
30
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
31 ##
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
32
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
33 ##
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
34
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
35 ##
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
36
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
37 ### Kmer Content {.tabset}
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
38
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
39 #### Before
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
40
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
41 ```{r 'Kmer Content (before)', fig.width=10}
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
42 kc_1 = extract_data_module(paste0(opt$X_d, '/read_1_fastqc/fastqc_data.txt'), 'Kmer Content')
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
43 knitr::kable(kc_1)
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
44 ```
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
45
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
46 #### After
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
47 ```{r 'Kmer Content (after)', fig.width=10}
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
48 kc_2 = extract_data_module(paste0(opt$X_d, '/read_2_fastqc/fastqc_data.txt'), 'Kmer Content')
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
49 knitr::kable(kc_2)
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
50 ```
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
51
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
52
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
53 # Session Info
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
54
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
55 ```{r 'session info'}
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
56 sessionInfo()
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
57 ```
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
58
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
59 # References
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
60
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
61 * Bioinformatics, Babraham (2014). FastQC.
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
62
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
63 * Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff and Wickham, Hadley and Atkins, Aron and Hyndman, Rob (2016). rmarkdown: Dynamic Documents for R, 2016. In R package version 0.9, 6.
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
64
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
65 * Xie, Yihui (2015). Dynamic Documents with R and knitr, CRC Press, Vol.29.
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
66
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
67 * Carson Sievert and Chris Parmer and Toby Hocking and Scott Chamberlain and Karthik Ram and Marianne Corvellec and Pedro Despouy (2017). plotly: Create Interactive Web Graphics via 'plotly.js'. R package version 4.6.0. [Link]
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
68
b7c115edd970 planemo upload
mingchen0919
parents:
diff changeset
69 * Wickham, H. (2016). ggplot2: elegant graphics for data analysis. Springer. Chicago