Mercurial > repos > mingchen0919 > statonlab_hmmscan
annotate rmarkdown_report.xml @ 11:65f06099f0f3 draft default tip
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
| author | mingchen0919 |
|---|---|
| date | Sun, 16 Sep 2018 10:59:01 -0400 |
| parents | 6ec32fcdba69 |
| children |
| rev | line source |
|---|---|
| 0 | 1 <tool id="statonlab_hmmscan" name="aurora_statonlab_hmmscan" version="1.0.0"> |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
2 <description>Query protein sequences against Pfam database
 |
| 0 | 3 </description> |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
4 <requirements> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
5 <requirement type="package" version="1.15.0.6-0">pandoc</requirement> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
6 <requirement type="package" version="1.20.0">r-getopt</requirement> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
7 <requirement type="package" version="3.2.1">hmmer</requirement> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
8 <requirement type="package" version="1.6">r-rmarkdown</requirement> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
9 <requirement type="package" version="0.8.1">seqkit</requirement> |
|
10
6ec32fcdba69
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
9
diff
changeset
|
10 <requirement type="package" version="1.1.1">r-tidyverse</requirement> |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
11 </requirements> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
12 <command><![CDATA[ ######### each aurora tool generates a html file and have an files path directory associated with it. |
| 0 | 13 mkdir -p $report.files_path && |
| 14 | |
| 15 ######### three important paths: | |
| 16 ######### 1. path to tool installation directory | |
| 17 ######### 2. path to report html | |
| 18 ######### 3. path to files_path directory associated with the report output. | |
| 19 export TOOL_INSTALL_DIR='${__tool_directory__}' && | |
| 20 export REPORT='$report' && | |
| 21 export REPORT_FILES_PATH='$report.files_path' && | |
| 22 | |
| 23 ############ create a hidden file to store r markdown rendering log | |
| 1 | 24 touch $report.files_path/r_rendering.log.txt && |
| 0 | 25 |
| 26 ############ finally run the render.R script | |
| 27 Rscript '${__tool_directory__}/rmarkdown_report_render.R' | |
| 28 | |
| 29 -o $report | |
| 30 -d $report.files_path | |
| 1 | 31 -g $significant_genes |
| 32 -u $protein_sequences_url | |
| 7 | 33 |
| 34 -E $evalue_threshold | |
| 35 -T $score_threshold | |
| 36 -e $domE | |
| 37 -t $domT | |
| 38 -b $best_hit | |
| 39 -1 $pfam_tbl_out | |
| 1 | 40 ]]></command> |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
41 <inputs> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
42 <param type="data" name="significant_genes" label="Significant Genes" |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
43 help="A significant genes file from the <code>aurora_deseq2</code> tool." optional="False" |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
44 format="txt,csv" multiple="False"/> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
45 <param type="text" name="protein_sequences_url" label="URL to a protein sequences file" optional="False"/> |
|
11
65f06099f0f3
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
10
diff
changeset
|
46 <param type="text" name="evalue_threshold" argument="-E" label="Evalue threshold" optional="True" |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
47 help="report models <= this E-value threshold in output [10.0] (x>0)" optional="False" |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
48 value="10"/> |
|
11
65f06099f0f3
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
10
diff
changeset
|
49 <param type="text" name="score_threshold" argument="-T" label="Score threshold" optional="True" |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
50 help="report models >= this score threshold in output" optional="False"/> |
|
11
65f06099f0f3
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
10
diff
changeset
|
51 <param type="text" name="domE" argument="--domE" label="domains E-value threshold" optional="True" |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
52 help="report domains <= this E-value threshold in output [10.0] (x>0)" optional="False" |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
53 value="10"/> |
|
11
65f06099f0f3
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
10
diff
changeset
|
54 <param type="text" name="domT" argument="--domT" label="domains score threshold" optional="True" |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
55 help="report domains >= this score cutoff in output" optional="False"/> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
56 <param type="boolean" name="best_hit" label="Best Hit" help="Only return best hit for each query sequence" |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
57 optional="False" truevalue="NO_ARGUMENT_YES" falsevalue="NO_ARGUMENT_NO"/> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
58 </inputs> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
59 <outputs> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
60 <data format="html" name="report" label="${tool.name} report on ${on_string}"/> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
61 <data name="pfam_tbl_out" format="csv" label="${tool.name} pfam.domtblout on ${on_string}" hidden="false"/> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
62 </outputs> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
63 <citations> |
| 0 | 64 <citation type="bibtex"><![CDATA[ |
| 65 @article{allaire2016rmarkdown, | |
| 66 title={rmarkdown: Dynamic Documents for R, 2016}, | |
| 67 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff | |
| 68 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob}, | |
| 69 journal={R package version 0.9}, | |
| 70 volume={6}, | |
| 71 year={2016} | |
| 72 } | |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
73 ]]></citation> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
74 <citation type="bibtex"><![CDATA[ |
| 0 | 75 @book{xie2015dynamic, |
| 76 title={Dynamic Documents with R and knitr}, | |
| 77 author={Xie, Yihui}, | |
| 78 volume={29}, | |
| 79 year={2015}, | |
| 80 publisher={CRC Press} | |
| 81 } | |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
82 ]]></citation> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
83 <citation type="bibtex"><![CDATA[ |
| 0 | 84 @online{jstree, |
| 85 author={Bozhanov, Ivan}, | |
| 86 year = 2018, | |
| 87 url = {https://www.jstree.com/} | |
| 88 } | |
|
9
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
89 ]]></citation> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
90 <citation type="bibtex"><![CDATA[@article{eddy1992hmmer, |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
91 title={HMMER user’s guide}, |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
92 author={Eddy, Sean}, |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
93 journal={Department of Genetics, Washington University School of Medicine}, |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
94 volume={2}, |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
95 number={1}, |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
96 year={1992} |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
97 }]]></citation> |
|
a7256d37a33b
planemo upload commit 690c4bb06a00f1a035c746c3d283a3026ecf6319-dirty
mingchen0919
parents:
8
diff
changeset
|
98 </citations> |
| 0 | 99 </tool> |
