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

multiple-hits option with BUSTED-PH #69

Open
Emilyaoc opened this issue Feb 5, 2025 · 1 comment
Open

multiple-hits option with BUSTED-PH #69

Emilyaoc opened this issue Feb 5, 2025 · 1 comment

Comments

@Emilyaoc
Copy link

Emilyaoc commented Feb 5, 2025

Hello,

Please could I just check that I understand correctly that BUSTED-PH does not currently include the option to account for multiple nucleotide substitutions as is available in the standard version of BUSTED (--multiple-hits)?

Thank you

Emily

@agselberg
Copy link

Hi Emily,

Right now our BUSTED-PH does not have the option to account for multiple nucleotide substitutions. However if you would prefer to use multi-hit in your BUSTED-PH analyses you could do that (in a somewhat clunky way) by running regular busted three times on the same data but with different test branches. For example (using test data positive-test.fas)

  1. Run BUSTED+MH on Foreground branches
    hyphy busted --alignment examples/positive-test.fas --output FG-BUSTED.json --branches Primates --multiple-hits Double+Triple

  2. Run BUSTED+MH on background branches
    hyphy busted --alignment examples/positive-test.fas --output BG-BUSTED.json --branches 'Unlabeled branches' --multiple-hits Double+Triple

  3. Run BUSTED+MH on all branches
    hyphy busted --alignment examples/positive-test.fas --output ALL-BUSTED.json --multiple-hits Double+Triple

  4. Wrap the results together and get p-values using wrapper.bf.zip
    hyphy wrapper.bf FG-BUSTED.json BG-BUSTED.json ALL-BUSTED.json BUSTED-PH.json

Best,
Avery

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

2 participants