Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
problems saving a file in HyPhy (Read 1159 times)
sam
Ex Member


problems saving a file in HyPhy
Jul 14th, 2007 at 12:49am
 
Hi Sergei,

I am really hoping that you can help me.  I am running into issues saving a file in HyPhy.  I am running a very large local molecular clock analysis (on 122 sequences).

Here's how we run it...
Go to Standard Analyses
---Molecular Clock
---LocalMolClock.bf
---Click Nucleotide/Protein
----Enter the .fas file
----TRN
----Local
----Enter the vanilla newick tree.nwk file
----All Parameters

It processes for 1.5 hours on a quad-processor system.  Then, it's looking for input of more files to process.  There's never an opportunity to save the output (other than to cut and paste into notepad) for use elsewhere.
My goal is to save the analysis as a HYPHY file so that I can later access the data and use "object inspector" for further analyses (e.g. use "object inspector" to generate a tree using the molecular clock data).

Thanks, in advance, for your valuable input.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: problems saving a file in HyPhy
Reply #1 - Jul 14th, 2007 at 9:04am
 
Dear Sam,

If you want to save the result of each mol.clock analysis as a HyPhy file, it is probably best accomplished by inserting the lines
Code:
myfilename = "somepath."+anIntBranch;
Export(lf_string,lfConstrained);
fprintf (myfilename,CLEAR_FILE, lf_string);
 


into LocalMolecularClock.bf (in TemplateBatchFiles) after line 182 (Optimize...)

myfilename does not have to be what I pasted in the example; just make sure the file gets a new name for every placement of the mol.clock node, so that the results are not overwritten.

Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged