Guest User

Untitled

a guest
Jul 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. #!/bin/bash
  2. cat << EOF
  3. inputRedirect = {};
  4. inputRedirect["01"]="Universal"; // genetic code
  5. inputRedirect["02"]="$(readlink -f $1)"; // codon data
  6. inputRedirect["03"]="$(readlink -f $2)"; // tree
  7. inputRedirect["04"]="${3:-All}"; // Test for selection on a branch
  8. inputRedirect["05"]=""; // complete selection
  9.  
  10.  
  11. ExecuteAFile (HYPHY_LIB_DIRECTORY+"TemplateBatchFiles/BUSTED.bf", inputRedirect);
  12. EOF
  13.  
  14. ./gen_busted.sh alignment.phy tree.nwk > script.bf
  15.  
  16. ./gen_busted.sh alignment.phy tree.nwk branchLabel > script.bf
  17.  
  18. HYPHYMP script.bf
  19.  
  20. HYPHYMP HYPHY_INSTALLATION_PATH/lib/hyphy/TemplateBatchFiles/BUSTED.bf
  21.  
  22. inputRedirect = {};
  23. inputRedirect["01"]="Universal"; // genetic code
  24. inputRedirect["02"]="/path/to/alignment.phy"; // codon data
  25. inputRedirect["03"]="/path/to/tree.nwk"; // tree
  26. inputRedirect["04"]="All"; // Test for selection on all branches
  27. inputRedirect["05"]="BRANCH1"; // Test for selection on branch1
  28. inputRedirect["06"]="BRANCH2"; // Test for selection on branch2
  29. inputRedirect["07"]=""; // complete selection
  30.  
  31.  
  32. ExecuteAFile (HYPHY_LIB_DIRECTORY+"TemplateBatchFiles/BUSTED.bf", inputRedirect);
Add Comment
Please, Sign In to add comment