Mercurial > repos > david-hoover > local_file_tools
view import_local_file.xml @ 5:65598330eb1a
Uploaded
| author | david-hoover |
|---|---|
| date | Tue, 28 Feb 2012 13:00:54 -0500 |
| parents | dd15479a0863 |
| children | e5a905df7e0b |
line wrap: on
line source
<?xml version="1.0"?> <tool id="import_local_file" name="Import local file" version="1.0.1"> <description>from a local filesystem</description> <command interpreter="sh">import_local_file.sh '$filepath' $output $userEmail</command> <inputs> <param name="filepath" type="text" size="100" label="Absolute file path" /> </inputs> <outputs> <data format="txt" name="output" label="local import: $filepath" /> </outputs> <help> .. class:: infomark **Copying files** This tool will allow you to upload a single file that is locally available. There is no browse function, however, so you will need to give the full path name. If you have permission to read the file, Galaxy can import the file. .. class:: warningmark **Important Notes** - The file path must be a file, not a directory - You must give the fullpath to the file (/home/user/myfile.txt, not ./myfile.txt) - You must have permission to read the file ----- **Example** - /home/user/bamfiles/abc123.bam - /data/anotheruser/data/good_data/very_good_data.txt </help> </tool>
