-
Notifications
You must be signed in to change notification settings - Fork 33
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
Mac compatibility #28
Comments
Same thing with grep |
Maybe it would be good to have your mother script having |
Mac tutorial is missing the install link for exonerate |
Hi Adrien, cool this is great help indeed! Haven't so much Mac contact myself so so these hints are highly appreciated :) |
The issue is that when you install coreutils, grep and binutils, brew installs the command with the prefix "g". So I had all of them installed already but to call them I am now used to ggrep, gsed etc.. I am far to be an expert and I don't really know the best solution :/ |
I agree! As far as I got it, the problem is that the GNU version of the tools are not fully compatible with the BSD versions which are used in by OSX since it originates from BSD Unix. |
Met the same problem using MAC, error shows here: |
Even though I followed the above instructions, and when I run the :
|
hi @feiranl, thanks for trying gapseq on a mac! You are right, installation is a bit bumpy on ios, it's because we ourselves are linux user and unfortunately some command line programs used by gapseq differ under ios. Have you tried the solution proposed by aassie? |
Hi, @jotech, That's what I have done for setting up.
|
hm .. I remember we had some problems with transporter prediction and different awk versions in the past e8da324 |
Hi, I tried, but this doesn't work out. The message is the same as before: and the outfile is empty, is it related to the grep, because in the message it said :grep: -: No such file or directory. May I know which example can I also run to test for?
But I tested
it returned: |
Thanks for this hint! If it is grep (which differs under mac as I just read) then you should already be able to use the linux grep command because you have installed the |
Thanks! But I have already ran this before. Rerun it again: And rerun the transporter annotation code, it still errors. |
strange! Could you please report the output of |
|
Can you please try |
yes, the output is |
ok thanks for this, I think we are getting closer :) |
Thanks! The output for |
the |
Sorry for the trouble. I double checked that the grep exists in the path
(base) dhcp-141-14:bin feiranl$ grep -V |
I'm afraid they way you used 'cd' to get to I think we could try two things:
I'm sorry if it is a bit confusing, but I would like to find a quick solution first and look for a more user-friendly alternative afterwards, when I know it can work in principle. |
Hi, I managed to get the grep version by setting the symlink using the code as below:
output: I tried to run the transporter annotation again, but is still failed. BTW: is this normal for outputting below message in the process for transporter annotation?
|
It should work when |
But there is not a ggrep in the location of
|
oh I see, this explains the ongoing misunderstanding ^^, sorry for the confusion!
should do the trick and afterwards the symlink should work :) |
Hi, now it works fine. Thanks! I summarized steps that I have done to install gapseq in MAC as below.
|
Hi @feiranl , i'm glad it worked! |
Looking forward! Thanks! |
Dear MacOS user, together with students we have tested the installation of gapseq on different MacOS-Systems. We realized, that the easiest solution is to install gapseq in a separate conda environment. We provide step-by-step instructions how to do that here: https://gapseq.readthedocs.io/en/latest/install.html Best wishes |
Finally getting the time to test your tools 😉
Here are a bunch of notes about issues I encountered trying to run gapseq on my Mojave 10.14.6
Mac users need to have coreutils and gnu binutils installed otherwise you will have the following errors:
readlink: illegal option -- f
stat: illegal option -- c
Both can be installed with
homebrew
and symlinked with:ln -s /usr/local/bin/gstat /usr/local/bin/stat
and
ln -s /usr/local/bin/greadlink /usr/local/bin/readlink
The text was updated successfully, but these errors were encountered: