snippy icon indicating copy to clipboard operation
snippy copied to clipboard

Can't locate Bio/SeqIO.pm in @INC (you may need to install the Bio::SeqIO module)

Open Jeewan-Thapa opened this issue 2 years ago • 11 comments

Installed snippy in conda environment in ubuntu 20.04 LTS. Following message was obtained. Assistance will be greatly appreciated. Capture

Jeewan-Thapa avatar Aug 24 '21 09:08 Jeewan-Thapa

conda create --name snippy snippy conda activate snippy

BjoerlingTaul avatar Aug 26 '21 13:08 BjoerlingTaul

Thank you very much Bjerling Taul. I tried the scripts and got following message. Had you also encountered such issue? How did you solve it? Capture-1

Jeewan-Thapa avatar Aug 27 '21 00:08 Jeewan-Thapa

@Jeewan-Thapa have you configured the bioconda channels https://bioconda.github.io/user/install.html#set-up-channels ?

apetkau avatar Aug 27 '21 00:08 apetkau

Thanks @apetkau, No I haven't. Do I need to set-up bioconda channel and then again reinstall snippy?

Jeewan-Thapa avatar Aug 27 '21 00:08 Jeewan-Thapa

Yes, you will need to do that.

On Thu., Aug. 26, 2021, 7:36 p.m. Jeewan-Thapa, @.***> wrote:

Thanks @apetkau https://github.com/apetkau, No I haven't. Do I need to set-up bioconda channel and then install snippy?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tseemann/snippy/issues/472#issuecomment-906835051, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQ6RMIW4GB2D53CSMN2LTT63MYXANCNFSM5CWOLXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

apetkau avatar Aug 27 '21 00:08 apetkau

@apetkau It looks like something went wrong or am I missing something. Thank you. Capture-3

Jeewan-Thapa avatar Aug 27 '21 00:08 Jeewan-Thapa

That looks good to me. Now you can run conda create --name snippy snippy.

apetkau avatar Aug 27 '21 01:08 apetkau

@apetkau It looks like the snippy has been correctly installed in a snippy environment. When I run the snippy, do I have to always run in the snippy environment, and when I want to run other programs, for example, fastqc, I have to come back again to the conda environment by deactivating snippy and activating conda. Furthermore, it is suggested to upgrade snpEff to v4.3. So, this should be upgraded in the snippy environment. I am sorry for my simple queries as I am new to these works. I am very thankful to you. Capture 5

Jeewan-Thapa avatar Aug 27 '21 02:08 Jeewan-Thapa

That's great. I'm glad to hear it's working.

Yes, you will have to run conda activate snippy first before running snippy (and switch to a different environment for other software). Or, alternatively you could directly run conda run --name snippy snippy .... and avoid running conda activate. You can also try installing other software in the snippy environment (e.g., fastqc).

If you wish to upgrade snpEff for snippy, you will want to do it in the snippy environment (e.g., conda activate snippy then conda update snpeff).

One of the reasons for using different conda environments is that different software can have dependencies that conflict with each other (likely the source of your original issue here). You can read more about environments here https://conda.io/projects/conda/en/latest/user-guide/concepts/environments.html

apetkau avatar Aug 27 '21 04:08 apetkau

Thank you very much for your kind explanation. I noticed that snpeff is still not upgraded even after using the above update script. Even after reinstalling by "conda install -c bioconda snpeff" (v5.0), snpEff is not upgraded and shows same information. I will try troubleshooting this issue.

Jeewan-Thapa avatar Aug 27 '21 04:08 Jeewan-Thapa

@apetkau I am very sorry to trouble you again. I am not able to upgrade to snpEff version >=4.3. Do you have idea how to do it. @BjoerlingTaul Did you encounter this issue? @tseemann Do you have any suggestions? capture-6

Jeewan-Thapa avatar Aug 31 '21 07:08 Jeewan-Thapa