10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
MOTIF GUI PROGRAMMING !
Hi there. I am a MOTIF GUI Programmer in C language.
After a longer break i have problems with the GCC compiling.
my MOTIF file is named winstack.c
I have the follow code gcc -o newprogram winstack.c -lXm -lXt -lX11
The compilation runs good.
But no executable LINUX... (10 Replies)
Discussion started by: Sennenmut
10 Replies
2. Programming
I have a Motif Application created with XtVaAppInitialize. I have two field widgets, created with XmCreateTextField. Now when I programmatically change the data in any of the two fields, the widgets don't get refreshed, only after a mouse over.
I have tried anything, from including the "xrefresh"... (4 Replies)
Discussion started by: JenniferKuiper
4 Replies
3. Programming
Does anyone know how to change the font size into a larger one, in a basic Motif application? (1 Reply)
Discussion started by: JenniferKuiper
1 Replies
4. Solaris
An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine.
Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application... (0 Replies)
Discussion started by: shafi2all
0 Replies
5. Solaris
Hello,
I used to compile and link the code on Solaris 6 using Motif 1.2 (that used to come as part of Operating System)
I would like to use the same version of Motif 1.2 for compilation and linking on Solaris 10. But Solaris 10 has Motif 2.1.0 as default.
Is Motif 1.2 supported on... (0 Replies)
Discussion started by: shafi2all
0 Replies
6. AIX
hi all,
I've written a GUI application in Eclipse using SWT. It's running fine on linux(which uses GTK on x86).
But when I ran the same application on AIX(which uses Motif on PPC), the GUI part is suffering. :-(
The checkboxes are looking very small(like tiny dots on screen!) , spinners are... (4 Replies)
Discussion started by: v_rathor
4 Replies
7. Programming
Hi everyone, I am new in motif programming and I want to learn how to program it. I use Fedora core 3 and every time I compile the program, there are always some errors appear. One of the errors said that I do not have the Xm/xxxx.h However, I do not know precisely how to install header files. I... (0 Replies)
Discussion started by: qqq
0 Replies
8. Programming
Can somebody help me...
I have insalled RedHat 7.3 on my computer
and there is motif 2.x and i want to compile a cource code but it doesn't work it says
Xm/PushB.h not found..something like that..
I'm trying like this :
gcc -o x x.c -lXm -lXt -lX11
pleas help me (3 Replies)
Discussion started by: CreamHarry
3 Replies
9. Programming
Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
3 Replies
10. Programming
I am very glad to be a member of you.
where can i look for the resource programe examples about motif?
please help me!Thanks a lot. (3 Replies)
Discussion started by: q30
3 Replies
Bio::Matrix::PSM::PsmHeaderI(3pm) User Contributed Perl Documentation Bio::Matrix::PSM::PsmHeaderI(3pm)
NAME
Bio::Matrix::PSM::PsmHeaderI - handles the header data from a PSM file
SYNOPSIS
use Bio::Matrix::PSM::IO;
#Obtain an Bio::Matrix::PSM::IO object:
my $psmIO= Bio::Matrix::PSM::IO->new(-file=>$file, -format=>'mast');
#Get some general data about the file you are parsing:
my $release=$psmIO->release;
my $version=$psmIO->version;
print "This analysis was performed using MAST version $version, release $release
";
#Now let's see what are the consensus sequences of the motifs fed as an input:
my %seq=$psmIO->seq;
#let's cycle through all consensus sequences now:
foreach my $id ($psmIO->hid) {
print "Motif $id is ",$seq{$id},"
";
}
#Finally look at the stuff we do not parse:
my @inputfile=grep(/datafile/i,$psmIO->unstructured);
DESCRIPTION
Generally you should not use this object directly, you can access the information through a PSM driver (See Bio::Matrix::PSM::IO). It is
handling the header data from a PSM file which may be very different. This means that some of the methods will return undef naturally,
because this information is not present in the file which is parsed. Some important data might be left over in the unstructured part, and
you might have to parse it yourself. I will try to 'structure' this header more in the near future.
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 one of the Bioperl mailing lists. 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 the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Stefan Kirov
Email skirov@utk.edu
APPENDIX
new
Title : new
Usage : my $header= Bio::Matrix::PSM::PsmHeader->new
( -seq=>\%seq, -mid=>\%mid, -width=>\%width,
-instances=>\%instances, -header=>@header, -type=>'mast');
Function: Creates a new Bio::Matrix::PSM::PsmHeader object
Throws :
Example :
Returns : Bio::Matrix::PSM::PsmHeaderI object
Args : hash
seq
Title : seq
Usage : my %seq= $header->seq();
Function: Returns the sequence data as a hash, indexed by a
sequence ID (motif id or accession number)
In case the input data is a motif it would return the
consenus seq for each of them (mast).
Throws :
Example :
Returns : hash
Args :
hid
Title : hid
Usage : my @ids= $header->hid();
Function: Returns array with the motif/instance ids
Throws :
Example :
Returns : array
Args :
length
Title : length
Usage : my %length= $header->length();
Function: Returns the length of the input sequence or motifs as a hash, indexed
by a sequence ID (motif id or accession number)
Throws :
Example :
Returns : hash
Args :
instances
Title : instances
Usage : my %instances= $header->length();
Function: Returns the instance, used as a hash, indexed
by a sequence ID (motif id or accession number)
Throws :
Example :
Returns : hash of Bio::Matrix::PSM::InstanceSite objects
Args :
weights
Title : weights
Usage : my %weights= $header->weights();
Function: Returns the weights of the input sequence as a hash, indexed
by a sequence ID
Throws :
Example :
Returns : hash
Args :
unstuctured
Title : unstuctured
Usage : my @unstructured= $header->unstuctured();
Function: Returns the unstructured data in the header as an array, one line per
array element, all control symbols are removed with W
Throws :
Example :
Returns : array
Args :
version
Title : version
Usage : my $version= $header->version;
Function: Returns the version of the file being parsed if such exists
Throws :
Example :
Returns : string
Args :
revision
Title : revision
Usage : my $revision= $header->revision;
Function: Returns the revision of the file being parsed if such exists
Throws :
Example :
Returns : string
Args :
_check
Title : _check
Usage : if ($self->_check('weights') { #do something} else {return 0;}
Function: Checks if the method called is aplicable to the file format
Throws :
Example :
Returns : boolean
Args : string
perl v5.14.2 2012-03-02 Bio::Matrix::PSM::PsmHeaderI(3pm)