It is distributed along with sci-biology/phrap which is already in portage under same license. Tested on ~x86 and will do as well on ~amd64. Quoting from the documentation: Phred reads DNA sequencer trace data, calls bases, assigns quality values to the bases, and writes the base calls and quality values to output files. Phred can read trace data from chromatogram files in the SCF, ABI, and ESD formats. It automatically determines the file format, and whether the chromatogram file was compressed using gzip, bzip2, or UNIX compress. After calling bases, phred writes the sequences to files in either FASTA format, the format suitable for XBAP, PHD format, or the SCF format. Quality values for the bases are written to FASTA format files or PHD files, which can be used by the phrap sequence assembly program in order to increase the accuracy of the assembled sequence. # equery files phred-071220 [ Searching for packages matching phred-071220... ] * Contents of sci-biology/phred-071220: /etc /etc/env.d /etc/env.d/21phred /usr /usr/bin /usr/bin/daev /usr/bin/phred /usr/share /usr/share/doc /usr/share/doc/phred-071220 /usr/share/doc/phred-071220/daev.txt.bz2 /usr/share/doc/phred-071220/phred.txt.bz2 /usr/share/phred /usr/share/phred/phredpar.dat #
Created attachment 177014 [details] phred-071220.ebuild
Similar ebuild should be made available for phred-020425-distrib.tar.Z (note the .Z extension instead of .gz in newer beta distfile).
Created attachment 177106 [details] files/phred installed into /etc/env.d/21phred
Created attachment 177107 [details] Manifest
Now available in the science overlay
Compiles&installs fine, thanks.
<quote> From: David Gordon Subject: Re: phred, phrap, consed, autofinish, swat, cross_match I cannot provide assistance in building consed from source due to the potentially huge amount of time involved. CONSED_HOME is used by many programs, including scripts, so that executables can be called directly by full path. It is also used by consed for particular files it needs. You are right that phd2fasta is packaged twice--this is not necessary in your case. There are some runtime checks for versions of some programs. On Thu, 1 Jan 2009, Martin MOKREJŠ wrote: > BTW, while reading README.TXT I wonder what CONSED_HOME is needed for. > Is not $PATH sufficient? Or do you want to say the binaries have to be > in a same directory? I don't understand why. Want to place into /usr/bin/ > as usual. > > I am puzzled with phd2fasta. I received it from Brent directly. > Why is is packaged under consed_sources again? Where can I find in the > source tree which version is it? > > Are there any runtime checks for min. version of the required programs > or are the version numbers only listed in the README.TXT file? > Thanks, > Martin <quote>
In gentoo-x86.
On quad-core Intel machine running 64bit gentoo linux: # g++ -mfpmath=387 mathtest.cpp -o mathtest # ./mathtest 0 - -0.010493125305267737152 1 - -0.0026089216791607503648 2 - -0.00065133848759705019645 # g++ -mfpmath=387 -m128bit-long-double mathtest.cpp -o mathtest # ./mathtest 0 - -0.010493125305267737152 1 - -0.0026089216791607503648 2 - -0.00065133848759705019645 # g++ -mfpmath=387 -m96bit-long-double mathtest.cpp -o mathtest # ./mathtest 0 - -0.010493125305267737152 1 - -0.0026089216791607503648 2 - -0.00065133848759705019645 # g++ -mfpmath=sse -m96bit-long-double mathtest.cpp -o mathtest # ./mathtest 0 - -0.010493125305267803071 1 - -0.0026089216791607139356 2 - -0.00065133848759701962194 # g++ -mfpmath=sse -m128bit-long-double mathtest.cpp -o mathtest # ./mathtest 0 - -0.010493125305267803071 1 - -0.0026089216791607139356 2 - -0.00065133848759701962194 # On old P4-M machine running 32-bit gentoo linux: $ g++ -mfpmath=387 mathtest.cpp -o mathtest $ ./mathtest 0 - -0.010493125305267768377 1 - -0.0026089216791607742173 2 - -0.00065133848759708293935 $ g++ -mfpmath=387 -m128bit-long-double mathtest.cpp -o mathtest $ ./mathtest 0 - -0.010493125305267768377 1 - -0.0026089216791607742173 2 - -0.00065133848759708293935 $ g++ -mfpmath=387 -m96bit-long-double mathtest.cpp -o mathtest $ ./mathtest 0 - -0.010493125305267768377 1 - -0.0026089216791607742173 2 - -0.00065133848759708293935 $ g++ -mfpmath=sse -m96bit-long-double mathtest.cpp -o mathtest mathtest.cpp:1: warning: SSE instruction set disabled, using 387 arithmetics $ ./mathtest 0 - -0.010493125305267768377 1 - -0.0026089216791607742173 2 - -0.00065133848759708293935 $ g++ -mfpmath=sse -m128bit-long-double mathtest.cpp -o mathtest mathtest.cpp:1: warning: SSE instruction set disabled, using 387 arithmetics $ ./mathtest 0 - -0.010493125305267768377 1 - -0.0026089216791607742173 2 - -0.00065133848759708293935 $
Created attachment 185120 [details] mathtest.cpp Simple c++ code sensitive to floating point precision issues with 387 and sse math.