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

Are there any inclusion relationships between PhaGCN, PhaTYP, and PhaBOX software? #50

Open
ShuqingL opened this issue Jan 7, 2025 · 9 comments

Comments

@ShuqingL
Copy link

ShuqingL commented Jan 7, 2025

Can the functions of the PhaGCN and PhaTYP software be achieved by using different functional modules in the PhaBOX software?

@KennthShang
Copy link
Owner

Sorry, I do not catch up with the idea.

Currently, both PhaGCN and PhaTYP can be run separately using PhaBOX, you can check this in the WIKI

Maybe you can further explain your needs.

Best,
Jiayu

@ShuqingL
Copy link
Author

ShuqingL commented Jan 7, 2025

@KennthShang
Does this mean that in the future, using --task phagcn and --task phatyp of PhaBOX can respectively achieve the functions of PhaGCN and PhaTYP, without the need to use PhaGCN and PhaTYP separately?

@KennthShang
Copy link
Owner

@ShuqingL

The current version of PhaBOX can do this. The functions have already been released.

Also for your question, you can refer to the WIKI Installation. It is a closed issue and the mentioned problem has been fixed.

BTW, python>=3.8 should be fine. But I suggest installing a via BioConda.

Best,
Jiayu

@ShuqingL
Copy link
Author

ShuqingL commented Jan 7, 2025

Thanks @KennthShang
But I received some warning messages when installing using Miniconda (Python version 3.9). I don't know if it's related to the Python version. Currently still under installation.

conda create -n phabox2 phabox=2.1.9 -c conda-forge -c bioconda -y

Collecting package metadata (current_repodata.json): - WARNING conda.models.version:get_matcher(546): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1., but conda is ignoring the . and treating it as 1.7.1 done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): | WARNING conda.models.version:get_matcher(546): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0., but conda is ignoring the . and treating it as 1.8.0
WARNING conda.models.version:get_matcher(546): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0., but conda is ignoring the . and treating it as 1.6.0
WARNING conda.models.version:get_matcher(546): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0., but conda is ignoring the . and treating it as 1.9.0 done
Solving environment: -

@KennthShang
Copy link
Owner

The WARNING information won't matter. It only tells you your conda version is out-of-date (in my opinion). Please provide the error message (if the installation failed)

@ShuqingL
Copy link
Author

ShuqingL commented Jan 7, 2025

Hi @KennthShang,
Perhaps there are still compatibility issues with Python versions.
There has been no progress under Miniconda (Python version 3.9), and it got stuck at the step of "Solving environment: ".
After switching to Miniconda (Python version 3.8), the installation was completed smoothly.
I've successfully installed it now. Thank you very much.

@KennthShang
Copy link
Owner

Good to know.

I think it is caused by your conda version and I will release a note for that. Thanks for your feedback.

Best,
Jiayu

@mdhishamshaikh
Copy link

mdhishamshaikh commented Feb 21, 2025

Hi,
Has there been any updates on this as such?
I ran into the same issue

conda env create -f environment.yml 
Collecting package metadata (repodata.json): - WARNING conda.models.version:get_matcher(544): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0.*, but conda is ignoring the .* and treating it as 1.9.0
WARNING conda.models.version:get_matcher(544): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0.*, but conda is ignoring the .* and treating it as 1.6.0
WARNING conda.models.version:get_matcher(544): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0.*, but conda is ignoring the .* and treating it as 1.8.0
WARNING conda.models.version:get_matcher(544): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1.*, but conda is ignoring the .* and treating it as 1.7.1
done
Solving environment: - Killed
(base) [vsc44392@gligar07 PhaBOX]$ 

I initially tried installing using bioconda on miniconda python 3.9. Then I downgraded it to 3.8 as this issue thread suggested. Neither worked. Then, I tried installing using the environment.yml file.
Nothing has worked so far. All of them had the same output as above.
There are no errors. It gets killed after a while.

What information can I provide to help with this?

@mdhishamshaikh
Copy link

Hi,
Kinda feel weird to reply to this thread this quickly. I think the issue was with my server. I work on an HPC cluster. Conda is too slow for it. I used mamba instead.
mamba create -n phabox2 phabox=2.1.9 -c conda-forge -c bioconda -y works like magic! Perhaps mamba should be included as an alternative in the installation guide.
Just ran the example and I have to praise all your efforts. PhaBOX2 has come very far! Cannot wait too look at my own data. Thank you!
Cheers,
Hisham

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

3 participants