annotate TrustStoreGalaxyImport.xml @ 36:8e8a88fe0f4f

GRRR.
author Catherine Wise <catherine.wise@csiro.au>
date Thu, 23 Jan 2014 15:05:41 +1100
parents 3bed3ea2c474
children 2ced2ca1c758
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
c659bd6342ae Fix deps.
Catherine Wise <catherine.wise@csiro.au>
parents: 8
diff changeset
1 <tool id="ts_import_1" name="Import Data from TrustStore" vertion="0.1" force_history_refresh="True"> <!-- tool_type="data_source"> -->
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
2 <description> secure cloud storage.</description>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
3 <stdio>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
4 <exit_code range="2" err_level="fatal" description="Could not find store with supplied name." />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
5 <exit_code range="3" err_level="fatal" description="Could not find supplied path in store." />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
6 <exit_code range="4" err_level="fatal" description="Could not find supplied filename in store at path." />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
7 <exit_code range="5" err_level="fatal" description="Bad credentials supplied. See stdout for more information." />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
8 </stdio>
31
6e2dba73eebd Undo multi file ugh.
Catherine Wise <catherine.wise@csiro.au>
parents: 30
diff changeset
9 <command interpreter="python">TrustStoreGalaxyImport.py https://tstest-kms.it.csiro.au/kmscolab_3_0 https://tstest-ims.it.csiro.au/ims_3_0/services/IMS $username $password desktop cpU92F1PT7VOCANjSknuCDp4DrubmujoBaF6b0miz8OpKNokEbGMHCaSFK5/lISbBmaaGVCgeADI2A39F3Hkeg== $storename $path $filename $output1 </command> <!-- $output1.id $file_type </command> $__new_file_path__</command> -->
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
10 <inputs>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
11 <param name="file_type" type="select" label="File Format" help="Which format is the data you're downloading?">
5
159d2159e745 Add list files.
Catherine Wise <catherine.wise@csiro.au>
parents: 4
diff changeset
12 <option value="just list files"/>
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
13 <option value="ab1"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
14 <option value="axt"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
15 <option value="bam"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
16 <option value="bed"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
17 <option value="coverage" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
18 <option value="customtrack" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
19 <option value="csfasta" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
20 <option value="fasta" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
21 <option value="eland" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
22 <option value="fastq" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
23 <option value="fasqsanger" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
24 <option value="gtf" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
25 <option value="gff" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
26 <option value="gff3" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
27 <option value="genetrack" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
28 <option value="interval" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
29 <option value="laj" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
30 <option value="lav" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
31 <option value="maf" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
32 <option value="pileup" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
33 <option value="qualsolid" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
34 <option value="qualsolexa" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
35 <option value="sam"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
36 <option value="scf"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
37 <option value="sff"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
38 <option value="tabular" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
39 <option value="taxonomy" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
40 <option value="txt"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
41 <option value="wig"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
42 <option value="xml"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
43 </param>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
44 <!-- <param name="kms_url" type="text" label="kms url" help="the remote url for your key management service" value="http://localhost:8080/TSSKeyManagementService-Collaboration" size="200" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
45 <param name="ims_url" type="text" label="ims url" help="the remote url for your integrity management service" value="http://localhost:8080/TSSIntegrityManagementService/services/IMS" size="200" /> -->
5
159d2159e745 Add list files.
Catherine Wise <catherine.wise@csiro.au>
parents: 4
diff changeset
46 <param name="username" type="text" label="Username" help="Your KMS username, e.g. jo.blogs@workplace.com" value="user" size="20" >
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
47 <sanitizer>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
48 <valid initial="string.printable">
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
49 <remove value="&apos;"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
50 </valid>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
51 <mapping initial="none">
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
52 <add source="&apos;" target="__sq__"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
53 </mapping>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
54 </sanitizer>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
55 </param>
5
159d2159e745 Add list files.
Catherine Wise <catherine.wise@csiro.au>
parents: 4
diff changeset
56 <param name="password" type="text" label="Password" help="Your KMS password" value="password" size="1">
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
57 <sanitizer>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
58 <valid initial="string.printable">
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
59 <remove value="&apos;"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
60 </valid>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
61 <mapping initial="none">
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
62 <add source="&apos;" target="__sq__"/>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
63 </mapping>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
64 </sanitizer>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
65 </param>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
66 <!-- <param name="client_key" type="text" label="client key" help="kms client name" value="my-trusted-client-with-secret" size="20" /> -->
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
67 <!-- <param name="client_secret" type="text" label="client secret" help="kms client secret" value="somesecret" size="20" /> -->
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
68 <param name="storename" type="text" label="Store Name" help="e.g.: My Galaxy Store" value="galaxy" size="20" />
5
159d2159e745 Add list files.
Catherine Wise <catherine.wise@csiro.au>
parents: 4
diff changeset
69 <param name="path" type="text" label="Path in Store" help="e.g.: /rawdata/feb2014/, leave as / for top level files" value="/" size="20" />
32
1299e901a0ea Ugh ugh.
Catherine Wise <catherine.wise@csiro.au>
parents: 31
diff changeset
70 <param name="filename" type="text" label="Filename(s)" help="e.g.: export1.bam,export2.bam Comma seperated. Leave empty if 'just list files' is chosen above." value="" size="40" />
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
71 </inputs>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
72 <outputs>
30
c659bd6342ae Fix deps.
Catherine Wise <catherine.wise@csiro.au>
parents: 8
diff changeset
73 <data name="output1" format="txt">
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
74 <change_format>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
75 <when input="file_type" value="ab1" format="ab1" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
76 <when input="file_type" value="axt" format="axt" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
77 <when input="file_type" value="bam" format="bam" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
78 <when input="file_type" value="bed" format="bed" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
79 <when input="file_type" value="coverage" format="coverage" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
80 <when input="file_type" value="customtrack" format="customtrack" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
81 <when input="file_type" value="csfasta" format="csfasta" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
82 <when input="file_type" value="fasta" format="fasta" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
83 <when input="file_type" value="eland" format="eland" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
84 <when input="file_type" value="fastq" format="fastq" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
85 <when input="file_type" value="fasqsanger" format="fastqsanger" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
86 <when input="file_type" value="gtf" format="gtf" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
87 <when input="file_type" value="gff" format="gff" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
88 <when input="file_type" value="gff3" format="gff3" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
89 <when input="file_type" value="genetrack" format="genetrack" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
90 <when input="file_type" value="interval" format="interval" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
91 <when input="file_type" value="laj" format="laj" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
92 <when input="file_type" value="lav" format="lav" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
93 <when input="file_type" value="maf" format="maf" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
94 <when input="file_type" value="pileup" format="pileup" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
95 <when input="file_type" value="qualsolid" format="qualsolid" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
96 <when input="file_type" value="qualsolexa" format="qualsolexa" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
97 <when input="file_type" value="sam" format="sam" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
98 <when input="file_type" value="scf" format="scf" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
99 <when input="file_type" value="sff" format="sff" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
100 <when input="file_type" value="tabular" format="tabular" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
101 <when input="file_type" value="taxonomy" format="taxonomy" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
102 <when input="file_type" value="txt" format="txt" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
103 <when input="file_type" value="wig" format="wig" />
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
104 <when input="file_type" value="xml" format="xml" />
5
159d2159e745 Add list files.
Catherine Wise <catherine.wise@csiro.au>
parents: 4
diff changeset
105 <when input="file_type" value="just list files" format="txt"/>
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
106 </change_format>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
107 </data>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
108 </outputs>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
109
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
110 <tests>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
111 <test>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
112 </test>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
113 </tests>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
114
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
115 <requirements>
36
Catherine Wise <catherine.wise@csiro.au>
parents: 35
diff changeset
116 <requirement type="package" version="0.2.6">py_ts</requirement>
7
22b0e927b7fe Fiddle with dependencies.
Catherine Wise <catherine.wise@csiro.au>
parents: 5
diff changeset
117 <requirement type="python_module">py_ts</requirement>
4
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
118 <requirement type="binary" version="1.0.0">openssl</requirement>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
119 </requirements>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
120
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
121 <help>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
122 This tool lets users import data they have uploaded to the TrustStore system.
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
123
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
124 Upload files to TrustStore using the desktop client.
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
125 </help>
32d9b3343955 Toooool upload.
Catherine Wise <catherine.wise@csiro.au>
parents:
diff changeset
126 </tool>