Mercurial > repos > mingchen0919 > rmarkdown_bdss_client_main
comparison bdss_client_sra.xml @ 0:1cc0ed4567e1 draft default tip
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
author | mingchen0919 |
---|---|
date | Tue, 17 Oct 2017 14:07:18 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1cc0ed4567e1 |
---|---|
1 <tool id="rmarkdown_bdss_client_sra" name="BDSS client SRA" version="1.0.3"> | |
2 <requirements> | |
3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement> | |
4 <requirement type="package" version="3.3.2">r-base</requirement> | |
5 <requirement type="package" version="1.20.0">r-getopt</requirement> | |
6 <requirement type="package" version="1.2">r-rmarkdown</requirement> | |
7 <requirement type="package" version="0.3.5">r-htmltools</requirement> | |
8 <requirement type="package" version="0.5.0">r-dplyr</requirement> | |
9 <requirement type="package" version="0.5.4">parallel-fastq-dump</requirement> | |
10 <requirement type="package" version="1.95_4.8">r-rcurl</requirement> | |
11 </requirements> | |
12 <description> | |
13 Download data with BDSS client and generate list (single end SRA data) and list:paired dataset collection | |
14 (paired end SRA data). | |
15 </description> | |
16 <stdio> | |
17 <!--All stderr are redirected to a file. "XXX" is used to match with nothing--> | |
18 <regex match="XXX" | |
19 source="stderr" | |
20 level="warning" | |
21 description="Check the warnings_and_errors.txt file for more details."/> | |
22 </stdio> | |
23 <command> | |
24 <![CDATA[ | |
25 Rscript '${__tool_directory__}/bdss_client_sra_render.R' | |
26 -i '$sra_ids_se' | |
27 -p '$sra_ids_pe' | |
28 -f $format | |
29 -e $echo | |
30 | |
31 -r $report | |
32 -d $report.files_path | |
33 -s $sink_message | |
34 | |
35 -t '${__tool_directory__}/bdss_client_sra.Rmd' | |
36 ]]> | |
37 </command> | |
38 <inputs> | |
39 <param type="text" name="sra_ids_se" area="true" size="5x25" label="SRR/DRR/ERR accessions of single end SRA" | |
40 help="A list of SRR/DRR/ERR accessions separated by comma or space. e.g. SRR039885"/> | |
41 <param type="text" name="sra_ids_pe" area="true" size="5x25" label="SRR/DRR/ERR accessions of paired end SRA" | |
42 help="A list of SRR/DRR/ERR accessions separated by comma or space. e.g. ERR1748507"/> | |
43 <param type="select" name="format" label="Output format"> | |
44 <option value="fastq" selected="true">fastq</option> | |
45 <option value="fasta">fasta</option> | |
46 </param> | |
47 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" | |
48 label="Display analysis code in report?"/> | |
49 </inputs> | |
50 <outputs> | |
51 <data format="html" name="report" label="BDSS client report"/> | |
52 <!--list dataset collection for single end SRA data--> | |
53 <collection type="list" name="list_collection" label="BDSS download data (single end reads)"> | |
54 <discover_datasets pattern="__name_and_ext__" directory="se_read_files_directory"/> | |
55 </collection> | |
56 <!--list:paired dataset collection for paired end SRA data--> | |
57 <collection type="list:paired" name="list:paired_collection" label="BDSS download data (paired end reads)"> | |
58 <discover_datasets | |
59 pattern="(?P<identifier_0>[^_]+)_(?P<identifier_1>[^_]+)\.(?P<ext>[^\._]+)?" | |
60 directory="pe_read_files_directory"/> | |
61 </collection> | |
62 <data format="txt" name="sink_message" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"/> | |
63 </outputs> | |
64 </tool> |