annotate retrieve.xml @ 1:ef234e9679ea draft default tip

Deleted selected files
author fabio
date Mon, 04 Dec 2017 16:05:59 -0500
parents 854be3d51221
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
1 <?xml version="1.0"?>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
2 <tool name="Retrieve" id="srase_retrieve" version="1.0.0">
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
3 <description>data from SRA</description>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
4 <requirements>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
5 <requirement type="package" version="2.7.10">python</requirement>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
6 <requirement type="package" version="2.8.2">sra-tools</requirement>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
7 </requirements>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
8 <command detect_errors="exit_code">
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
9 <![CDATA[
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
10 python '$__tool_directory__/retrieve.py'
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
11 #set file_paths = ','.join( [ str( $f ) for $f in $files ] )
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
12 --files '${file_paths}'
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
13 #set file_names = ','.join( [ str( $f.name ) for $f in $files ] )
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
14 --names '${file_names}'
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
15 --format '${dataformat}'
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
16 --appdata 'tmp'
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
17 > ${stdouterr}
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
18 ]]>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
19 </command>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
20 <inputs>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
21 <param format="txt" name="files" type="data" label="Select input files" multiple="true" optional="false" help="Select one or more txt files containing a list of accession numbers." />
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
22 <param name="dataformat" type="select" label="Select a data format" help="Select a data format for the accession numbers related files that will be downloaded">
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
23 <option value=".fastq">.fastq</option>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
24 <option value=".fastq.gz">.fastq.gz</option>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
25 <option value=".fasta">.fasta</option>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
26 <option value=".fasta.gz">.fasta.gz</option>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
27 </param>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
28 </inputs>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
29 <outputs>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
30 <collection name="list_output" type="list:list" label="${tool.name} Accessions: Output Collection">
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
31 <discover_datasets pattern="(?P&lt;identifier_0&gt;[^_]+)_(?P&lt;identifier_1&gt;[^_]+)_(?P&lt;ext&gt;[^_]+)_(?P&lt;dbkey&gt;[^_]+)" ext="auto" visible="False" directory="tmp" />
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
32 </collection>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
33 <data format="txt" name="stdouterr" />
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
34 </outputs>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
35
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
36 <help><![CDATA[
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
37 Authors: Fabio Cumbo, Robert S. Harris, Chen Sun, Paul Medvedev, and Anton Nekrutenko
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
38
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
39 This tool will retrieve fastq files associated to the accession numbers listed in the input files.
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
40
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
41 Help section
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
42 ]]></help>
854be3d51221 Uploaded 20171204
fabio
parents:
diff changeset
43 </tool>