Mercurial > repos > mingchen0919 > rmarkdown_bdss_client
diff bdss_client_sra.xml @ 21:a709a705ce09 draft
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client commit 813dcaa22f297814dd6d6a8c4c5ff01664942aa6-dirty
| author | mingchen0919 |
|---|---|
| date | Sat, 14 Oct 2017 19:54:57 -0400 |
| parents | |
| children | 89cc5b026494 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bdss_client_sra.xml Sat Oct 14 19:54:57 2017 -0400 @@ -0,0 +1,58 @@ +<tool id="rmarkdown_bdss_client_sra" name="BDSS client SRA" version="1.0.2"> + <requirements> + <requirement type="package" version="1.15.0.6-0">pandoc</requirement> + <requirement type="package" version="3.3.2">r-base</requirement> + <requirement type="package" version="1.20.0">r-getopt</requirement> + <requirement type="package" version="1.2">r-rmarkdown</requirement> + <requirement type="package" version="0.3.5">r-htmltools</requirement> + <requirement type="package" version="0.5.0">r-dplyr</requirement> + <requirement type="package" version="0.5.4">parallel-fastq-dump</requirement> + <requirement type="package" version="1.95_4.8">r-rcurl</requirement> + </requirements> + <description> + Download data with BDSS client and generate list (single end SRA data) and list:paired dataset collection (paired end SRA data). + </description> + <stdio> + <!--All stderr are redirected to a file. "XXX" is used to match with nothing--> + <regex match="XXX" + source="stderr" + level="warning" + description="Check the warnings_and_errors.txt file for more details."/> + </stdio> + <command> + <![CDATA[ + Rscript '${__tool_directory__}/bdss_client_sra_render.R' + -i '$sra_ids_se' + -p '$sra_ids_pe' + -e $echo + + -r $report + -d $report.files_path + -s $sink_message + + -t '${__tool_directory__}/bdss_client_sra.Rmd' + ]]> + </command> + <inputs> + <param type="text" name="sra_ids_se" area="true" size="5x25" label="SRR/DRR/ERR accessions of single end SRA" optional="false" + help="A list of SRR/DRR/ERR accessions separated by comma or space. e.g. SRR6077558,ERR343809"/> + <param type="text" name="sra_ids_pe" area="true" size="5x25" label="SRR/DRR/ERR accessions of paired end SRA" optional="false" + help="A list of SRR/DRR/ERR accessions separated by comma or space. e.g. ERR2105526"/> + <param type="boolean" name="format" truevalue="fastq" falsevalue="fasta" checked="true" + label="output files in fastq (Yes) or fasta (No)?"/> + <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" + label="Display analysis code in report?"/> + </inputs> + <outputs> + <data format="html" name="report" label="BDSS client report"/> + <!--list dataset collection for single end SRA data--> + <collection type="list" name="list_collection" label="Fastq-dump (single end reads)"> + <discover_datasets pattern="__name_and_ext__" directory="read_files_directory" /> + </collection> + <!--list:paired dataset collection for paired end SRA data--> + <collection type="list:paired" name="list_collection" label="Fastq-dump (paired end reads)"> + <discover_datasets pattern="(?P<identifier_0>[^_]+)_(?P<identifier_1>[^_]+)\.(?P<ext>[^\._]+)?" directory="read_files_directory"/> + </collection> + <data format="txt" name="sink_message" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"/> + </outputs> +</tool> \ No newline at end of file
