Thanks Nate! I set 'debug = False'and now I have no problem downloading my BAM/SAM files.

Cheers,
Liisa
 


From: Nate Coraor <nate@bx.psu.edu>
To: Liisa Koski <liisa.koski@dnalandmarks.ca>
Cc: galaxy-dev@bx.psu.edu
Date: 2011-03-22 12:06
Subject: Re: [galaxy-dev] Can't save BAM file from Galaxy





Liisa Koski wrote:
> Hello,
> I have a local instance of galaxy and after successfully running an NGS
> analysis I am trying to save my BAM file to my local machine. When I click
> on the save icon my Galaxy instance crashes with the following error. This
> also happens when I try to save the SAM file. It does not happen when I
> try to save a txt file.
>
> python: ./Modules/cStringIO.c:419: O_cwrite: Assertion `oself->pos + l <
> 2147483647' failed.
> ./run.sh: line 48: 19187 Aborted                 python
> ./scripts/paster.py serve universe_wsgi.ini $@
>
> Something to do with base positions?

Hi Liisa,

I'm not completely certain, but it may just be the debugging modules
that are enabled by default trying to load the entire bam/sam file into
memory before sending it.  Try restarting your Galaxy server after
setting 'debug = False' in universe_wsgi.ini and see if this makes a
difference.

--nate

>
> Thanks in advance for any help,
> Liisa
>  

> ___________________________________________________________
> 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/