|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool id="export_local_file" name="Export dataset">
|
|
|
3 <description>to a local filesytem</description>
|
|
|
4 <command interpreter="sh">export_local_file.sh $input '$filepath' $userEmail $output</command>
|
|
|
5 <inputs>
|
|
|
6 <param name="input" type="data" label="Dataset"/>
|
|
|
7 <param name="filepath" type="text" size="100" label="Absolute file path" />
|
|
|
8 </inputs>
|
|
|
9 <outputs>
|
|
|
10 <data format="txt" name="output" label="local export: $filepath" />
|
|
|
11 </outputs>
|
|
|
12 <help>
|
|
|
13
|
|
|
14 .. class:: infomark
|
|
|
15
|
|
|
16 **Copying files**
|
|
|
17
|
|
|
18 This tool will allow you to export a single file from Galaxy to a local filesystem.
|
|
|
19 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.
|
|
|
21
|
|
|
22 .. class:: warningmark
|
|
|
23
|
|
|
24 **Important Notes**
|
|
|
25
|
|
|
26 - 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)
|
|
|
28 - You must have permission to write the file in the given directory
|
|
|
29
|
|
|
30 -----
|
|
|
31
|
|
|
32 **Example**
|
|
|
33
|
|
|
34 - /home/user/bamfiles/abc123.bam
|
|
|
35 - /data/anotheruser/data/good_data/very_good_data.txt
|
|
|
36
|
|
|
37 </help>
|
|
|
38 </tool>
|