about mlc++ library


 
Thread Tools Search this Thread
Top Forums Programming about mlc++ library
# 1  
Old 04-17-2009
about mlc++ library

hello every body

i have a problem with how to identify and call mlc++ library into visual c++ in windows

could any one help me please
i had the compile instruction from sgi web site but it is for win nt
and i have win xp

thank you very much

Last edited by vip_a1; 04-17-2009 at 10:02 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Programming

C++ linking library to a library

Hi All, My application main engine will use a shared library where we do many operation. We are trying to implement the linear algebra operation on the shared library for that I need to link my shared library to the lapack library in /usr/lib. Below is my make file. Can you please let me... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

2. AIX

Add shared members from library to same library in a different directory

I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message. add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies

3. Linux

./configure problem for libsf library due to apparently missing libdb library.

Hello, ./configure script fails to configure libsf. Please check the following last few lines of configure script error. checking for db1/db.h... no checking for db.h... yes checking for dbopen in -ldb1... no configure: error: No libdb? No libsf. But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies

4. Linux

Could static library include static library?

I have some static library(libxxx.a libyyy.a). And I want to generate my library(libzzz.a), libzzz.a will use libxxx.a and libyyy.a I wan't my application only use libzzz.a, (means libzzz.a had include libxxx.a, libyyy.a), how can I do that? Thank you. example: I have zzz.c. I do ... (4 Replies)
Discussion started by: freemagic
4 Replies

5. Shell Programming and Scripting

How to change a Makefile from building static library to shared library?

Hi: I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library) Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies

6. Programming

C++ library in C

Hi, I have a bunch of C++ files whose functionality needs to be included in another piece of C code. Is it possible to create a C++ library and link it with C code? (2 Replies)
Discussion started by: smanu
2 Replies

7. UNIX for Dummies Questions & Answers

GD library?

I've just been told that I need to install the GD library for PHP on my server, but I've got no idea how to do that or even:eek: where I can find it so that I can download and install it. Is it easy to do and how would I go about doing it?:confused: By the way I believe the server is running... (4 Replies)
Discussion started by: thehaapyappy
4 Replies
Login or Register to Ask a Question
Bio::Tools::Phylo::PAML(3pm)				User Contributed Perl Documentation			      Bio::Tools::Phylo::PAML(3pm)

