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