comparison fastqc_site.xml @ 11:507eec497730 draft

update fastqc site
author mingchen0919
date Tue, 07 Nov 2017 16:52:24 -0500
parents 600c39b11913
children 6faa68239cd7
comparison
equal deleted inserted replaced
10:600c39b11913 11:507eec497730
1 <tool id="fastqc_site" name="Fastqc Site" version="1.0.0"> 1 <tool id="fastqc_site" name="Fastqc Site" version="2.0.0">
2 <requirements> 2 <requirements>
3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement> 3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
4 <requirement type="package" version="1.14.1">bioconductor-deseq2</requirement> 4 <requirement type="package" version="1.14.1">bioconductor-deseq2</requirement>
5 <requirement type="package" version="1.20.0">r-getopt</requirement> 5 <requirement type="package" version="1.20.0">r-getopt</requirement>
6 <requirement type="package" version="1.2">r-rmarkdown</requirement> 6 <requirement type="package" version="1.3">r-rmarkdown</requirement>
7 <requirement type="package" version="1.8.4">r-plyr</requirement> 7 <requirement type="package" version="1.8.4">r-plyr</requirement>
8 <requirement type="package" version="1.1.0">r-stringr</requirement> 8 <requirement type="package" version="1.1.0">r-stringr</requirement>
9 <requirement type="package" version="0.5.0">r-highcharter</requirement> 9 <requirement type="package" version="0.5.0">r-highcharter</requirement>
10 <requirement type="package" version="0.2">r-dt</requirement> 10 <requirement type="package" version="0.2">r-dt</requirement>
11 <requirement type="package" version="1.4.2">r-reshape2</requirement> 11 <requirement type="package" version="1.4.2">r-reshape2</requirement>
12 <requirement type="package" version="4.5.6">r-plotly</requirement> 12 <requirement type="package" version="4.5.6">r-plotly</requirement>
13 <requirement type="package" version="0.2.0.1">r-formattable</requirement> 13 <requirement type="package" version="0.2.0.1">r-formattable</requirement>
14 <requirement type="package" version="0.3.5">r-htmltools</requirement> 14 <requirement type="package" version="0.3.5">r-htmltools</requirement>
15 <requirement type="package" version="0.11.5">fastqc</requirement> 15 <requirement type="package" version="0.11.5">fastqc</requirement>
16 </requirements> 16 </requirements>
17 <description>
18 Implements FastQC analysis and display results in R Markdown website.
19 </description>
20 <stdio> 17 <stdio>
21 <regex match="Execution halted" 18 <!--redirecting stderr to a file. "XXX" is used to match with nothing so that tool running won't be interrupted during testing-->
22 source="both" 19 <regex match="XXX"
23 level="fatal" 20 source="stderr"
24 description="Execution halted." /> 21 level="warning"
25 <regex match="Error in" 22 description="Check the warnings_and_errors.txt file for more details."/>
26 source="both"
27 level="fatal"
28 description="An undefined error occured, please check your intput carefully and contact your administrator." />
29 <regex match="Fatal error"
30 source="both"
31 level="fatal"
32 description="An undefined error occured, please check your intput carefully and contact your administrator." />
33 </stdio> 23 </stdio>
34 <command> 24 <command>
35 <![CDATA[ 25 <![CDATA[
36 26
37 Rscript '${__tool_directory__}/fastqc_site_render.R' 27 Rscript '${__tool_directory__}/fastqc_site_render.R'
38 28
39 ## 1. input data 29 ## 1. input data
40 -r $reads
41 -e $echo 30 -e $echo
31 -r $reads_1
32 -n '$reads_1.name'
33 -R $reads_2
34 -N '$reads_2.name'
35 -c $contaminants
36 -l $limits
42 37
43 ## 2. output report and report site directory 38 ## 2. output report and report site directory
44 -o $fastqc_site 39 -o $report
45 -d $fastqc_site.files_path 40 -d $report.files_path
41 -s $sink_message
46 42
47 ## 3. Rmd templates sitting in the tool directory 43 ## 3. Rmd templates sitting in the tool directory
48 44
49 ## _site.yml and index.Rmd template files 45 ## _site.yml and index.Rmd template files
50 -s '${__tool_directory__}/_site.yml' 46 -S '${__tool_directory__}/_site.yml'
51 -i '${__tool_directory__}/index.Rmd' 47 -I '${__tool_directory__}/index.Rmd'
52 48
53 ## other Rmd body template files 49 ## other Rmd body template files
54 -p '${__tool_directory__}/01_evaluation_overview.Rmd' 50 -A '${__tool_directory__}/01_evaluation_overview.Rmd'
55 -a '${__tool_directory__}/02_fastqc_original_reports.Rmd' 51 -B '${__tool_directory__}/02_per_base_sequence_quality.Rmd'
56 -b '${__tool_directory__}/1_per_base_quality_scores.Rmd' 52 -C '${__tool_directory__}/03_per_tile_sequence_quality.Rmd'
57 -c '${__tool_directory__}/2_per_base_N_content.Rmd' 53 -D '${__tool_directory__}/04_per_sequence_quality_score.Rmd'
58 -f '${__tool_directory__}/3_per_sequence_quality_scores.Rmd' 54 -E '${__tool_directory__}/05_per_base_sequence_content.Rmd'
59 -g '${__tool_directory__}/4_per_sequence_GC_content.Rmd' 55 -F '${__tool_directory__}/06_per_sequence_gc_content.Rmd'
60 -h '${__tool_directory__}/5_per_base_sequence_content.Rmd' 56 -G '${__tool_directory__}/07_per_base_n_content.Rmd'
57 -H '${__tool_directory__}/08_sequence_length_distribution.Rmd'
58 -J '${__tool_directory__}/09_sequence_duplication_levels.Rmd'
59 -K '${__tool_directory__}/10_adapter_content.Rmd'
60 -L '${__tool_directory__}/11_kmer_content.Rmd'
61
61 62
62 ]]> 63 ]]>
63 </command> 64 </command>
64 <inputs> 65 <inputs>
65 <param format="fastq,fastq.gz,fastq.bz2,bam,sam" multiple="true" name="reads" type="data" label="Short reads data from history" /> 66 <param format="fastq,fastq.gz,fastq.bz2,bam,sam" name="reads_1" type="data" optional="false"
66 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Display analysis code in report?" /> 67 label="Short reads before trimming"
68 help="Short reads data from history. This could be reads before trimming."/>
69 <param format="fastq,fastq.gz,fastq.bz2,bam,sam" name="reads_2" type="data"
70 label="Short reads after trimming"
71 help="Short reads data from history. This could be reads after trimming."/>
72 <param name="contaminants" type="data" format="tabular" optional="true" label="Contaminant list"
73 help="Specifies a non-default file which contains the list of adapter sequences which will be explicitly
74 searched against the library. The file must contain sets of named adapters
75 in the form name[tab]sequence. Lines prefixed with a hash will be ignored."/>
76 <param name="limits" type="data" format="txt" optional="true" label="Submodule and Limit specifing file"
77 help="Specifies a non-default file which contains a set of criteria
78 which will be used to determine the warn/error limits for the
79 various modules. This file can also be used to selectively
80 remove some modules from the output all together. The format
81 needs to mirror the default limits.txt file found in the
82 Configuration folder."/>
83 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false"
84 label="Display analysis code in report?"/>
67 </inputs> 85 </inputs>
68 <outputs> 86 <outputs>
69 <data format="html" name="fastqc_site" label="fastqc site" /> 87 <data format="html" name="report" label="fastqc site"/>
88 <data format="txt" name="sink_message" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"/>
70 </outputs> 89 </outputs>
71 <citations> 90 <citations>
72 <citation type="bibtex"> 91 <citation type="bibtex">
73 @misc{bioinformatics2014fastqc, 92 @misc{bioinformatics2014fastqc,
74 title={FastQC}, 93 title={FastQC},
77 } 96 }
78 </citation> 97 </citation>
79 <citation type="bibtex"> 98 <citation type="bibtex">
80 @article{allaire2016rmarkdown, 99 @article{allaire2016rmarkdown,
81 title={rmarkdown: Dynamic Documents for R, 2016}, 100 title={rmarkdown: Dynamic Documents for R, 2016},
82 author={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}, 101 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
102 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
83 journal={R package version 0.9}, 103 journal={R package version 0.9},
84 volume={6}, 104 volume={6},
85 year={2016} 105 year={2016}
86 } 106 }
87 </citation> 107 </citation>
95 } 115 }
96 </citation> 116 </citation>
97 <citation type="bibtex"> 117 <citation type="bibtex">
98 @misc{plotly2017, 118 @misc{plotly2017,
99 title = {plotly: Create Interactive Web Graphics via 'plotly.js'}, 119 title = {plotly: Create Interactive Web Graphics via 'plotly.js'},
100 author = {Carson Sievert and Chris Parmer and Toby Hocking and Scott Chamberlain and Karthik Ram and Marianne Corvellec and Pedro Despouy}, 120 author = {Carson Sievert and Chris Parmer and Toby Hocking and Scott Chamberlain and Karthik Ram and
121 Marianne Corvellec and Pedro Despouy},
101 year = {2017}, 122 year = {2017},
102 note = {R package version 4.6.0}, 123 note = {R package version 4.6.0},
103 url = {https://CRAN.R-project.org/package=plotly}, 124 url = {https://CRAN.R-project.org/package=plotly},
104 } 125 }
105 </citation> 126 </citation>
106 <citation type="bibtex"> 127 <citation type="bibtex">
107 @misc{highcharter2017,
108 title = {highcharter: A Wrapper for the 'Highcharts' Library},
109 author = {Joshua Kunst},
110 year = {2017},
111 note = {R package version 0.5.0},
112 url = {https://CRAN.R-project.org/package=highcharter},
113 }
114 </citation>
115 <citation type="bibtex">
116 @misc{formattable2016,
117 title = {formattable: Create 'Formattable' Data Structures},
118 author = {Kun Ren and Kenton Russell},
119 year = {2016},
120 note = {R package version 0.2.0.1},
121 url = {https://CRAN.R-project.org/package=formattable},
122 }
123 </citation>
124 <citation>
125 @article{ewels2016multiqc, 128 @article{ewels2016multiqc,
126 title={MultiQC: summarize analysis results for multiple tools and samples in a single report}, 129 title={MultiQC: summarize analysis results for multiple tools and samples in a single report},
127 author={Ewels, Philip and Magnusson, M{\aa}ns and Lundin, Sverker and K{\"a}ller, Max}, 130 author={Ewels, Philip and Magnusson, M{\aa}ns and Lundin, Sverker and K{\"a}ller, Max},
128 journal={Bioinformatics}, 131 journal={Bioinformatics},
129 volume={32}, 132 volume={32},