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

MEME analysis crashes #769

Closed
harturchin opened this issue Mar 16, 2018 · 4 comments
Closed

MEME analysis crashes #769

harturchin opened this issue Mar 16, 2018 · 4 comments
Assignees

Comments

@harturchin
Copy link

This small MEME analysis starts successfully then crashes with the error message below. Input file is attached (fasta, 21 sequences, with Newick string); it runs correctly in other apps on the data monkey (GARD, aBSREL) but not in MEME. I guess it is a problem with an undefined branch length or rate caused by the data themselves?

Thanks!
Mike

Improving branch lengths, nucleotide substitution biases, and global dN/dS ratios under a full codon model

  • Log(L) = -7579.97
  • non-synonymous/synonymous rate ratio for test = 0.5739
    Error:
    meme.site_tree_bsrel.Node1 is not a valid likelihood function/data set filter/tree topology/tree node in call to SetParameter(
    Function call stack
    1 : Set parameter MODEL of meme.site_tree_bsrel.Node1 to meme.bsrel

2 : ExecuteCommands in string "SetParameter (id."+model.ApplyModelToTree.list[model.ApplyModelToTree.b]+",MODEL,"+model.ApplyModelToTree.apply_model+")" using basepath /home/datamonkey/datamonkey-js-test/app/meme/../../.hyphy/res/TemplateBatchFiles/libv3/models/.

3 : model.ApplyModelToTree("meme.site_tree_bsrel",meme.trees[meme.partition_index],None,meme.model_to_branch_bsrel)

3.3.Zp1_Primates.txt

@spond
Copy link
Member

spond commented Mar 16, 2018

Dear @harturchin,

Thank for reporting this issue. I have seen this error before and thought we had fixed it (it has to do with tree rerooting). Essentially, you Newick string has an extraneous set of (), which results in the "root branch" like shown in the attached screenshot

screen shot 2018-03-16 at 3 14 52 pm

You can get this dataset to run right away simply by removing the outermost () from the Newick string.

Best,
Sergei

@spond spond self-assigned this Mar 16, 2018
@spond spond added the bug label Mar 16, 2018
@harturchin
Copy link
Author

Whoops! Thanks Sergei!

@spond
Copy link
Member

spond commented Mar 16, 2018

Dear @harturchin,

No problem. Datamonkey should handle it, however. So, I'll keep the issue open.

Best,
Sergei

@rdvelazquez
Copy link
Contributor

This now works fine with the hyphy develop branch. Datamonkey will be able to handle this type of file once version 2.4.0 of hyphy is released and datamonkey is upgraded to use the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants