[miso-users] [HELP] Error when running MISO_filter_events.py in isoform-centric studies.

=?gb2312?B?t73P/ubD?= xtfang at igenomics.com.cn
Wed Dec 21 02:35:50 EST 2011


Hello!

Thanks Yats, and it's a great news to hear that MISO has been updated
recently for many helpful usages!

Here's some problem I had when using the newly updated MISO:

I downloaded and install the latest version of MISO (through links
provided in the MISO documentation page).
Then I download the also-provided Homo_sapiens.GRCh37.65.gff file to
perform human isoform-centric studies.

All MISO steps were ok except for the filter_events.py step.
I saw in the FAQ2 it says "In the general case of arbitrarily many
isoforms (e.g. some 2 and some more than 2), filter_events.py can be
used but then the only valid options are --bayes-factor or --delta-psi
to filter on Bayes factor and/or magnitude of change in ¦·, which are
defined in all cases."

but when I followed the above instruction I still got error message,
HOPE SOMEONE COULD HELP!
 I've tried various sets of parameters but got same error:
===============================================
$ python filter_events.py --filter
./results/s1_vs_s2/bayes-factors/s1_vs_s2.miso_bf --num-inc 1
--num-exc 1 --num-sum-inc-exc 10 --delta-psi 0.20 --bayes-factor 10
--output-dir ./results/s1_vs_s2/bayes-factors/
Traceback (most recent call last):
 File "filter_events.py", line 404, in <module>
   main()
 File "filter_events.py", line 401, in main
   apply_both_samples=options.apply_both)
 File "filter_events.py", line 102, in multi_filter
   apply_both_samples=False)
 File "filter_events.py", line 263, in filter_events
   for bf in bayes_factor:
TypeError: 'float' object is not iterable

$ python filter_events.py --filter
./results/s1_vs_s2/bayes-factors/s1_vs_s2.miso_bf --delta-psi 0.20
--bayes-factor 10 --output-dir ./results/s1_vs_s2/bayes-factors/
Traceback (most recent call last):
 File "filter_events.py", line 404, in <module>
   main()
 File "filter_events.py", line 401, in main
   apply_both_samples=options.apply_both)
 File "filter_events.py", line 102, in multi_filter
   apply_both_samples=False)
 File "filter_events.py", line 263, in filter_events
   for bf in bayes_factor:
TypeError: 'float' object is not iterable

$ python filter_events.py --filter
./results/s1_vs_s2/bayes-factors/s1_vs_s2.miso_bf --bayes-factor 10
--output-dir ./results/s1_vs_s2/bayes-factors/
Traceback (most recent call last):
 File "filter_events.py", line 404, in <module>
   main()
 File "filter_events.py", line 401, in main
   apply_both_samples=options.apply_both)
 File "filter_events.py", line 102, in multi_filter
   apply_both_samples=False)
 File "filter_events.py", line 263, in filter_events
   for bf in bayes_factor:
TypeError: 'float' object is not iterable

$ python filter_events.py --filter
./results/s1_vs_s2/bayes-factors/s1_vs_s2.miso_bf --delta-psi 0.20
--output-dir ./results/s1_vs_s2/bayes-factors/
Traceback (most recent call last):
 File "filter_events.py", line 404, in <module>
   main()
 File "filter_events.py", line 401, in main
   apply_both_samples=options.apply_both)
 File "filter_events.py", line 102, in multi_filter
   apply_both_samples=False)
 File "filter_events.py", line 263, in filter_events
   for bf in bayes_factor:
TypeError: 'float' object is not iterable
===============================================


Best wishes and Merry X'mas

Sandy FANG



More information about the miso-users mailing list