Closed shiyi-pan closed 3 years ago
Hi, this seems to be due to a character encoding error, basically wgd
tries to print an ω
to the stdout
or stderr
stream but it doesn't work on your system... I should probably refactor the code to only use ascii characters, in the mean time, you could try the solutions listed here.
thank you for your reply . I have set PYTHONIOENCODING=windows-1252 in my shell but it don't work.
Hi, I think you might have misinterpreted that stackoverflow answer, I think you might have to set the following environment variables to allow unicode characters:
set PYTHONIOENCODING=utf-8
set PYTHONLEGACYWINDOWSSTDIO=utf-8
But I'm not sure.
Hi, I changed the code (see here). If you pulll the latest wgd
version from github (master branch), remove your old installation and reinstall the new version you should not have this issue anymore I believe.
Thank you for your help. It works . I get another error when run the syn module:
2020-10-11 21:07:05: INFO i-adhore stderr: Error opening the settings file: -version 2020-10-11 21:07:05: WARNING Output directory already exists, will possibly overwrite 2020-10-11 21:07:05: INFO Parsing GFF file 2020-10-11 21:07:06: INFO Writing gene lists 2020-10-11 21:07:06: INFO Writing families file 2020-10-11 21:07:06: INFO Writing configuration file 2020-10-11 21:07:06: INFO Running I-ADHoRe 3.0 2020-10-11 21:07:06: WARNING ERROR: Genelist files not found in settings file
2020-10-11 21:07:06: INFO This is i-ADHoRe v3.0. Copyright (c) 2002-2010, Flanders Interuniversity Institute for Biotechnology, VIB. Algorithm designed by Klaas Vandepoele, Cedric Simillion, Jan Fostier, Dieter De Witte, Koen Janssens, Sebastian Proost, Yvan Saeys and Yves Van de Peer.
Process 1/1 is alive on compute-0-0.local.
Traceback (most recent call last):
File "/ds3512/home/panyp/ruanjian/python3/bin/wgd", line 11, in
@shiyi-pan can you tell me how to solve this problem, I encounter this problem too,thank you very much.
It seems that the output expected from I-ADHoRe is not found, and that this is due to some error in the configuration of I-ADHoRe. Make sure your that you set the --feature
(e.g. CDS
) and --attribute
(e.g. ID
) settings in the wgd
command such that the relevant features from the gff matches the gene IDs in the gene families file.
Hi, I uesd WGD with the command :
my input file is fasta file and gff file like that:
and
could you help me fix it ? thank you very much.