I'm using IM-fusion to build my genome. I installed the package and its dependencies and prepared all the files I need. When I submit my job, I get this error. Would you please let me know what is wrong with my file?
Best,
Niusha
[2020-11-17 08:30:34] Copying transposon files
[2020-11-17 08:30:35] Building indexed reference gtf
[2020-11-17 08:31:48] Building flattened exon gtf
Traceback (most recent call last):
File "/scratch/user/ENV/bin/imfusion-build", line 8, in
sys.exit(main())
File "/scratch/user/ENV/lib/python3.8/site-packages/imfusion/main/build.py", line 28, in main
indexer.build(
File "/scratch/user/ENV/lib/python3.8/site-packages/imfusion/build/indexers/base.py", line 178, in build
gtf_frame_flat = tabix.flatten_gtf_frame(gtf_frame)
File "/scratch/user/ENV/lib/python3.8/site-packages/imfusion/util/tabix.py", line 239, in flatten_gtf_frame
gtf_frame = _gtf_frame_from_exon_array(exons)
File "/scratch/user/ENV/lib/python3.8/site-packages/imfusion/util/tabix.py", line 279, in _gtf_frame_from_exon_array
attrs = flat_exons.groupby('gene_id')['gene_id'].transform(_attribute_strs)
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 493, in transform
return self._transform_general(
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 562, in _transform_general
result.index = self._selected_obj.index
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/generic.py", line 5152, in setattr
return object.setattr(self, name, value)
File "pandas/_libs/properties.pyx", line 66, in pandas._libs.properties.AxisProperty.set
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/series.py", line 424, in _set_axis
self._mgr.set_axis(axis, labels)
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 226, in set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 0 elements, new values have 335509 elements
Hi,
I'm using IM-fusion to build my genome. I installed the package and its dependencies and prepared all the files I need. When I submit my job, I get this error. Would you please let me know what is wrong with my file?
Best, Niusha
[2020-11-17 08:30:34] Copying transposon files [2020-11-17 08:30:35] Building indexed reference gtf [2020-11-17 08:31:48] Building flattened exon gtf Traceback (most recent call last): File "/scratch/user/ENV/bin/imfusion-build", line 8, in
sys.exit(main())
File "/scratch/user/ENV/lib/python3.8/site-packages/imfusion/main/build.py", line 28, in main
indexer.build(
File "/scratch/user/ENV/lib/python3.8/site-packages/imfusion/build/indexers/base.py", line 178, in build
gtf_frame_flat = tabix.flatten_gtf_frame(gtf_frame)
File "/scratch/user/ENV/lib/python3.8/site-packages/imfusion/util/tabix.py", line 239, in flatten_gtf_frame
gtf_frame = _gtf_frame_from_exon_array(exons)
File "/scratch/user/ENV/lib/python3.8/site-packages/imfusion/util/tabix.py", line 279, in _gtf_frame_from_exon_array
attrs = flat_exons.groupby('gene_id')['gene_id'].transform(_attribute_strs)
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 493, in transform
return self._transform_general(
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 562, in _transform_general
result.index = self._selected_obj.index
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/generic.py", line 5152, in setattr
return object.setattr(self, name, value)
File "pandas/_libs/properties.pyx", line 66, in pandas._libs.properties.AxisProperty.set
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/series.py", line 424, in _set_axis
self._mgr.set_axis(axis, labels)
File "/scratch/user/ENV/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 226, in set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 0 elements, new values have 335509 elements