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

how to install the snpir::config module #3

Open
MinS1 opened this issue Apr 9, 2019 · 2 comments
Open

how to install the snpir::config module #3

MinS1 opened this issue Apr 9, 2019 · 2 comments

Comments

@MinS1
Copy link

MinS1 commented Apr 9, 2019

Hi,
when i run filter_mismatch_first6bp.pl script, they return me a errer like following:

Can't locate snpir/config.pm in @inc (you may need to install the snpir::config module) (@inc contains: /zs32/home/ssmin/SNPinRNAseq/SNPiR-master/../ /usr/local/perl/lib/5.24.1/x86_64-linux-thread-multi /usr/local/perl/lib/5.24.1 /usr/local/perl/lib /opt/tools/seq-analysis/vcftools_0.1.13/lib/perl5/site_perl /zs32/home/ssmin/perl5/lib/perl5/5.24.1/x86_64-linux-thread-multi /zs32/home/ssmin/perl5/lib/perl5/5.24.1 /zs32/home/ssmin/perl5/lib/perl5/x86_64-linux-thread-multi /zs32/home/ssmin/perl5/lib/perl5 /usr/local/perl/lib/site_perl/5.24.1/x86_64-linux-thread-multi /usr/local/perl/lib/site_perl/5.24.1 .) at filter_mismatch_first6bp.pl line 8.
BEGIN failed--compilation aborted at filter_mismatch_first6bp.pl line 8 (#1)

it reminder me to install the snpir::config module, but i don't know how to install snpir. I thought this software could be used without installation.Can you help me?Thank you very much!

@longqh3
Copy link

longqh3 commented Oct 14, 2020

Hi, I also encountered this problem. I solved it by mannually copy /VaDiR/tools/SNPiR/SNPiR directory into @inc's path so that the perl can locate snpir/config.pm.
However the copy operation may require root priviledge. So if you have no root priviledge, you may have to install your own perl and designate your @inc path. I personally followed this link 非[无]root权限 服务器 下安装perl以及perl模块--转载 and succeeded. But its in Chinese so maybe you can find other instructions.

@ChoiJi-Hye
Copy link

ChoiJi-Hye commented Jun 29, 2022

It's been a long time since you asked, but I'll answer for others who will have the same problem.
It's easy to solve.
You make 'snpir' directory under the 'SNPiR-master' (/$PATH/SNPiR-master/snpir/), and then copy 'config.pm' into snpir directory. (/$PATH/SNPiR-master/snpir/config.pm)

I solved the same problem with this way.
I hope it helps someone.

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