Mercurial > repos > youyuh48 > sleuth
comparison r-sleuth.xml @ 2:a049d0d5a05e draft
Uploaded
author | youyuh48 |
---|---|
date | Fri, 08 Dec 2017 22:15:41 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:527c214feb7d | 2:a049d0d5a05e |
---|---|
1 <tool id="r-sleuth" name="r-sleuth" version="0.29.0"> | |
2 <description>Sleuth is an R library for analysis of RNA-Seq experiments for which transcript abundances have been quantified with kallisto.</description> | |
3 <requirements> | |
4 <requirement type="package" version="1.20.0">r-getopt</requirement> | |
5 <requirement type="package" version="0.29.0">r-sleuth</requirement> | |
6 <requirement type="package" version="2.34.0">bioconductor-biomart</requirement> | |
7 </requirements> | |
8 <version_command> | |
9 <![CDATA[ | |
10 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: ") | |
11 ]]> | |
12 </version_command> | |
13 <command detect_errors="aggressive"> | |
14 <![CDATA[ | |
15 #import re | |
16 ## create symlinks to input datasets | |
17 #for $file in $input_files | |
18 #set $sname = re.sub('\.h5$', '', str($file.element_identifier)) | |
19 mkdir -p 'data/${sname}/kallisto' && | |
20 ln -s '$file' 'data/${sname}/kallisto/abundance.h5' && | |
21 #end for | |
22 | |
23 Rscript '${__tool_directory__}/r-sleuth.R' | |
24 --indir 'data' | |
25 --metadata '$metadata' | |
26 --full_model '~${full_model}' | |
27 --reduced_model '~${reduced_model}' | |
28 --gene_anno_name 'hsapiens_gene_ensembl' && | |
29 tar zcvf sleuth_shiny.tar.gz data/app.R data/so.rds | |
30 ]]> | |
31 </command> | |
32 <inputs> | |
33 <param name="input_files" type="data" format="h5" label="Select Abundance(HDF5) Datasets" min="2" multiple="True"/> | |
34 <param name="metadata" type="data" format="txt,tsv,tabular" label="Metadata file"/> | |
35 <param name="full_model" type="text" value="condition" label="Full model"/> | |
36 <param name="reduced_model" type="text" value="1" label="Reduced model"/> | |
37 <param name="gene_anno_name" type="select" label="BioMart dataset"> | |
38 <option value="hsapiens_gene_ensembl" selected="true">homo_sapiens</option> | |
39 </param> | |
40 </inputs> | |
41 <outputs> | |
42 <data name="output" format="tar" label="${tool.name} on ${on_string}: R Shiny app" from_work_dir="sleuth_shiny.tar.gz"/> | |
43 </outputs> | |
44 <tests> | |
45 <test> | |
46 <param name="input_files" value="SRR1867792.h5,SRR1909613.h5,SRR1909637.h5"/> | |
47 <param name="metadata" value="metadata.txt"/> | |
48 <output name="output" file="sleuth_shiny.tar.gz" ftype="tar"/> | |
49 </test> | |
50 </tests> | |
51 <help> | |
52 <![CDATA[ | |
53 This is a Galaxy wrapper for the Sleuth package. | |
54 | |
55 **Input file format of metadata** | |
56 | |
57 sample condition | |
58 --------------------- | |
59 SRR1867792 ESC | |
60 SRR1909613 BM-MSC | |
61 SRR1909637 BM-MSC | |
62 | |
63 **Output** | |
64 | |
65 This wrapper script generates Shiny web application files for RStudio. | |
66 Unzip sleuth_shiny.tar.gz file, then run app.R file in RStudio. | |
67 ]]> | |
68 </help> | |
69 <citations> | |
70 <citation type="bibtex"> | |
71 @misc{githubsleuth, | |
72 title = {sleuth}, | |
73 publisher = {GitHub}, | |
74 journal = {GitHub repository}, | |
75 url = {https://pachterlab.github.io/sleuth/}, | |
76 } | |
77 </citation> | |
78 </citations> | |
79 </tool> |