-
Notifications
You must be signed in to change notification settings - Fork 70
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
hicBuildMatrix : ImportError: Bio.Alphabet has been removed from Biopython. #755
Comments
Would it be an option for you to try the latest HiCExplorer version 3.7 or if the 3.6 version is important to you; try to use Python version 3.7 or 3.6? |
thanks for your answer ! i already tried with python 3.6 as it's the current version on the server but i have the same error. |
is the lastest version in git repo ? because even for this one nothing it's working. For restsite i have this error with git repo : and this one with conda : then i assumed all the installation is corrupted for some unknown reason |
I see. I think there is a major issue in your software environment, that happens sometimes. Let's try to clean it:
I hope this resolves your issues. |
ok thanks a lot i will try that. |
unfortunatly the error remains after re installing everything (hicexplorer) ma5840be@krenek03:findRestSite packages in environment at /work/gad/shared/bin/miniconda3/envs/hicexplorer:hicexplorer 3.7.1 pyhdfd78af_0 bioconda i wasn't able to use python 3.8 as it's not installed on the server then i did it with python 3.6. maybe it's related to that? |
You can specify in a conda environment a python version that is different from the version installed on your server. Please consider again the command I wrote for you: |
Hi all, I also had an Import Error because the two most recent version of biopython do not contain Bio.Alphabet. I was able to resolve the issue by installing biopython 1.77, but obviously I'd prefer to have the latest versions. Going forward this would be an issue for me as well as other hicexplorer users as well. Will there be a solution to this? |
Haven't we fixed this and can use also > 1.77 of Biopython @LeilyR @lldelisle ? Or was there maybe some dependency somewhere... I will check these days if I find some time. |
Hi,
There is a HiCExplorer installed in |
Hello, everyone. I am having a similar issue here: even simple entering hicBuildMatrix gives an error below. I tried deleting the environment and creating a new one, with different python versions 3.7, 3.10.5, but it didn't help. This is a recent error for me, because in the past I was able to run my analysis using the same hicExplorer 3.7.2. Any help would be appreciated. Traceback (most recent call last): |
It seems that you are not using the last version of hicexplorer. |
Hello, @lldelisle
|
I think it did not work in 3.10 for a different reason (cooler vs numpy versions compatibilities). |
Hi !
i know this issue supposed to be solved but it seems not. i tried install and run hicexplorer in two ways (with git and conda), in all situation i have the same error while trying to run hicBuildMatrix.
for conda installation :
conda create --name hicexplorer hicexplorer=3.6 python=3.8 -c bioconda -c conda-forge
(hicexplorer) ma5840be@krenek02:conda list | grep hicexplorer
packages in environment at /work/gad/shared/bin/miniconda3/envs/hicexplorer:
hicexplorer 3.6
(hicexplorer) ma5840be@krenek02:conda list | grep biopython
biopython 1.76 py36h516909a_0 conda-forge
python : 3.6
i'm running it on a cge server.
i installed it as you said and paid attention about biopython version (<1.77) wich is ok but still it's not working. exact same issue with the git install.
thanks for your help !
Marine
Welcome to the HiCExplorer GitHub repository! Before opening the issue please check
that the following requirements are met :
Search whether this issue (or a similar issue) has been solved before using the search tab above. Link the previous issue if appropriate below.
Paste your HiCExplorer version (
hicInfo --version
) and your python version (python --version
) below.Have you checked our documentation on hicexplorer.readthedocs.io?
Do you use conda to install HiCExplorer?
Do you use the latest HiCExplorer release? If not, please install it via a conda environment:
conda create --name hicexplorer hicexplorer=3.6 python=3.8 -c bioconda -c conda-forge
and activate the environment:
conda activate hicexplorer
. Retry your command. You can exit a conda environment viaconda deactivate
. To learn more about conda and environments, please consider the following documentation.Retry your command, is it solved now? If not please continue with the following:
Paste the full HiCExplorer command that produces the issue below
(ignore if you simply spotted the issue in the code/documentation).
Paste the output printed on screen from the command that produces the issue
below (ignore if you simply spotted the issue in the code/documentation).
The text was updated successfully, but these errors were encountered: