[error] make_rarefaction_plots.py help

19 views
Skip to first unread message

Jimmy Chang

unread,
Jul 26, 2016, 9:42:04 PM7/26/16
to Qiime 1 Forum
$ make_rarefaction_plots.py -i ./2samples/alphaDiv/alpha_div_collated/ -m ../mapping/mappingtest3.txt -o ./2samples/alphaDiv/alpha_rarefaction_plots/



/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py:869: UserWarning: Illegal line #1
>>> import matplotlib

in file "/home/chihminchang/.config/matplotlib/matplotlibrc"
  (cnt, line, fname))
/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py:869: UserWarning: Illegal line #2
>>> matplotlib.matplotlib_fname()

in file "/home/chihminchang/.config/matplotlib/matplotlibrc"
  (cnt, line, fname))
/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py:869: UserWarning: Illegal line #3
'/home/chihminchang/.config/matplotlib/matplotlibrc'

in file "/home/chihminchang/.config/matplotlib/matplotlibrc"
  (cnt, line, fname))
Traceback (most recent call last):
  File "/usr/local/bin/make_rarefaction_plots.py", line 229, in <module>
    main()
  File "/usr/local/bin/make_rarefaction_plots.py", line 219, in main
    generate_average_tables=generate_average_tables)
  File "/usr/local/lib/python2.7/site-packages/qiime/make_rarefaction_plots.py", line 484, in make_averages
    groups_and_colors = list(groups_and_colors)
  File "/usr/local/lib/python2.7/site-packages/qiime/colors.py", line 218, in iter_color_groups
    groups = group_by_field(mapping, col_name)
  File "/usr/local/lib/python2.7/site-packages/qiime/parse.py", line 195, in group_by_field
    (name, table[0]))
ValueError: Couldn't find name BarcodeSequence in headers: ['1AD1.S66', 'AAAGGCGATAGATCGC', 'CTGTCTCTTATACACATCT', 's1', 'on', '1AD1.S66']
mappingtest3.txt

justink

unread,
Jul 29, 2016, 3:08:07 AM7/29/16
to Qiime 1 Forum
looks like matplotlib isn't installed correctly. would you include the results of 'print_qiime_config.py' ?
Reply all
Reply to author
Forward
0 new messages