Example of a script to do Spidermonkey/BGM analysis in the command line
1
0
Entering edit mode
7.9 years ago
Mac ▴ 20

I would like to to perform a co-evolution analysis using spidermonkey on the command line. Does anyone have an example script that I can use to set up the analysis?

selection analysis coevolution • 1.3k views
ADD COMMENT
0
Entering edit mode
7.6 years ago
Mac ▴ 20

I managed to get the script running, I saved it as run_bgm.bf:

inputRedirect = {}; inputRedirect["01"]="Universal"; inputRedirect["02"]="New Analysis"; inputRedirect["03"]="/home/Documents/fastafile_with_NoStopCodons.fasta_gardout_finalout"; inputRedirect["04"]="Default"; inputRedirect["05"]="y"; inputRedirect["06"]="/home/Documents/fastafile_analysis_output.txt"; inputRedirect["07"]="Estimate"; inputRedirect["08"]="BGM co-evolution"; inputRedirect["09"]="Averaged"; inputRedirect["10"]="1"; inputRedirect["11"]="2"; inputRedirect["12"]="10000"; inputRedirect["13"]="100"; inputRedirect["14"]="20"; inputRedirect["15"]="No"; inputRedirect["16"]="/home/Documents/fastafile_analysis_posterior_edge_prb.csv"; inputRedirect["17"]="n"; ExecuteAFile ("/usr/local/lib/hyphy/TemplateBatchFiles/QuickSelectionDetection.bf", inputRedirect);

I then execute the script using: HYPHYMP -np 4 run_bgm.bf

ADD COMMENT

Login before adding your answer.

Traffic: 1891 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6