Git Product home page Git Product logo

Comments (9)

vlasmirnov avatar vlasmirnov commented on August 20, 2024

Thanks a lot for writing.
Regarding your issue, there are two possibilities that come to mind:

  1. Make sure you've permissioned MAFFT (and the other tools that are packaged with MAGUS)
  2. You might need to replace the packaged MAFFT executable with one built for your system (https://mafft.cbrc.jp/alignment/software/)

Please let me know if any of this helps. Also, there might be more information in the error log.

from magus.

rcedgar avatar rcedgar commented on August 20, 2024

Vlad -- Thanks for the quick reply.

The install instructions do not mention setting permissions.

The execute bit was not set for the main mafft script, but setting it did not fix the problem, I get the same error after the execute bit is set.

FYI, this is for comparative validation against other MSA methods and I have limited patience for trouble-shooting buggy code / buggy install instructions here. If you can provide complete instructions for setting up MAGUS on a clean Ubuntu 20.04 I will be glad to include MAGUS in the comparison. A simple way for you to fix the install instructions is to install on a clean Ubuntu 20.04 on an AWS t2.micro instance, this is free tier so will not cost anything.

from magus.

vlasmirnov avatar vlasmirnov commented on August 20, 2024

Sounds good, I'll take a look at what's going on with AWS when I get the chance. I apologize for the inconvenience. My guess is that this MAFFT distribution was for debian, although it seems to work on my home Ubuntu.

In the meantime, if you were planning to include MAFFT in your comparison, the easiest thing to do would be to overwrite MAGUS's packaged MAFFT with your working MAFFT copy (the mafft script goes into tools/mafft/mafftdir/bin, and the binaries go into tools/mafft/mafftdir/libexec). Or, in configuration.py, change the "mafftPath" line to wherever the mafft script is installed.

Alternatively, if you were planning to include PASTA in your comparison, MAGUS copies PASTA's directory structure for MAFFT, so you can just copy PASTA's MAFFT installation directly over.

from magus.

rcedgar avatar rcedgar commented on August 20, 2024

I do plan to include stand-alone MAFFT, but I don't see the relevance -- I would install it and run it on a totally separate machine (i.e. separate AWS instance) without MAGUS. What is PASTA? Maybe I should ask which Warnow lab method(s) I should be testing for large input datasets?

from magus.

vlasmirnov avatar vlasmirnov commented on August 20, 2024

PASTA (https://github.com/smirarab/pasta) is an alignment method for large datasets, which grew out of a previous method called SATe II. MAGUS grew out of PASTA in turn. In a sense, PASTA is "SATe III" and MAGUS is "SATe IV".
For very large datasets, another method to consider is UPP (https://github.com/smirarab/sepp). It tends to be faster than PASTA/MAGUS, but accuracy tends to suffer.

The best choice of method would depend on how large your datasets are. MAGUS and PASTA both use MAFFT -linsi internally, so if your dataset is a few hundred sequences, then standalone MAFFT -linsi should give about the same result. For larger and more heterogeneous datasets, the other methods tend to give better results.

from magus.

rcedgar avatar rcedgar commented on August 20, 2024

Great feedback thanks. My main interest is in aligning 140k RdRP sequences for novel RNA virus species recently discovered by mining the SRA https://www.biorxiv.org/content/10.1101/2020.08.07.241729v2, which has got me interested in MSA methods again and I'm working on a new algorithm and a new benchmark. The RdRPs are an ideal real-world case for applying and validating methods like MAGUS because there is an independent check on the alignments by identifying conserved motifs https://github.com/rcedgar/palmscan.

from magus.

vlasmirnov avatar vlasmirnov commented on August 20, 2024

I see, that makes sense. I'd be very curious to see how well MAGUS performs on biological datasets different from those that we used to test it. If you'd like to obtain a MAGUS alignment but are having issues getting it to work in your environment, I'd be happy to try aligning your dataset on our campus cluster.

from magus.

MinhyukPark avatar MinhyukPark commented on August 20, 2024

bumping an old thread but I encountered the same issue while running MAGUS in a vm and instead of setting the individual scripts as executable, chmod -R +x ./tools/mafft/ seemed to do the trick for me.

from magus.

rmukaila avatar rmukaila commented on August 20, 2024

I had same issue recently, but it turns out MAGUS has issues with presence of special characters in sequences headers. A friend reported that preprocessing sequence headers to look as simple as the example sequences file in the MAGUS repo fixed it. That's if you are are able to run the example sequences without problems

from magus.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.