NAME
Bio::Tools::Phylo::PAML - Parses output from the PAML programs codeml, baseml, basemlg, codemlsites and yn00 SYNOPSIS
#!/usr/bin/perl -Tw use strict; use Bio::Tools::Phylo::PAML; # need to specify the output file name (or a fh) (defaults to # -file => "codeml.mlc"); also, optionally, the directory in which # the other result files (rst, 2ML.dS, etc) may be found (defaults # to "./") my $parser = Bio::Tools::Phylo::PAML->new (-file => "./results/mlc", -dir => "./results/"); # get the first/next result; a Bio::Tools::Phylo::PAML::Result object, # which isa Bio::SeqAnalysisResultI object. my $result = $parser->next_result(); # get the sequences used in the analysis; returns Bio::PrimarySeq # objects (OTU = Operational Taxonomic Unit). my @otus = $result->get_seqs(); # codon summary: codon usage of each sequence [ arrayref of { # hashref of counts for each codon } for each sequence and the # overall sum ], and positional nucleotide distribution [ arrayref # of { hashref of frequencies for each nucleotide } for each # sequence and overall frequencies ]: my ($codonusage, $ntdist) = $result->get_codon_summary(); # example manipulations of $codonusage and $ntdist: printf "There were %d %s codons in the first seq (%s) ", $codonusage->[0]->{AAA}, 'AAA', $otus[0]->id(); printf "There were %d %s codons used in all the sequences ", $codonusage->[$#{$codonusage}]->{AAA}, 'AAA'; printf "Nucleotide %c was present %g of the time in seq %s ", 'A', $ntdist->[1]->{A}, $otus[1]->id(); # get Nei & Gojobori dN/dS matrix: my $NGmatrix = $result->get_NGmatrix(); # get ML-estimated dN/dS matrix, if calculated; this corresponds to # the runmode = -2, pairwise comparison usage of codeml my $MLmatrix = $result->get_MLmatrix(); # These matrices are length(@otu) x length(@otu) "strict lower # triangle" 2D-matrices, which means that the diagonal and # everything above it is undefined. Each of the defined cells is a # hashref of estimates for "dN", "dS", "omega" (dN/dS ratio), "t", # "S" and "N". If a ML matrix, "lnL" and "kappa" will also be defined. printf "The omega ratio for sequences %s vs %s was: %g ", $otus[0]->id, $otus[1]->id, $MLmatrix->[0]->[1]->{omega}; # with a little work, these matrices could also be passed to # Bio::Tools::Run::Phylip::Neighbor, or other similar tree-building # method that accepts a matrix of "distances" (using the LOWTRI # option): my $distmat = [ map { [ map { $$_{omega} } @$_ ] } @$MLmatrix ]; # for runmode's other than -2, get tree topology with estimated # branch lengths; returns a Bio::Tree::TreeI-based tree object with # added PAML parameters at each node my ($tree) = $result->get_trees(); for my $node ($tree->get_nodes()) { # inspect the tree: the "t" (time) parameter is available via # $node->branch_length(); all other branch-specific parameters # ("omega", "dN", etc.) are available via # ($omega) = $node->get_tag_values('omega'); } # if you are using model based Codeml then trees are stored in each # modelresult object for my $modelresult ( $result->get_NSSite_results ) { # model M0, M1, etc print "model is ", $modelresult->model_num, " "; my ($tree) = $modelresult->get_trees(); for my $node ($tree->get_nodes()) { # inspect the tree: the "t" (time) parameter is available via # $node->branch_length(); all other branch-specific parameters # ("omega", "dN", etc.) are available via # ($omega) = $node->get_tag_values('omega'); } } # get any general model parameters: kappa (the # transition/transversion ratio), NSsites model parameters ("p0", # "p1", "w0", "w1", etc.), etc. my $params = $result->get_model_params(); printf "M1 params: p0 = %g p1 = %g ", $params->{p0}, $params->{p1}; # parse AAML result files my $aamat = $result->get_AADistMatrix(); my $aaMLmat = $result->get_AAMLDistMatrix(); DESCRIPTION
This module is used to parse the output from the PAML programs codeml, baseml, basemlg, codemlsites and yn00. You can use the Bio::Tools::Run::Phylo::PAML::* modules to actually run some of the PAML programs, but this module is only useful to parse the output. This module has fledgling support for PAML version 4.3a (October 2009). Please report any problems to the mailing list (see FEEDBACK below). TO DO
Implement get_posteriors(). For NSsites models, obtain arrayrefs of posterior probabilities for membership in each class for every position; probabilities correspond to classes w0, w1, ... etc. my @probs = $result->get_posteriors(); # find, say, positively selected sites! if ($params->{w2} > 1) { for (my $i = 0; $i < @probs ; $i++) { if ($probs[$i]->[2] > 0.5) { # assumes model M1: three w's, w0, w1 and w2 (positive selection) printf "position %d: (%g prob, %g omega, %g mean w) ", $i, $probs[$i]->[2], $params->{w2}, $probs[$i]->[3]; } } } else { print "No positive selection found! "; } FEEDBACK
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists Support Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web: https://redmine.open-bio.org/projects/bioperl/ AUTHOR - Jason Stajich, Aaron Mackey Email jason-at-bioperl.org Email amackey-at-virginia.edu CONTRIBUTORS
Albert Vilella avilella-AT-gmail-DOT-com Sendu Bala bix@sendu.me.uk Dave Messina dmessina@cpan.org TODO
RST parsing -- done, Avilella contributions bug#1506, added by jason 1.29 -- still need to parse in joint probability and non-syn changes at site table APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ new Title : new Usage : my $obj = Bio::Tools::Phylo::PAML->new(%args); Function: Builds a new Bio::Tools::Phylo::PAML object Returns : Bio::Tools::Phylo::PAML Args : Hash of options: -file, -fh, -dir -file (or -fh) should contain the contents of the PAML outfile; -dir is the (optional) name of the directory in which the PAML program was run (and includes other PAML-generated files from which we can try to gather data) Implement Bio::AnalysisParserI interface next_result Title : next_result Usage : $result = $obj->next_result(); Function: Returns the next result available from the input, or undef if there are no more results. Example : Returns : a Bio::Tools::Phylo::PAML::Result object Args : none perl v5.14.2 2012-03-02 Bio::Tools::Phylo::PAML(3pm)