annotate rmarkdown_samtools_flagstat.xml @ 8:b6ad018c5fa6 draft default tip

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