annotate rmarkdown_samtools_flagstat.xml @ 2:77e8e7bc5b44 draft

update
author mingchen0919
date Wed, 27 Dec 2017 15:19:43 -0500
parents
children 8354d118baab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
mingchen0919
parents:
diff changeset
1 <tool id="rmarkdown_samtools_flagstat" name="R Markdown samtools flagstat" version="1.0.0">
mingchen0919
parents:
diff changeset
2 <requirements>
mingchen0919
parents:
diff changeset
3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
mingchen0919
parents:
diff changeset
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
mingchen0919
parents:
diff changeset
5 <requirement type="package" version="1.3">r-rmarkdown</requirement>
mingchen0919
parents:
diff changeset
6 <requirement type="package" version="0.3.5">r-htmltools</requirement>
mingchen0919
parents:
diff changeset
7 <requirement type="package" version="0.5.0">r-dplyr</requirement>
mingchen0919
parents:
diff changeset
8 <requirement type="package" version="1.4.1">samtools</requirement>
mingchen0919
parents:
diff changeset
9 </requirements>
mingchen0919
parents:
diff changeset
10 <description>simple stats on BAM file</description>
mingchen0919
parents:
diff changeset
11 <stdio>
mingchen0919
parents:
diff changeset
12 <regex source="stderr" match="XXX" level="warning" description="Check the warnings_and_errors.txt file for more details."/>
mingchen0919
parents:
diff changeset
13 </stdio>
mingchen0919
parents:
diff changeset
14 <command><![CDATA[ Rscript '${__tool_directory__}/rmarkdown_samtools_flagstat_render.R'
mingchen0919
parents:
diff changeset
15 -e $echo
mingchen0919
parents:
diff changeset
16 -b $input_bam
mingchen0919
parents:
diff changeset
17 -n $input_bam.name
mingchen0919
parents:
diff changeset
18 -r $report
mingchen0919
parents:
diff changeset
19 -d $report.files_path
mingchen0919
parents:
diff changeset
20 -s $sink_message
mingchen0919
parents:
diff changeset
21 -t '${__tool_directory__}/rmarkdown_samtools_flagstat.Rmd'
mingchen0919
parents:
diff changeset
22 ]]></command>
mingchen0919
parents:
diff changeset
23 <inputs>
mingchen0919
parents:
diff changeset
24 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
mingchen0919
parents:
diff changeset
25 <param type="data" name="input_bam" label="BAM file" optional="False"/>
mingchen0919
parents:
diff changeset
26 </inputs>
mingchen0919
parents:
diff changeset
27 <outputs>
mingchen0919
parents:
diff changeset
28 <data name="report" format="html" label="tool name report" hidden="false"/>
mingchen0919
parents:
diff changeset
29 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt" hidden="false"/>
mingchen0919
parents:
diff changeset
30 </outputs>
mingchen0919
parents:
diff changeset
31 <help><![CDATA[<code>samtools flagstat in.sam|in.bam|in.cram</code>
mingchen0919
parents:
diff changeset
32
mingchen0919
parents:
diff changeset
33 Does a full pass through the input file to calculate and print statistics to stdout]]></help>
mingchen0919
parents:
diff changeset
34 <citations>
mingchen0919
parents:
diff changeset
35 <citation><![CDATA[
mingchen0919
parents:
diff changeset
36 @article{allaire2016rmarkdown,
mingchen0919
parents:
diff changeset
37 title={rmarkdown: Dynamic Documents for R, 2016},
mingchen0919
parents:
diff changeset
38 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
mingchen0919
parents:
diff changeset
39 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
mingchen0919
parents:
diff changeset
40 journal={R package version 0.9},
mingchen0919
parents:
diff changeset
41 volume={6},
mingchen0919
parents:
diff changeset
42 year={2016}
mingchen0919
parents:
diff changeset
43 ]]></citation>
mingchen0919
parents:
diff changeset
44 <citation type="bibtex"><![CDATA[@article{li2009sequence,
mingchen0919
parents:
diff changeset
45 title={The sequence alignment/map format and SAMtools},
mingchen0919
parents:
diff changeset
46 author={Li, Heng and Handsaker, Bob and Wysoker, Alec and Fennell, Tim and Ruan, Jue and Homer, Nils and Marth, Gabor and Abecasis, Goncalo and Durbin, Richard},
mingchen0919
parents:
diff changeset
47 journal={Bioinformatics},
mingchen0919
parents:
diff changeset
48 volume={25},
mingchen0919
parents:
diff changeset
49 number={16},
mingchen0919
parents:
diff changeset
50 pages={2078--2079},
mingchen0919
parents:
diff changeset
51 year={2009},
mingchen0919
parents:
diff changeset
52 publisher={Oxford University Press}
mingchen0919
parents:
diff changeset
53 }]]></citation>
mingchen0919
parents:
diff changeset
54 </citations>
mingchen0919
parents:
diff changeset
55 </tool>