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

run agat_convert_sp_gff2gtf.pl after conda install #29

Closed
Diango700 opened this issue Mar 25, 2020 · 5 comments
Closed

run agat_convert_sp_gff2gtf.pl after conda install #29

Diango700 opened this issue Mar 25, 2020 · 5 comments

Comments

@Diango700
Copy link

I have use this command below :
1 - conda activate agat
2 - I'm open a terminal on my gff pathway
3 - perl agat_convert_sp_gff2gtf.pl --gff file.gff -o file.gtf

ERROR : Can't locate Sort/Naturally.pm in @inc (you may need to install the Sort::Naturally module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /home/kali/AGAT/bin/agat_convert_sp_gff2gtf.pl line 7.
BEGIN failed--compilation aborted at /home/kali/AGAT/bin/agat_convert_sp_gff2gtf.pl line 7.

If anyone has an idea what it is

@Juke34
Copy link
Collaborator

Juke34 commented Mar 25, 2020

did you create the environment and install agat properly before?

conda create -n agat
conda activate agat
conda install -c bioconda agat

then the command would be
agat_convert_sp_gff2gtf.pl --gff file.gff -o file.gtf no need to precise perl

@Diango700
Copy link
Author

yes like ;
conda create --name agat

but same error

@Juke34
Copy link
Collaborator

Juke34 commented Mar 25, 2020

Ok you have a Conda env called agat
step1 you have created it with the command
conda create --name agat
and step2 activated it with the command
conda activate agat

But the error message says that prerequisites (e.g Sort/Naturally.pm) is not installed while they are supposed to be installed by conda. So apparently either you forgot the step3 in which you have to install agat conda install -c bioconda agat either during this installation conda threw an error message...

It seems you did a clone of the repo and try to run directly the script without having installed any prerequisite.

@Diango700
Copy link
Author

I try to re-install

@Diango700
Copy link
Author

thank you so much Juke34 !
its ok now

@Juke34 Juke34 closed this as completed Mar 25, 2020
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