|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool id="simple_tool" name="Simple Tool" version="1.0.0">
|
|
|
3 <description>Simple Tool</description>
|
|
|
4 <requirements>
|
|
|
5 <requirement type="set_environment">SCRIPT_PATH</requirement>
|
|
|
6 </requirements>
|
|
|
7 <command interpreter="sh">simple_tool.sh '$filepath' $output</command>
|
|
|
8 <inputs>
|
|
|
9 <param name="filepath" type="text" size="100" label="anything" value="/home/foo/blah">
|
|
|
10 </param>
|
|
|
11
|
|
|
12 </inputs>
|
|
|
13 <outputs>
|
|
|
14 <data format="txt" name="output" label="whatever" />
|
|
|
15 </outputs>
|
|
|
16 <help>
|
|
|
17
|
|
|
18 .. class:: infomark
|
|
|
19
|
|
|
20 **Copying files**
|
|
|
21
|
|
|
22 This tool will allow you to upload a single file that is locally available on Helix or Biowulf. There is no browse function,
|
|
|
23 however, so you will need to give the full path name. If you have permission to read the file, Galaxy can import the file.
|
|
|
24
|
|
|
25 .. class:: warningmark
|
|
|
26
|
|
|
27 **Important Notes**
|
|
|
28
|
|
|
29 - The file path must be a file, not a directory
|
|
|
30 - You must give the fullpath to the file (/home/user/myfile.txt, not ./myfile.txt)
|
|
|
31 - You must have permission to read the file
|
|
|
32 - Only /home or /data directories are allowed
|
|
|
33 - The files must be on Helix or Biowulf! Use 'Upload File' for all other files!
|
|
|
34
|
|
|
35 -----
|
|
|
36
|
|
|
37 **Example**
|
|
|
38
|
|
|
39 - /home/user/bamfiles/abc123.bam
|
|
|
40 - /data/anotheruser/data/good_data/very_good_data.txt
|
|
|
41
|
|
|
42 </help>
|
|
|
43 </tool>
|