Skip to content

ERROR when running prepare.py #18

@Dongxu-Zheng

Description

@Dongxu-Zheng

Hi, thanks for developing this great software. I am working on a 10X single nucleus RNA-seq data. I use the gtf file from cellRanger as input for the prepare.py. However, I got the ERROR like this:

Traceback (most recent call last):
File "/software/SCAPE/main.py", line 4, in
cli()
File "/software/anaconda3/envs/scape/lib/python3.7/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/software/anaconda3/envs/scape/lib/python3.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/software/anaconda3/envs/scape/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/software/anaconda3/envs/scape/lib/python3.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/software/anaconda3/envs/scape/lib/python3.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/software/SCAPE/cli/prepare.py", line 83, in prepare
if info[gene_type_id] not in genes_use:
TypeError: unhashable type: 'list'

I installed SCAPE according to the document. The version of Python is 3.7.3. Indeed, I have the output for UTR like:
1 30976 31097 lincRNA;ENSG00000243485;ENST00000473358;MIR1302-2HG . +
1 30976 31109 lincRNA;ENSG00000243485;ENST00000469289;MIR1302-2HG . +
1 34554 35174 lincRNA;ENSG00000237613;ENST00000417324;FAM138A . -
1 35245 35481 lincRNA;ENSG00000237613;ENST00000461467;FAM138A . -

I was wondering if I really need to care about the ERROR and if the output is correct? If you need more info. for my working environment, please let me know. Thanks for any reply and suggestions!

Cheers,
Dongxu

Metadata

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