Skip to content

About the dexseq_prepare_annotation.py? #1

Description

@punching-samuel

After running this script ‘dexseq_prepare_annotation.py’ with my_GTF, I obtained a file with the dexseq.gff suffix. Should I use this to run dexseq? Before using grsea, I had already run dexseq with my_GTF, it seems that the dexseq result of my previous calculation will give an error after running the script 'grsea.py':

(rmats) bash-4.2$ cat xxx/xxx/7_grsea/myouts/grase1860116.err
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "xxx/Software/anaconda3/envs/rmats/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "xxx/Software/anaconda3/envs/rmats/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "xxx/Software/GrASE/grase.py", line 168, in process_gene
g, gene, gff, fromGTF_SE, fromGTF_RI, fromGTF_A3SS, fromGTF_A5SS, grase_output_dir = get_gene_files(gene)
File "xxx/Software/GrASE/grase.py", line 78, in get_gene_files
return g, gene, gff, fromGTF_SE, fromGTF_RI, fromGTF_A3SS, fromGTF_A5SS, grase_output_dir
UnboundLocalError: local variable 'gff' referenced before assignment
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "xxx/Software/GrASE/grase.py", line 1289, in
main()
File "xxx/Software/GrASE/grase.py", line 1275, in main
p.map(process_gene, genes)
File "xxx/Software/anaconda3/envs/rmats/lib/python3.10/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "xxx/Software/anaconda3/envs/rmats/lib/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
UnboundLocalError: local variable 'gff' referenced before assignment

Could you help me? I will appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions