Re: [galaxy-dev] tasks (parralelism) and from_work_dir bug

2013-04-14 Thread Jeremy Goecks


> Hi,
> I have tried to use tasks with tophat2, but I got the following bug.
> > multi.py +153
> msg = 'nothing to merge for %s (expected %i files)' \
>   % (output_file_name, len(task_dirs))
> 
> This occurs because tophat2 tool uses from_work_dir feature to get the output 
> files.
> But on the line:
> output_files = [ f for f in output_files if os.path.exists(f) ]
> It returnes an empty list because no real output files exists.

Tophat2 cannot be parallelized because it uses a shared junctions database, and 
shared objects are not yet supported by Galaxy's parallelism.

That said, it's likely the case that parallelism + from_work_dir do not work 
together yet; I've created a card for this issue: https://trello.com/c/5fFZSCWn

Best,
J.


___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/


[galaxy-dev] tasks (parralelism) and from_work_dir bug

2013-04-14 Thread Hagai Cohen
Hi,
I have tried to use tasks with tophat2, but I got the following bug.
> multi.py +153
msg = 'nothing to merge for %s (expected %i files)' \
  % (output_file_name, len(task_dirs))

This occurs because tophat2 tool uses from_work_dir feature to get the
output files.
But on the line:
output_files = [ f for f in output_files if os.path.exists(f) ]
It returnes an empty list because no real output files exists.

Did anyone else have tried this before?
Hagai
___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/