annotate sleuth.xml @ 3:172091d47f5a draft default tip

planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
author youyuh48
date Tue, 12 Jun 2018 17:58:47 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
1 <tool id="sleuth" name="sleuth" version="0.30.0">
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
2 <description>Sleuth is an R library for analysis of RNA-Seq experiments for which transcript abundances have been quantified with kallisto.</description>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
3 <requirements>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
4 <container type="docker">youyuh48/sleuth:0.30.0</container>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
5 </requirements>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
6 <version_command>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
7 <![CDATA[
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
8 echo $(R --version | grep version | grep -v GNU)", r-sleuth version" $(R --vanilla --slave -e "library(sleuth); cat(sessionInfo()\$otherPkgs\$sleuth\$Version)" 2> /dev/null | grep -v -i "WARNING: ")
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
9 ]]>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
10 </version_command>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
11 <command detect_errors="aggressive">
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
12 <![CDATA[
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
13 #import re
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
14 ## create symlinks to input datasets
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
15 #for $file in $input_files
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
16 #set $sname = re.sub('\.h5$', '', str($file.element_identifier))
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
17 mkdir -p 'data/${sname}/kallisto' &&
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
18 ln -s '$file' 'data/${sname}/kallisto/abundance.h5' &&
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
19 #end for
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
20
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
21 Rscript '${__tool_directory__}/sleuth.R'
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
22 --indir 'data'
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
23 --metadata '$metadata'
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
24 --full_model '~${full_model}'
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
25 --reduced_model '~${reduced_model}'
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
26 #if $anno.biomart == "Yes"
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
27 --gene_anno_name '$anno.gene_anno_name'
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
28 #end if
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
29 && tar zcvf sleuth_shiny.tar.gz data/app.R data/so.rds
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
30 ]]>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
31 </command>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
32 <inputs>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
33 <param name="input_files" type="data" format="h5" label="Select Abundance(HDF5) Datasets" min="2" multiple="True"/>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
34 <param name="metadata" type="data" format="txt,tsv,tabular" label="Metadata file"/>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
35 <param name="full_model" type="text" value="condition" label="Full model"/>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
36 <param name="reduced_model" type="text" value="1" label="Reduced model"/>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
37 <conditional name="anno">
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
38 <param name="biomart" type="select" label="Use BioMart?" help="">
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
39 <option value="Yes">Yes</option>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
40 <option value="No">No</option>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
41 </param>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
42 <when value="Yes">
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
43 <param name="gene_anno_name" type="select" label="BioMart dataset">
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
44 <option value="hsapiens_gene_ensembl" selected="true">homo_sapiens</option>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
45 </param>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
46 </when>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
47 <when value="No"></when>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
48 </conditional>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
49 </inputs>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
50 <outputs>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
51 <data name="output" format="tar" label="${tool.name} on ${on_string}: R Shiny app" from_work_dir="sleuth_shiny.tar.gz"/>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
52 </outputs>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
53 <tests>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
54 <test>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
55 <param name="input_files" value="SRR1867792.h5,SRR1909613.h5,SRR1909637.h5"/>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
56 <param name="metadata" value="metadata.txt"/>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
57 <output name="output" file="sleuth_shiny.tar.gz" ftype="tar"/>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
58 </test>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
59 </tests>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
60 <help>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
61 <![CDATA[
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
62 This is a Galaxy wrapper for the Sleuth package.
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
63
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
64 **Input file format of metadata**
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
65
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
66 sample condition
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
67 ---------------------
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
68 SRR1867792 ESC
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
69 SRR1909613 BM-MSC
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
70 SRR1909637 BM-MSC
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
71
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
72 **Output**
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
73
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
74 This wrapper script generates Shiny web application files for RStudio.
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
75 Unzip sleuth_shiny.tar.gz file, then run app.R file in RStudio.
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
76 ]]>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
77 </help>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
78 <citations>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
79 <citation type="bibtex">
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
80 @misc{githubsleuth, title = {sleuth}, publisher = {GitHub}, journal = {GitHub repository}, url = {https://pachterlab.github.io/sleuth/}, }
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
81 </citation>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
82 </citations>
172091d47f5a planemo upload for repository https://github.com/youyuh48/galaxy-sleuth/tree/master/ commit 8d9ff6181e933951e015e67f1719588bab2b3ab5-dirty
youyuh48
parents:
diff changeset
83 </tool>