GenomeRIK / tama

Transcriptome Annotation by Modular Algorithms (for long read RNA sequencing data)
GNU General Public License v3.0
125 stars 24 forks source link

'dict_keys' object has no attribute 'sorted' #114

Closed roybarkan2020 closed 10 months ago

roybarkan2020 commented 10 months ago

Hi !

I am trying to run tama collapse using my mapped isoseq data (sam file) with this command: python3 tama_collapse.py -s aln_iso_hq_sort.sam -f scaffolds_final.fa -p iso_hq

I am getting an error msg: Traceback (most recent call last): File "tama_collapse.py", line 5448, in forward_gene_start_trans_dict,forward_start_gene_list = gene_group(forward_trans_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "tama_collapse.py", line 3528, in gene_group start_gene_list.sorted() ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'dict_keys' object has no attribute 'sorted'

I had some issues with "sort()" before, so I changed "sort()" to "sorted()" (due to different Python versions).

Do you have any ideas about what could be the issue?

Many thanks!!! Roy.

GenomeRIK commented 10 months ago

Hi Roy,

The public version of TAMA still runs on Python 2.7. Please use Python 2.7 to run TAMA. If you need the python 3 version please email me with info on the project and group.

Thank you, Richard