NBISweden / AGAT

Another Gtf/Gff Analysis Toolkit
GNU General Public License v3.0
461 stars 56 forks source link

use AGAT::AGAT #497

Closed antzellie closed 1 month ago

antzellie commented 1 month ago

Describe the bug I installed all the code and perl modules for AGAT, and I am trying to run agat_sp_add_introns.pl However, I keep on getting an error message (as seen in the screenshot attached). I have updated all my packages and perl, but I can't seem to fix this problem. Am I missing a step?

General (please complete the following information):

Screenshots Capture

Juke34 commented 1 month ago

Did you install AGAT via conda or only the dependencies? If you installed AGAT via conda did the installation went well? Did you activate / use the correct env?

antzellie commented 1 month ago

Hi.

I assume it was done correctly, these are some screenshots of what I did.

Capture2

Capture3

Capture4

And yes, I did activate by using 'conda activate agat'

Juke34 commented 1 month ago

Could you run
config --add channels bioconda conda config --add channels conda-forge conda config --set channel_priority strict

And then try again in a fresh env:
Conda create -n agat_fresh agat. Activate the new env:
conda activate agat_fresh

And try agat

antzellie commented 1 month ago

Thank you for the suggestion. I will try it and let you know if I still have any issues.

On Fri, 27 Sept 2024, 21:56 Jacques Dainat, @.***> wrote:

Could you run config --add channels bioconda conda config --add channels conda-forge conda config --set channel_priority strict

And then try again in a fresh env: Conda create -n agat_fresh agat. Activate the new env: conda activate agat_fresh

And try agat

— Reply to this email directly, view it on GitHub https://github.com/NBISweden/AGAT/issues/497#issuecomment-2379960964, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLUXZ5TQGFM2V7RKTNC6XFLZYWZ7XAVCNFSM6AAAAABO7F3W7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZHE3DAOJWGQ . You are receiving this because you authored the thread.Message ID: @.***>

antzellie commented 1 month ago

Hello. So I tried running the "config --add channels bioconda" commmand but it says that the config command is not found. I did try and do it in roott with "sudo" but that still didn't work. I am doing this in Ubuntu.

Juke34 commented 1 month ago

Right the correct command is conda config --add channels bioconda conda config --add channels conda-forge conda config --set channel_priority strict

antzellie commented 1 month ago

Hi. Thank you for all the assistance, I got it all sorted, it is running now.