smangul1 / rop

The Read Origin Protocol (ROP) is a computational protocol that aims to discover the source of all reads, including those originating from repeat sequences, recombinant B and T cell receptors, and microbial communities.
https://github.com/smangul1/rop/wiki
GNU General Public License v3.0
34 stars 14 forks source link

syntax error #147

Closed rgarcia27 closed 2 years ago

rgarcia27 commented 2 years ago

Hi, I just installed ROP. I think I did it okay because I set up the environment and I could installed it without any warning or errors. The only thing I did different is that I installed Suffix Tree outside the .yml but with the tar.gz that comes in the repository.

The problem is that I'm trying to run the examples and I can't because of this error that I honestly don't know how to fix. rop.sh: line 200: syntax error near unexpected token `>'

Please help. Thanks!

kahsieh commented 2 years ago

Are you running ROP on Linux?

rgarcia27 commented 2 years ago

yes I am

kahsieh commented 2 years ago

It sounds like ROP isn't compatible with your shell. Could you try using the latest version of bash?

rgarcia27 commented 2 years ago

Looks like there's a problem with the server but I could installed successfully on another one. Thanks a lot!

rgarcia27 commented 2 years ago

Hi, sorry, I could installed it correctly but I have the same syntax error. The bash version of the new server is 4.4.20, what version do I need?

Thanks!

kahsieh commented 2 years ago

That version of bash should be able to run ROP. I'd suggest checking your shell options to make sure process redirection is allowed. For example, you might have to disable POSIX mode (set +o posix).