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

samtools issue #11

Open
civanovich-senck opened this issue Nov 21, 2020 · 10 comments
Open

samtools issue #11

civanovich-senck opened this issue Nov 21, 2020 · 10 comments

Comments

@civanovich-senck
Copy link

Dear devs,
Ive run into an small issue, but have no clue how to solve it. So when I start a run I get this message:

Need samtools --version >= 1.3 but you have 0 - please upgrade it.

Ive installed PhaMe through conda, and samtools not only comes with it, but is part of the modules I have available. Also it is on my $PATH. So what gives?

Cristóbal

@leannefaulks
Copy link

I am having a similar issue. When I run 'conda list' it tells me I have samtools 1.4.1, so it is there but not being recognized?

@mshakya
Copy link
Member

mshakya commented Nov 24, 2020

Thank you all and apologies. I am aware of the issue, which has to do with how the version number is parsed. I had fixed this issue in the latest phame, but I haven't pushed to changes to conda. The easiest way right now is to get the latest repo from here and use phame in src/phame instead of the one that is automatically installed by conda. Let me know if this works. I will also update the conda with latest phame in the mean time.

@gpmoran
Copy link

gpmoran commented Jul 8, 2021

samtools is still a problem with the conda version of phame....

@aliceseaborn
Copy link

I have also been experiencing the same issue. Has anyone found a work around? Thank you!

@mshakya
Copy link
Member

mshakya commented Jul 9, 2021

if you use the installation instruction #2 from the README of this repo that involves installing dependencies separately, you should not have the issue. Let me know if this solution works. Also, I have not had a chance to update the conda package yet.

@gpmoran
Copy link

gpmoran commented Jul 12, 2021

Thank you for coming back to us. I have installed Phame using the method to install the dependencies separately. This has created a new PhaME directory with many subdirectories. Is there an example of how to run phame using a .ctl file in this installation?

@zzeigler
Copy link

I had success using #2 but I had to use the following python/conda versions for it to work.

Give it a try. The issue seems to be with newer conda versions limiting samtools to an older version that won't work.

[17:14] [email protected]:~
$ python --version
Python 3.6.13
[17:15] [email protected]:~
$ conda --version
conda 4.1.6

@mshakya
Copy link
Member

mshakya commented Jul 19, 2021

HI @gpmoran , you will have to call the phame script directly. It wont be in your path. For example, if you are running phame from the github directory that you downloaded then you can just do:

src/phame control_file.ctl

@drish91
Copy link

drish91 commented Jul 28, 2021

This worked for me too.
To summarize, I created a new phame environment and installed the dependencies separately as described in #2. Cloned in the git repo in the same directory. Activated this new environment and ran the phame from the github source.

Though, it would be great if the conda package could be updated asap!

@Ajalapond
Copy link

I also have this problem. How can I solve this problem?
thank you

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

8 participants