comparison export_local_file.xml @ 8:01687750c862 draft

Uploaded
author david-hoover
date Thu, 01 May 2014 17:11:57 -0400
parents e5a905df7e0b
children
comparison
equal deleted inserted replaced
7:e5a905df7e0b 8:01687750c862
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool id="export_local_file" name="Export dataset" version="1.1.0"> 2 <tool id="export_local_file" name="Export dataset" version="1.2.0">
3 <description>to a local filesytem</description> 3 <description>to a local filesytem</description>
4 <command interpreter="sh">export_local_file.sh $input '$filepath' $userEmail $output</command> 4 <command interpreter="sh">export_local_file.sh $input '$filepath' $userEmail $output</command>
5 <inputs> 5 <inputs>
6 <param name="input" type="data" label="Dataset"/> 6 <param name="input" type="data" label="Dataset"/>
7 <param name="filepath" type="text" size="100" label="Absolute file path" /> 7 <param name="filepath" type="text" size="100" label="Absolute file path" value="/home/foo/blah">
8 <validator type="expression" message="The path must begin with either /home or /data">value.lower()[0:5] == '/home' or value.lower()[0:5] == '/data'</validator>
9 </param>
8 </inputs> 10 </inputs>
9 <outputs> 11 <outputs>
10 <data format="txt" name="output" label="local export: $filepath" /> 12 <data format="txt" name="output" label="local export: $filepath" />
11 </outputs> 13 </outputs>
12 <help> 14 <help>
13 15
14 .. class:: infomark 16 .. class:: infomark
15 17
16 **Copying files** 18 **Copying files**
17 19
18 This tool will allow you to export a single file from Galaxy to a local filesystem. 20 This tool will allow you to export a single file from Galaxy to a local filesystem on Helix or Biowulf.
19 You must have permission to write the file to the given directory, and the file must not yet exist. This tool will 21 You must have permission to write the file to the given directory, and the file must not yet exist. This tool will
20 not overwrite a pre-existing file. 22 not overwrite a pre-existing file.
21 23
22 .. class:: warningmark 24 .. class:: warningmark
23 25
24 **Important Notes** 26 **Important Notes**
25 27
26 - The file path must be a file, not a directory 28 - The file path must be a file, not a directory
27 - You must give the fullpath to the file (/home/user/myfile.txt, not ./myfile.txt) 29 - You must give the fullpath to the file (/home/user/myfile.txt, not ./myfile.txt)
28 - You must have permission to write the file in the given directory 30 - You must have permission to write the file in the given directory
31 - Only /home or /data directories are allowed.
32 - The directories must exist on Helix or Biowulf!
29 33
30 ----- 34 -----
31 35
32 **Example** 36 **Example**
33 37