|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool id="import_local_file" name="Import local file">
|
|
|
3 <description>from a mounted filesystem</description>
|
|
|
4 <command interpreter="sh">import_local_file.sh '$filepath' $output $userEmail</command>
|
|
|
5 <inputs>
|
|
|
6 <param name="filepath" type="text" size="100" label="Absolute file path" />
|
|
|
7 </inputs>
|
|
|
8 <outputs>
|
|
|
9 <data format="txt" name="output" label="local import: $filepath" />
|
|
|
10 </outputs>
|
|
|
11 <help>
|
|
|
12
|
|
|
13 .. class:: infomark
|
|
|
14
|
|
|
15 **Copying files**
|
|
|
16
|
|
|
17 This tool will allow you to upload a single file that is locally available. There is no browse function,
|
|
|
18 however, so you will need to give the full path name. If you have permission to read the file, Galaxy can import the file.
|
|
|
19
|
|
|
20 .. class:: warningmark
|
|
|
21
|
|
|
22 **Important Notes**
|
|
|
23
|
|
|
24 - The file path must be a file, not a directory
|
|
|
25 - You must give the fullpath to the file (/home/user/myfile.txt, not ./myfile.txt)
|
|
|
26 - You must have permission to read the file
|
|
|
27
|
|
|
28 -----
|
|
|
29
|
|
|
30 **Example**
|
|
|
31
|
|
|
32 - /home/user/bamfiles/abc123.bam
|
|
|
33 - /data/anotheruser/data/good_data/very_good_data.txt
|
|
|
34
|
|
|
35 </help>
|
|
|
36 </tool>
|