Dear Dan,
Quote:the type of workflow I have in mind involves setting up, for example, SLAC/REL/FEL analyses for several different alignments. I anticipate the FEL analyses will take a while, so I would like to be able to queue everything using some sort of script, rather than dealing with each alignment, one at a time, with the GUI. a unix shell script would be fine, I just didn't know how to provide parameter values to the QuickSelectionDetection.bf script that way.
The easiest way to do it is to simply make a text file with all a separate line for each analysis option and the pipe it into HyPhy.
For example include this command in the script presuming that there is a file called "myinfile" with a series of responses to all the prompts that an analysis makes.
`./HYPHYMP CPU=2 < myinfile > /dev/null`
You can make an infile by running HyPhy from the console, and recording the inputs you make. When processing multiple files you could then have a shell script scan the directory for files and substitute input (and output) file names in automatically generates myinfiles. This is klugdy but fast and straightforward.
Quote:The dN/dS bias parameter I'm asking about is requested after specifying the file in which to save the nucleotide model fit. The options are "neutral" "user" "estimate" "estimate+CI" "estimate dN/dS only". After rereading the paper, I think that this must be some sort of average dN/dS ratio for the whole alignment, estimated when fitting a single-w MG94*HKY85 (as described on pages 6-7 of "not so different..."). Is that right?
Essentially it is indeed an "average" dN/dS estimated using MG94 x whatever model. This parameter is only really meaningful for counting methods, because FEL estimates dN/dS independently for each site, and REL is a separate analysis altogether and estimates the distribution of dN/dS from the data. FEL analyses still estimate average dN/dS but it is merely for reference purposes and not used for inference of selection. User options mean the following:
- Neutral Do not estimate dN/dS, but set it to 1
- User Do not estimate dN/dS, use the value entered by the user
- Estimate dN/dS is estimated from the data along with the tree expansion/contraction factor (as discusses in the paper)
- Estimate+CI Same as previous, PLUS 95% profile likelihood confidence interval is computed for dN/dS
- Estimate dN/dS only dN/dS is estimated from the data along and branch lengths are taken verbatim from an appropriate nucleotide fit. This option is best for FEL, because FEL will compute branch adjustment factors for each site automatically.
HTH,
Sergei