annotate rmarkdown_samtools_flagstat.xml @ 3:8354d118baab draft

update
author mingchen0919
date Wed, 27 Dec 2017 23:29:32 -0500
parents 77e8e7bc5b44
children 1723d63c7d95
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"/>
3
mingchen0919
parents: 2
diff changeset
25 <param type="data" format="bam,sam" name="input_bam" label="BAM/SAM file" optional="False"/>
2
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>
3
mingchen0919
parents: 2
diff changeset
31 <help><![CDATA[
mingchen0919
parents: 2
diff changeset
32 samtools flagstat in.sam|in.bam|in.cram
2
mingchen0919
parents:
diff changeset
33
mingchen0919
parents:
diff changeset
34 Does a full pass through the input file to calculate and print statistics to stdout]]></help>
mingchen0919
parents:
diff changeset
35 <citations>
3
mingchen0919
parents: 2
diff changeset
36 <citation type="bibtex"><![CDATA[
2
mingchen0919
parents:
diff changeset
37 @article{allaire2016rmarkdown,
mingchen0919
parents:
diff changeset
38 title={rmarkdown: Dynamic Documents for R, 2016},
mingchen0919
parents:
diff changeset
39 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
mingchen0919
parents:
diff changeset
40 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
mingchen0919
parents:
diff changeset
41 journal={R package version 0.9},
mingchen0919
parents:
diff changeset
42 volume={6},
mingchen0919
parents:
diff changeset
43 year={2016}
mingchen0919
parents:
diff changeset
44 ]]></citation>
mingchen0919
parents:
diff changeset
45 <citation type="bibtex"><![CDATA[@article{li2009sequence,
mingchen0919
parents:
diff changeset
46 title={The sequence alignment/map format and SAMtools},
mingchen0919
parents:
diff changeset
47 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
48 journal={Bioinformatics},
mingchen0919
parents:
diff changeset
49 volume={25},
mingchen0919
parents:
diff changeset
50 number={16},
mingchen0919
parents:
diff changeset
51 pages={2078--2079},
mingchen0919
parents:
diff changeset
52 year={2009},
mingchen0919
parents:
diff changeset
53 publisher={Oxford University Press}
mingchen0919
parents:
diff changeset
54 }]]></citation>
mingchen0919
parents:
diff changeset
55 </citations>
mingchen0919
parents:
diff changeset
56 </tool>