I'm still faily new at this.
But, I've done close to a dozen genes right now.
Has anyone ever received one with less or more than 30 total sequences?
I'm wondering if the time really varies all that much between work units.
Here's the deal:
1. Use the OS' value for areas.dat last modified as the start time.
2. Use the OS' value for output.out last modified as the last sequence completed.
3. Extract these times (easy to do in Java) and predict the total elapsed time from the difference times 30 sequences (assumed total) divided by the current count (when nonzero).
4. Add this to the area.dat time and get the next time that an upload should happen.
Question: How good is this and how much does it vary?
I've not done a lot of measurement on this, but my informal observation is that it doesn't vary very much.
To find the current number of completed sequences is pretty simple: Count the occurrances of a line starting with " Score" in the file output.out.
Now, in Java, you can use the File object to get the "last modified" time. It is not guaranteed to be meaningful in the spec, but it appears that both Linux and at least Windows '95 have chosen to implement this as a proper Java timestamp. So filename.lastModified() gives the two times you need.
If the variance turns out to be low, then "benchmarking" genome is easy. Wait perhaps until one's current unit is at least half done (minimize error) and then run my little program.
My employment agreement makes it difficult for me to share any code, no matter how trivial, so I can't just append it. But, we're talking maybe 50 lines of code, here. Not hard.
The question is, does this work or work "well enough"?
Extrapolating my current value on my Linux box to a week gives about the right number of weekly completions. . .
Predicted time for current units:
P II 350 is 34.39 (at seq. 12) or 34.46 (at seq. 13)
P III 667 is 11.42 (at seq. 15) or 11.45 (at seq. 16)
Estimated times are in hours and the .39 or .46 is fraction of an hour, not minutes.
[This message was edited by Larry Loen on April 12, 2001 at 23:27.]
But, I've done close to a dozen genes right now.
Has anyone ever received one with less or more than 30 total sequences?
I'm wondering if the time really varies all that much between work units.
Here's the deal:
1. Use the OS' value for areas.dat last modified as the start time.
2. Use the OS' value for output.out last modified as the last sequence completed.
3. Extract these times (easy to do in Java) and predict the total elapsed time from the difference times 30 sequences (assumed total) divided by the current count (when nonzero).
4. Add this to the area.dat time and get the next time that an upload should happen.
Question: How good is this and how much does it vary?
I've not done a lot of measurement on this, but my informal observation is that it doesn't vary very much.
To find the current number of completed sequences is pretty simple: Count the occurrances of a line starting with " Score" in the file output.out.
Now, in Java, you can use the File object to get the "last modified" time. It is not guaranteed to be meaningful in the spec, but it appears that both Linux and at least Windows '95 have chosen to implement this as a proper Java timestamp. So filename.lastModified() gives the two times you need.
If the variance turns out to be low, then "benchmarking" genome is easy. Wait perhaps until one's current unit is at least half done (minimize error) and then run my little program.
My employment agreement makes it difficult for me to share any code, no matter how trivial, so I can't just append it. But, we're talking maybe 50 lines of code, here. Not hard.
The question is, does this work or work "well enough"?
Extrapolating my current value on my Linux box to a week gives about the right number of weekly completions. . .
Predicted time for current units:
P II 350 is 34.39 (at seq. 12) or 34.46 (at seq. 13)
P III 667 is 11.42 (at seq. 15) or 11.45 (at seq. 16)
Estimated times are in hours and the .39 or .46 is fraction of an hour, not minutes.
[This message was edited by Larry Loen on April 12, 2001 at 23:27.]