Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: unsupported operand type(s) for +: 'NoneType' and ‘int #6

Open
sk1350 opened this issue Nov 5, 2019 · 1 comment
Open

Comments

@sk1350
Copy link

sk1350 commented Nov 5, 2019

Hello, after running just fine for hours DICESeq failed with this error.
[DICEseq] running diceseq for 21458 genes with 25 cores...
[DICEseq] [=========-----------] 43.8% done in 86868.4 sec.Traceback (most recent call last):
File "/users/sk1350/.conda/envs/diceseq_env/bin/diceseq", line 8, in
sys.exit(main())
File "/users/sk1350/.conda/envs/diceseq_env/lib/python2.7/site-packages/diceseq/diceseq.py", line 239, in main
sort_dice_file(out_file+".dice", tran_ids)
File "/users/sk1350/.conda/envs/diceseq_env/lib/python2.7/site-packages/diceseq/utils/run_utils.py", line 45, in sort_dice_file
fid.writelines(delimiter.join(list(data[i+1,:])) + "\n")
TypeError: unsupported operand type(s) for +: 'NoneType' and ‘int'

@huangyh09
Copy link
Owner

Hi,

It looks that there are only 43.8% of the genes has been successfully finished. After that, diceseq attempted to sort the output file with the order of genes in GTF file. But due to the existence of missing genes, this sorting step fails to find all the input genes.

Do you have any ideas that around half of genes failed to comes back?

Yuanhua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants