Question: Fastx Barcode-Splitter
0
gravatar for Marek Szubert
7.7 years ago by
Marek Szubert20 wrote:
Hi I have been looking into galaxy with a view to finding a platform target for developing code. It is a very ambitious project, and you deserve congratulations for all the development work that has gone into it so far. I have just started using the fastx barcode splitter tool and found that the job successfully completed with a tabular list of links to display results files contents. When I run a 'get data - upload file from your computer' to load these split files into the galaxy system (as they do not seem to appear in the history list nor are they automatically accessible to Galaxy for some strange reason), I can only do this using the URL input field (of get data - upload file from your computer'), then the task fails and get error : http://localhost:8080/datasets/2d9035b3fc152403/display/Clip_on_data_1 2__429.txt An error occurred running this job: *The uploaded file contains inappropriate HTML content The fastx documentation say the split files should be written to /tmp , but that it not accessible on the public server the files are not there on my installation. * * Could anyone suggest alternative working methods for reloading the barcode split files? thanks Dr Jan Szubert *
galaxy • 1.7k views
ADD COMMENTlink modified 7.7 years ago • written 7.7 years ago by Marek Szubert20
0
gravatar for Marek Szubert
7.7 years ago by
Marek Szubert20 wrote:
Having sent this note about three weeks ago and had no response, maybe the question I should have asked would be this : Has anyone ever successfully used fastx barcode-splitter.pl inside galaxy ? If so how did you then get the resulting split files back into the galaxy workflow stream? alternatively how do I ask the galaxy admins the same question? Thanks Jan Szubert Date: 8 December 2010 10:49 Subject: fastx barcode-splitter To: galaxy-user@lists.bx.psu.edu Hi I have been looking into galaxy with a view to finding a platform target for developing code. It is a very ambitious project, and you deserve congratulations for all the development work that has gone into it so far. I have just started using the fastx barcode splitter tool and found that the job successfully completed with a tabular list of links to display results files contents. When I run a 'get data - upload file from your computer' to load these split files into the galaxy system (as they do not seem to appear in the history list nor are they automatically accessible to Galaxy for some strange reason), I can only do this using the URL input field (of get data - upload file from your computer'), then the task fails and get error : http://localhost:8080/datasets/2d9035b3fc152403/display/Clip_on_data_1 2__429.txt An error occurred running this job: *The uploaded file contains inappropriate HTML content The fastx documentation say the split files should be written to /tmp , but that it not accessible on the public server the files are not there on my installation. * * Could anyone suggest alternative working methods for reloading the barcode split files? thanks Dr Jan Szubert *
ADD COMMENTlink written 7.7 years ago by Marek Szubert20
Hello Jan, Marek Szubert wrote, On 12/16/2010 09:24 AM: If you mean the graphical workflow editor, then the simple answer is "you can't" (to the best of my knowledge). This tool produces a variable number of output files, using the "output.files_path" feature of galaxy. Those output files will not be shown in the workflow editor, and you can't connect them to down- stream tools. This tool can only be used manually (that is - run it, download the individual files, then run workflows on them). Just to clarify: are you getting a tabular (textual file), or an HTML file with ? The perl script produces textual output, but the XML galaxy tool should produce HTML. Not "a strange reason" - this is by design. That's the way tools with multiple/variable output files work in galaxy (unless there are recent changes to the framework, in which case the tool is slightly out of date) If you look at the error message, it says you've actually managed to upload the file, but for some reason it contains HTML file. Can you try to download the file from the command line? run: wget http://localhost:8080/datasets/2d9035b3fc152403/display/Clip_on_ data_12__429.txt And see if you get the FASTQ output, or something else. On your local galaxy instance, you can change the tool to write to files in a directory that is accessible from a public server. This is the way the tool worked before galaxy supported variable output files. 1. In "fastx_barcode_splitter.xml", change the "$output.files_path" (line 3) to a hard-coded directory path that is accessible from your web server. 2. In "fastx_barcode_splitter_galaxy_wrapper.sh", line 79, change the "" to include the URL that corresponds to the directory above. This will produce HTML files in which the links to the files are pointing to the right place. Regards, -gordon
ADD REPLYlink written 7.7 years ago by Assaf Gordon320
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 124 users visited in the last hour