Hello,
I got an error when I ran run.py. I don't know perl or python. Here is the error:
`mnt-JULiP: 27-Sep-24 16:29:28: Creating output folder ...
mnt-JULiP: 27-Sep-24 16:29:28: Generating splice files (or reusing splice files if save-tmp set to true and splice files exist) ...
mnt-JULiP: 27-Sep-24 16:51:12: Processing 42 samples ...
Traceback (most recent call last):
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/utils.py", line 177, in raise_on_meta_error
yield
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/core.py", line 5671, in elemwise
meta = partial_by_order(*parts, function=op, other=other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/utils.py", line 1225, in partial_by_order
return function(*args2, **kwargs)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/common.py", line 69, in new_method
return method(self, other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/arraylike.py", line 52, in ge
return self._cmp_method(other, operator.ge)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/series.py", line 5502, in _cmp_method
res_values = ops.comparison_op(lvalues, rvalues, op)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/array_ops.py", line 284, in comparison_op
res_values = comp_method_OBJECT_ARRAY(op, lvalues, rvalues)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/array_ops.py", line 73, in comp_method_OBJECT_ARRAY
result = libops.scalar_compare(x.ravel(), y, op)
File "pandas/_libs/ops.pyx", line 107, in pandas._libs.ops.scalar_compare
TypeError: '>=' not supported between instances of 'str' and 'int'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/share/gage/eelorri/uORF/MntJULiP/Running_MntJULiP/run.py", line 161, in
main()
File "/share/gage/eelorri/uORF/MntJULiP/Running_MntJULiP/run.py", line 121, in main
end_site_genes_dict, conditions, num_threads=num_threads)
File "/gpfs_common/share02/gage/eelorri/uORF/MntJULiP/Running_MntJULiP/utils.py", line 181, in process_introns_with_annotation
_df = _df[_df[f"{i+1}_count"] >= 0]
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/core.py", line 1637, in
return lambda self, other: elemwise(op, self, other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/core.py", line 5671, in elemwise
meta = partial_by_order(*parts, function=op, other=other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/utils.py", line 198, in raise_on_meta_error
raise ValueError(msg) from e
ValueError: Metadata inference failed in ge.
Original error is below:
TypeError("'>=' not supported between instances of 'str' and 'int'")
Traceback:
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/utils.py", line 177, in raise_on_meta_error
yield
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/core.py", line 5671, in elemwise
meta = partial_by_order(*parts, function=op, other=other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/utils.py", line 1225, in partial_by_order
return function(*args2, **kwargs)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/common.py", line 69, in new_method
return method(self, other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/arraylike.py", line 52, in ge
return self._cmp_method(other, operator.ge)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/series.py", line 5502, in _cmp_method
res_values = ops.comparison_op(lvalues, rvalues, op)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/array_ops.py", line 284, in comparison_op
res_values = comp_method_OBJECT_ARRAY(op, lvalues, rvalues)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/array_ops.py", line 73, in comp_method_OBJECT_ARRAY
result = libops.scalar_compare(x.ravel(), y, op)
File "pandas/_libs/ops.pyx", line 107, in pandas._libs.ops.scalar_compare
`
Do you know what is wrong?
Thank you for any help,
Stef
Hello,
I got an error when I ran
run.py. I don't know perl or python. Here is the error:`mnt-JULiP: 27-Sep-24 16:29:28: Creating output folder ...
mnt-JULiP: 27-Sep-24 16:29:28: Generating splice files (or reusing splice files if save-tmp set to true and splice files exist) ...
mnt-JULiP: 27-Sep-24 16:51:12: Processing 42 samples ...
Traceback (most recent call last):
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/utils.py", line 177, in raise_on_meta_error
yield
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/core.py", line 5671, in elemwise
meta = partial_by_order(*parts, function=op, other=other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/utils.py", line 1225, in partial_by_order
return function(*args2, **kwargs)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/common.py", line 69, in new_method
return method(self, other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/arraylike.py", line 52, in ge
return self._cmp_method(other, operator.ge)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/series.py", line 5502, in _cmp_method
res_values = ops.comparison_op(lvalues, rvalues, op)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/array_ops.py", line 284, in comparison_op
res_values = comp_method_OBJECT_ARRAY(op, lvalues, rvalues)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/array_ops.py", line 73, in comp_method_OBJECT_ARRAY
result = libops.scalar_compare(x.ravel(), y, op)
File "pandas/_libs/ops.pyx", line 107, in pandas._libs.ops.scalar_compare
TypeError: '>=' not supported between instances of 'str' and 'int'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/share/gage/eelorri/uORF/MntJULiP/Running_MntJULiP/run.py", line 161, in
main()
File "/share/gage/eelorri/uORF/MntJULiP/Running_MntJULiP/run.py", line 121, in main
end_site_genes_dict, conditions, num_threads=num_threads)
File "/gpfs_common/share02/gage/eelorri/uORF/MntJULiP/Running_MntJULiP/utils.py", line 181, in process_introns_with_annotation
_df = _df[_df[f"{i+1}_count"] >= 0]
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/core.py", line 1637, in
return lambda self, other: elemwise(op, self, other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/core.py", line 5671, in elemwise
meta = partial_by_order(*parts, function=op, other=other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/utils.py", line 198, in raise_on_meta_error
raise ValueError(msg) from e
ValueError: Metadata inference failed in
ge.Original error is below:
TypeError("'>=' not supported between instances of 'str' and 'int'")
Traceback:
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/utils.py", line 177, in raise_on_meta_error
yield
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/dataframe/core.py", line 5671, in elemwise
meta = partial_by_order(*parts, function=op, other=other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/dask/utils.py", line 1225, in partial_by_order
return function(*args2, **kwargs)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/common.py", line 69, in new_method
return method(self, other)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/arraylike.py", line 52, in ge
return self._cmp_method(other, operator.ge)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/series.py", line 5502, in _cmp_method
res_values = ops.comparison_op(lvalues, rvalues, op)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/array_ops.py", line 284, in comparison_op
res_values = comp_method_OBJECT_ARRAY(op, lvalues, rvalues)
File "/usr/local/usrapps/gage/eelorri/env_mntjulip/lib/python3.7/site-packages/pandas/core/ops/array_ops.py", line 73, in comp_method_OBJECT_ARRAY
result = libops.scalar_compare(x.ravel(), y, op)
File "pandas/_libs/ops.pyx", line 107, in pandas._libs.ops.scalar_compare
`
Do you know what is wrong?
Thank you for any help,
Stef