[miso-users] [help]sashimi-plot IndexError: list index out of range?
zhenghui01@gmail.com
zhenghui01 at gmail.com
Mon Apr 23 15:43:17 EDT 2012
Hi Michael,
Thank you! I found out that I set only four colors but I have six bam
files. That fix solves the error.
Regards,
Jerry
On Mon, Apr 23, 2012 at 3:23 PM, Michael Lovci <michaeltlovci at gmail.com>wrote:
> add more colors to the list of colors in your sashimi_plot_settings.txt
> file
>
> On Mon, Apr 23, 2012 at 12:16 PM, <zhenghui01 at gmail.com> wrote:
>
>> Hi All,
>> I finished running miso and was trying to plot using sashimi-plot, but
>> got the following error:
>>
>> Traceback (most recent call last):
>> File "/ihome/zhenghui/miso/misopy/sashimi_plot/plot.py", line 283, in
>> <module>
>> main()
>> File "/ihome/zhenghui/miso/misopy/sashimi_plot/plot.py", line 279, in
>> main
>> plot_event(event_name, pickle_dir, settings_filename, output_dir)
>> File "/ihome/zhenghui/miso/misopy/sashimi_plot/plot.py", line 133, in
>> plot_event
>> output_dir)
>> File
>> "/opt/python/2.7.2/lib/python2.7/site-packages/misopy/sashimi_plot/plot_utils/plot_gene.py",
>> line 654, in plot_density_from_file
>> plot_density(sashimi_obj, pickle_filename, event)
>> File
>> "/opt/python/2.7.2/lib/python2.7/site-packages/misopy/sashimi_plot/plot_utils/plot_gene.py",
>> line 199, in plot_density
>> color = colors[i]
>> IndexError: list index out of range
>>
>>
>> It seemed my miso output files loaded successfully. What could be the
>> possible source of the error? How should I fix it? Thank you!
>>
>>
>> Regards,
>> Jerry
>>
>> _______________________________________________
>> miso-users mailing list
>> miso-users at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/miso-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/miso-users/attachments/20120423/bf64bb95/attachment.htm
More information about the miso-users
mailing list