Skip to content

Alignment with blat failing with python exception #18

Open
@r78v10a07

Description

I'm using rnaquast with blat and and Trinity assembled transcriptome.

  2023-07-06 20:10:51
  Getting DISTRIBUTION report...
    Drawing cumulative transcript / isoform length plot...

'dict_keys' object cannot be interpreted as an integer
Traceback (most recent call last):
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/bin/rnaQUAST.py", line 348, in <module>
    return_code = main_utils()
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/bin/rnaQUAST.py", line 311, in main_utils
    separated_reports[i_transcripts].get_separated_report\
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/share/rnaquast-2.2.3-0/report/SeparatedReport.py", line 57, in get_separated_report
    DistributionReport.DistributionReport([transcripts_metrics], db_genes_metrics, self.output_dir, logger, PRECISION)
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/share/rnaquast-2.2.3-0/report/DistributionReport.py", line 20, in __init__
    self.get_basic_plots(transcripts_metrics, db_genes_metrics, precision)
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/share/rnaquast-2.2.3-0/report/DistributionReport.py", line 41, in get_basic_plots
    self.get_transcript_length_plot(db_genes_metrics, transcripts_metrics, self.output_dir, precision, short_report_visible=True)
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/share/rnaquast-2.2.3-0/report/DistributionReport.py", line 161, in get_transcript_length_plot
    transcript_len_plot.plot_compare_distribution(self.short_report_plots)
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/share/rnaquast-2.2.3-0/report/UtilsPictures.py", line 154, in plot_compare_distribution
    step = Plot.get_step(self.def_step, [self.isoforms_distribution], self.num_points)
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/share/rnaquast-2.2.3-0/report/UtilsPictures.py", line 350, in get_step
    x_begin, x_end = cls.get_x_begins_ends_plot(distributions, False)
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/share/rnaquast-2.2.3-0/report/UtilsPictures.py", line 313, in get_x_begins_ends_plot
    x_begin = min(x_begin, min(distributions[i_distribution].keys()))
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 2953, in min
    return _wrapreduction(a, np.minimum, 'min', axis, None, out,
  File "/net/intdev/cbb03/landsman/roberto/resources/conda/envs/rnaquast/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 88, in _wrapreduction
    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
TypeError: 'dict_keys' object cannot be interpreted as an integer

ERROR! Exception caught!

Here is the full log
rnaQUAST.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions