# HG changeset patch
# User mingchen0919
# Date 1525188452 14400
# Node ID cf3fde5d08341151dcdcfff0f605a7a030f92980
# Parent b3e5f4753856006500568d6328d3264c294c813c
planemo upload commit 104ae24ee30761a0099eeb91362ed1e3e13aba4b-dirty
diff -r b3e5f4753856 -r cf3fde5d0834 01_htseq_count_analysis.Rmd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/01_htseq_count_analysis.Rmd Tue May 01 11:27:32 2018 -0400
@@ -0,0 +1,36 @@
+---
+title: 'HTSeq-count Analysis'
+output:
+ html_document:
+ highlight: pygments
+---
+
+## Job script
+
+```{bash, echo=FALSE}
+sh ${TOOL_INSTALL_DIR}/build-and-run-job-scripts.sh
+```
+
+```{r echo=FALSE, comment='', results='asis'}
+cat('```bash\n')
+cat(readLines(paste0(Sys.getenv('REPORT_FILES_PATH'), '/htseq-count.sh')), sep = '\n')
+cat('\n```')
+```
+
+## Counts
+
+Only the first few rows are displayed.
+
+```{r, echo=FALSE}
+count_data = read.table(paste0(opt$X_d, '/counts.txt'), row.names = 1)
+sample_names = trimws(strsplit(opt$X_B, ',')[[1]])
+colnames(count_data) = rep(sample_names, length = ncol(count_data))
+kable(head(count_data))
+
+# modify column names
+count_data = data.frame(feature_id = rownames(count_data), count_data)
+write.csv(count_data,
+ file = paste0(Sys.getenv('REPORT_FILES_PATH'), '/count_data.csv'),
+ quote = FALSE, row.names = FALSE)
+```
+
diff -r b3e5f4753856 -r cf3fde5d0834 _site.yml
--- a/_site.yml Tue May 01 11:20:13 2018 -0400
+++ b/_site.yml Tue May 01 11:27:32 2018 -0400
@@ -1,17 +1,11 @@
-name: "Aurora Tool Website"
+name: "Aurora HTSeq-count"
output_dir: "."
navbar:
- title: "Aurora Tool"
+ title: "Aurora HTSeq-count"
type: inverse
left:
- - text: "Job 1"
- href: 01_rmarkdown.html
- - text: "Job 2"
- menu:
- - text: "Sub-job 1"
- href: 02_rmarkdown.html
- - text: "Sub-job 2"
- href: 03_rmarkdown.html
+ - text: "HTSeq-count analysis"
+ href: 01_htseq_count_analysis.html
output:
html_document:
diff -r b3e5f4753856 -r cf3fde5d0834 rmarkdown_report.Rmd
--- a/rmarkdown_report.Rmd Tue May 01 11:20:13 2018 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
----
-title: 'HTSeq-count Report'
-output:
- html_document:
- highlight: pygments
----
-
-```{r setup, include=FALSE, warning=FALSE, message=FALSE}
-knitr::opts_chunk$set(error = TRUE, echo = FALSE)
-```
-
-```{css echo=FALSE}
-# code chunks scrollable
-pre code, pre, code {
- white-space: pre !important;
- overflow-x: scroll !important;
- word-break: keep-all !important;
- word-wrap: initial !important;
-}
-```
-
-
-```{r, echo=FALSE}
-# to make the css theme to work, tags cannot be added directly
-# as tags as below.
-# it has to be added using a code chunk with the htmltool functions!!!
-css_link = tags$link()
-css_link$attribs = list(rel="stylesheet", href="vakata-jstree-3.3.5/dist/themes/default/style.min.css")
-css_link
-```
-
-```{r, eval=FALSE, echo=FALSE}
-# this code chunk is purely for adding comments
-# below is to add jQuery and jstree javascripts
-```
-
-
-
----
-# javascript code below is to build the file tree interface
-# see this for how to implement opening hyperlink: https://stackoverflow.com/questions/18611317/how-to-get-i-get-leaf-nodes-in-jstree-to-open-their-hyperlink-when-clicked-when
----
-
-
----
-# ADD YOUR DATA ANALYSIS CODE AND MARKUP TEXT BELOW TO EXTEND THIS R MARKDOWN FILE
----
-
-## Job script
-
-```{bash, echo=FALSE}
-sh ${TOOL_INSTALL_DIR}/build-and-run-job-scripts.sh
-```
-
-```{r echo=FALSE, comment='', results='asis'}
-cat('```bash\n')
-cat(readLines(paste0(Sys.getenv('REPORT_FILES_PATH'), '/htseq-count.sh')), sep = '\n')
-cat('\n```')
-```
-
-## Counts
-
-Only the first few rows are displayed.
-
-```{r, echo=FALSE}
-count_data = read.table(paste0(opt$X_d, '/counts.txt'), row.names = 1)
-sample_names = trimws(strsplit(opt$X_B, ',')[[1]])
-colnames(count_data) = rep(sample_names, length = ncol(count_data))
-kable(head(count_data))
-
-# modify column names
-count_data = data.frame(feature_id = rownames(count_data), count_data)
-write.csv(count_data,
- file = paste0(Sys.getenv('REPORT_FILES_PATH'), '/count_data.csv'),
- quote = FALSE, row.names = FALSE)
-```
-
diff -r b3e5f4753856 -r cf3fde5d0834 rmarkdown_report.xml
--- a/rmarkdown_report.xml Tue May 01 11:20:13 2018 -0400
+++ b/rmarkdown_report.xml Tue May 01 11:27:32 2018 -0400
@@ -1,6 +1,6 @@
-
+
- some description
+ counting reads in features
pandoc