annotate fastq_dump_pe.xml @ 3:b70047273f38 draft default tip

planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit b212086a85c4d1e62e0d0c0e77b6f3fcabea04ef-dirty
author mingchen0919
date Mon, 16 Oct 2017 17:21:26 -0400
parents 58d48d1157ed
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
58d48d1157ed planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit b212086a85c4d1e62e0d0c0e77b6f3fcabea04ef-dirty
mingchen0919
parents: 1
diff changeset
1 <tool id="rmarkdown_fastq_dump_pe" name="fastq-dump-pe" version="1.0.1">
0
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
2 <requirements>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
5 <requirement type="package" version="1.2">r-rmarkdown</requirement>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
6 <requirement type="package" version="0.3.5">r-htmltools</requirement>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
7 <requirement type="package" version="0.5.0">r-dplyr</requirement>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
8 <requirement type="package" version="0.5.4">parallel-fastq-dump</requirement>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
9 </requirements>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
10 <description>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
11 Download and extract paired end reads in fastq or fasta format from NCBI SRA. The output is a list of paired datasets
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
12 collection.
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
13 </description>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
14 <stdio>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
15 <!--All stderr are redirected to a file. "XXX" is used to match with nothing-->
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
16 <regex match="XXX"
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
17 source="stderr"
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
18 level="warning"
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
19 description="Check the warnings_and_errors.txt file for more details."/>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
20 </stdio>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
21 <command>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
22 <![CDATA[
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
23 Rscript '${__tool_directory__}/fastq_dump_pe_render.R'
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
24 -i '$sra_accession'
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
25 -e $echo
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
26 -f $format
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
27
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
28 -r $report
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
29 -d $report.files_path
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
30 -s $sink_message
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
31
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
32 -t '${__tool_directory__}/fastq_dump_pe.Rmd'
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
33 ]]>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
34 </command>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
35 <inputs>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
36 <param type="text" name="sra_accession" label="SRR/DRR/ERR accessions" optional="false"
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
37 help="A list of SRR/DRR/ERR accessions separated by comma or space. e.g. SRR6077558,ERR343809"/>
3
b70047273f38 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit b212086a85c4d1e62e0d0c0e77b6f3fcabea04ef-dirty
mingchen0919
parents: 2
diff changeset
38 <param type="select" name="format" label="Output format">
b70047273f38 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit b212086a85c4d1e62e0d0c0e77b6f3fcabea04ef-dirty
mingchen0919
parents: 2
diff changeset
39 <option value="fastq" selected="true">fastq</option>
b70047273f38 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit b212086a85c4d1e62e0d0c0e77b6f3fcabea04ef-dirty
mingchen0919
parents: 2
diff changeset
40 <option value="fasta">fasta</option>
b70047273f38 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit b212086a85c4d1e62e0d0c0e77b6f3fcabea04ef-dirty
mingchen0919
parents: 2
diff changeset
41 </param>
0
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
42 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false"
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
43 label="Display analysis code in report?"/>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
44 </inputs>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
45 <outputs>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
46 <data format="html" name="report" label="Fastq-dump report" />
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
47 <collection type="list:paired" name="list_collection" label="Fastq-dump (paired end reads)">
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
48 <discover_datasets pattern="(?P&lt;identifier_0&gt;[^_]+)_(?P&lt;identifier_1&gt;[^_]+)\.(?P&lt;ext&gt;[^\._]+)?" directory="read_files_directory"/>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
49 </collection>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
50 <data format="txt" name="sink_message" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt" />
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
51 </outputs>
1a11c4fd13d0 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_fastq_dump commit 65063d5b207a70df38a0bcb6fb57a8f9170d9e9b
mingchen0919
parents:
diff changeset
52 </tool>