Mercurial > repos > mingchen0919 > aurora_star
comparison rmarkdown_report.xml @ 0:25602263cff0 draft default tip
planemo upload commit 841d8b22bf9f1aaed6bfe8344b60617f45b275b2-dirty
author | mingchen0919 |
---|---|
date | Sun, 30 Dec 2018 13:11:48 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:25602263cff0 |
---|---|
1 <tool name="aurora_star" id='aurora_star_report' version="2.0.1"> | |
2 <description> | |
3 ultrafast universal RNA-seq aligner | |
4 </description> | |
5 <requirements> | |
6 <requirement type="package" version="2.5">pandoc</requirement> | |
7 <requirement type="package" version="1.20.2">r-getopt</requirement> | |
8 <requirement type="package" version="1.10">r-rmarkdown</requirement> | |
9 <requirement type="package" version="2.5.4a">star</requirement> | |
10 <requirement type="package" version="1.7">samtools</requirement> | |
11 </requirements> | |
12 <command><![CDATA[ | |
13 | |
14 ######### each aurora tool generates a html file and have an files path directory associated with it. | |
15 mkdir -p $report.files_path && | |
16 | |
17 ######### three important paths: | |
18 ######### 1. path to tool installation directory | |
19 ######### 2. path to report html | |
20 ######### 3. path to files_path directory associated with the report output. | |
21 export TOOL_INSTALL_DIR='${__tool_directory__}' && | |
22 export REPORT='$report' && | |
23 export REPORT_FILES_PATH='$report.files_path' && | |
24 | |
25 ############ create a hidden file to store r markdown rendering log | |
26 touch $report.files_path/.r_rendering.log.txt && | |
27 | |
28 ############ finally run the render.R script | |
29 Rscript '${__tool_directory__}/rmarkdown_report_render.R' | |
30 | |
31 -o $report | |
32 -d $report.files_path | |
33 | |
34 -A '$genomeFastaFiles' | |
35 -B '$sjdbGTFfile' | |
36 -C '$sjdbOverhang' | |
37 -F '$first_reads' | |
38 -R '$second_reads' | |
39 -S '$sorted_bam' | |
40 | |
41 ]]></command> | |
42 <inputs> | |
43 <param type="data" name="first_reads" label="First reads" optional="False" format="fastq,fastqsanger"/> | |
44 <param type="data" name="second_reads" label="Second reads" optional="True" format="fastq,fastqsanger"/> | |
45 <param type="data" name="genomeFastaFiles" argument="--genomeFastaFiles" label="Genome fasta files" | |
46 optional="False" format="fasta,fa"/> | |
47 <param type="data" name="sjdbGTFfile" argument="--sjdbGTFfile" label="Annotated transcripts" | |
48 help="the file with annotated transcripts in the standard GTF format. STAR will extract splice junctions from this file and use them to greatly improve accuracy of the mapping. While this is optional, and STAR can be run without annotations, using annotations is highly recommended whenever they are available." | |
49 optional="True" format="gtf"/> | |
50 <param type="integer" name="sjdbOverhang" argument="--sjdbOverhang" label="sjdbOverhang" | |
51 help="the length of the genomic sequence around the annotated junction to be used in constructing the splice junctions database. Ideally, this length should be equal to the ReadLength-1, where ReadLength is the length of the reads. For instance, for Illumina 2x100b paired-end reads, the ideal value is 100-1=99. In case of reads of varying length, the ideal value is max(ReadLength)-1. In most cases, a generic value of 100 will work as well as the ideal value." | |
52 optional="False" value="100" min="1"/> | |
53 </inputs> | |
54 <outputs> | |
55 <data name="report" format="html" label="${tool.name} report on ${on_string}"/> | |
56 <data name="sorted_bam" format="bam" label="${tool.name} sorted bam on ${on_string}"/> | |
57 </outputs> | |
58 <citations> | |
59 <citation type="bibtex"><![CDATA[ | |
60 @article{allaire2016rmarkdown, | |
61 title={rmarkdown: Dynamic Documents for R, 2016}, | |
62 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff | |
63 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob}, | |
64 journal={R package version 0.9}, | |
65 volume={6}, | |
66 year={2016} | |
67 } | |
68 ]]></citation> | |
69 <citation type="bibtex"><![CDATA[ | |
70 @book{xie2015dynamic, | |
71 title={Dynamic Documents with R and knitr}, | |
72 author={Xie, Yihui}, | |
73 volume={29}, | |
74 year={2015}, | |
75 publisher={CRC Press} | |
76 } | |
77 ]]></citation> | |
78 <citation type="bibtex"><![CDATA[ | |
79 @online{jstree, | |
80 author={Bozhanov, Ivan}, | |
81 year = 2018, | |
82 url = {https://www.jstree.com/} | |
83 } | |
84 ]]></citation> | |
85 <citation type="bibtex"><![CDATA[ | |
86 @article{dobin2013star, | |
87 title={STAR: ultrafast universal RNA-seq aligner}, | |
88 author={Dobin, Alexander and Davis, Carrie A and Schlesinger, Felix and Drenkow, Jorg and Zaleski, Chris and Jha, Sonali and Batut, Philippe and Chaisson, Mark and Gingeras, Thomas R}, | |
89 journal={Bioinformatics}, | |
90 volume={29}, | |
91 number={1}, | |
92 pages={15--21}, | |
93 year={2013}, | |
94 publisher={Oxford University Press} | |
95 } | |
96 ]]></citation> | |
97 </citations> | |
98 </tool> |