annotate dbbuilder.xml @ 0:487f80fb99ae draft

Uploaded
author galaxyp
date Wed, 19 Dec 2012 00:05:32 -0500
parents
children 6c624803c5f9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
1 <tool id="dbbuilder" version="0.1.0" name="Protein Database Downloader">
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
2 <description>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
3 </description>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
4 <requirements>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
5 <requirement type="binary">wget</requirement>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
6 </requirements>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
7 <stdio>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
8 <exit_code range="1:" level="fatal" description="Error computing FDR" />
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
9 </stdio>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
10 <command>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
11 #if $source.from == "uniprot"
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
12 #set $url = "http://www.uniprot.org/uniprot/?query=taxonomy%3a%22" + str($source.taxon) + "%22+keyword%3a1185&amp;force=yes&amp;format=fasta" + str($source.include_isoform)
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
13 #elif $source.from == "cRAP"
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
14 #set $url = "ftp://ftp.thegpm.org/fasta/cRAP/crap.fasta"
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
15 #end if
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
16 wget -nv '$url' -O '${output_database}'
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
17 </command>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
18 <inputs>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
19 <conditional name="source">
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
20 <param name="from" type="select" label="Download from">
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
21 <option value="uniprot">UniProtKB</option>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
22 <option value="cRAP">cRAP (contaminants)</option>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
23 </param>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
24 <when value="uniprot">
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
25 <param name="taxon" type="select" format="text" >
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
26 <label>Taxonomy</label>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
27 <options from_file="uniprot_taxons.loc">
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
28 <column name="name" index="0" />
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
29 <column name="value" index="1" />
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
30 </options>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
31 </param>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
32 <param name="include_isoform" type="boolean" truevalue="&amp;include=yes" falsevalue="" label="Include isoform data" />
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
33 </when>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
34 </conditional>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
35 </inputs>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
36 <outputs>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
37 <data format="fasta" name="output_database" label="Protein Database" />
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
38 </outputs>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
39 <help>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
40 **Output**
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
41
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
42 A FASTA file containing the specified protein sequences.
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
43
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
44 </help>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
45 </tool>
487f80fb99ae Uploaded
galaxyp
parents:
diff changeset
46