Closed MonicaSteffi closed 6 years ago
I am trying to run Binsanity with test data provided in Github. But when I run Binsanity I am getting the following warning. /usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/init.py:3: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._min_spanning_tree import minimum_spanning_tree /usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/_graph_validation.py:5: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._graph_tools import csgraph_to_dense, csgraph_from_dense,\ /usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/init.py:4: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._traversal import connected_components /usr/lib/python2.7/dist-packages/sklearn/utils/extmath.py:20: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._logistic_sigmoid import _log_logistic_sigmoid /usr/lib/python2.7/dist-packages/sklearn/utils/extmath.py:22: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .sparsefuncs_fast import csr_row_norms /usr/lib/python2.7/dist-packages/scipy/spatial/init.py:90: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .ckdtree import /usr/lib/python2.7/dist-packages/scipy/spatial/init.py:91: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .qhull import /usr/lib/python2.7/dist-packages/scipy/stats/_continuous_distns.py:24: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import vonmises_cython /usr/lib/python2.7/dist-packages/scipy/stats/stats.py:188: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._rank import rankdata, tiecorrect /usr/lib/python2.7/dist-packages/sklearn/metrics/cluster/supervised.py:18: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .expected_mutual_info_fast import expected_mutual_information /usr/lib/python2.7/dist-packages/sklearn/metrics/pairwise.py:56: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .pairwise_fast import _chi2_kernel_fast, _sparse_manhattan /usr/lib/python2.7/dist-packages/sklearn/neighbors/init.py:6: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .ball_tree import BallTree /usr/lib/python2.7/dist-packages/sklearn/neighbors/init.py:7: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .kd_tree import KDTree /usr/lib/python2.7/dist-packages/sklearn/utils/graph.py:16: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .graph_shortest_path import graph_shortest_path /usr/lib/python2.7/dist-packages/scipy/interpolate/interpolate.py:28: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import _ppoly /usr/lib/python2.7/dist-packages/sklearn/linear_model/least_angle.py:24: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ..utils import array2d, arrayfuncs, as_float_array, check_arrays /usr/lib/python2.7/dist-packages/sklearn/linear_model/coordinate_descent.py:26: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import cd_fast /usr/lib/python2.7/dist-packages/sklearn/linear_model/init.py:21: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .sgd_fast import Hinge, Log, ModifiedHuber, SquaredLoss, Huber /usr/lib/python2.7/dist-packages/sklearn/svm/base.py:8: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import libsvm, liblinear /usr/lib/python2.7/dist-packages/sklearn/svm/base.py:9: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import libsvm_sparse /usr/lib/python2.7/dist-packages/sklearn/utils/random.py:9: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._random import sample_without_replacement /usr/lib/python2.7/dist-packages/sklearn/isotonic.py:11: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._isotonic import _isotonic_regression /usr/lib/python2.7/dist-packages/sklearn/manifold/t_sne.py:21: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import _utils /usr/lib/python2.7/dist-packages/sklearn/cluster/kmeans.py:34: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import _k_means /usr/lib/python2.7/dist-packages/sklearn/cluster/hierarchical.py:24: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import _hierarchical and the following Error Traceback (most recent call last): File "/usr/local/bin/Binsanity", line 182, in val1, val2 = cov_array((get_cov_data(args.inputCovFile)), args.inputContigFiles, args.fastafile,args.ContigSize) File "/usr/local/bin/Binsanity", line 21, in get_cov_data all_cov_data[cov_data[0]] = cov_data IndexError: list index out of range
I am trying to run Binsanity with test data provided in Github. But when I run Binsanity I am getting the following warning. /usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/init.py:3: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._min_spanning_tree import minimum_spanning_tree /usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/_graph_validation.py:5: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._graph_tools import csgraph_to_dense, csgraph_from_dense,\ /usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/init.py:4: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._traversal import connected_components /usr/lib/python2.7/dist-packages/sklearn/utils/extmath.py:20: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._logistic_sigmoid import _log_logistic_sigmoid /usr/lib/python2.7/dist-packages/sklearn/utils/extmath.py:22: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .sparsefuncs_fast import csr_row_norms /usr/lib/python2.7/dist-packages/scipy/spatial/init.py:90: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .ckdtree import /usr/lib/python2.7/dist-packages/scipy/spatial/init.py:91: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .qhull import /usr/lib/python2.7/dist-packages/scipy/stats/_continuous_distns.py:24: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import vonmises_cython /usr/lib/python2.7/dist-packages/scipy/stats/stats.py:188: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._rank import rankdata, tiecorrect /usr/lib/python2.7/dist-packages/sklearn/metrics/cluster/supervised.py:18: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .expected_mutual_info_fast import expected_mutual_information /usr/lib/python2.7/dist-packages/sklearn/metrics/pairwise.py:56: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .pairwise_fast import _chi2_kernel_fast, _sparse_manhattan /usr/lib/python2.7/dist-packages/sklearn/neighbors/init.py:6: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .ball_tree import BallTree /usr/lib/python2.7/dist-packages/sklearn/neighbors/init.py:7: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .kd_tree import KDTree /usr/lib/python2.7/dist-packages/sklearn/utils/graph.py:16: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .graph_shortest_path import graph_shortest_path /usr/lib/python2.7/dist-packages/scipy/interpolate/interpolate.py:28: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import _ppoly /usr/lib/python2.7/dist-packages/sklearn/linear_model/least_angle.py:24: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ..utils import array2d, arrayfuncs, as_float_array, check_arrays /usr/lib/python2.7/dist-packages/sklearn/linear_model/coordinate_descent.py:26: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import cd_fast /usr/lib/python2.7/dist-packages/sklearn/linear_model/init.py:21: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from .sgd_fast import Hinge, Log, ModifiedHuber, SquaredLoss, Huber /usr/lib/python2.7/dist-packages/sklearn/svm/base.py:8: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import libsvm, liblinear /usr/lib/python2.7/dist-packages/sklearn/svm/base.py:9: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import libsvm_sparse /usr/lib/python2.7/dist-packages/sklearn/utils/random.py:9: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._random import sample_without_replacement /usr/lib/python2.7/dist-packages/sklearn/isotonic.py:11: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from ._isotonic import _isotonic_regression /usr/lib/python2.7/dist-packages/sklearn/manifold/t_sne.py:21: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import _utils /usr/lib/python2.7/dist-packages/sklearn/cluster/kmeans.py:34: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import _k_means /usr/lib/python2.7/dist-packages/sklearn/cluster/hierarchical.py:24: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility from . import _hierarchical and the following Error Traceback (most recent call last): File "/usr/local/bin/Binsanity", line 182, in
val1, val2 = cov_array((get_cov_data(args.inputCovFile)), args.inputContigFiles, args.fastafile,args.ContigSize)
File "/usr/local/bin/Binsanity", line 21, in get_cov_data
all_cov_data[cov_data[0]] = cov_data
IndexError: list index out of range