10 More Discussions You Might Find Interesting
1. Solaris
Good morning everyone,
I'm looking for some help to retrieve data in a scenario where I might have made a big mistake. I'm hoping to understand what I did wrong.
My system is made of two Solaris 11 Express servers (old free version for evaluation). The first if for data and the second is... (7 Replies)
Discussion started by: rnd
7 Replies
2. UNIX for Advanced & Expert Users
I have the following data set about the snps ID txt file
POS ID
78599583 rs987435
33395779 rs345783
189807684 rs955894
33907909 rs6088791
75664046 rs11180435
218890658 rs17571465
127630276 rs17011450
90919465 rs6919430
and a gene... (7 Replies)
Discussion started by: marwah
7 Replies
3. Shell Programming and Scripting
I am trying to modify the awk below to include the gene name ($5) for each target and can not seem to do so. Also, I'm not sure the calculation is right (average of all targets that are the same is $4 using the values in $7)? Thank you :).
awk '{if((NR>1)&&($4!=last)){printf("%s\t%f\t%s\n",... (1 Reply)
Discussion started by: cmccabe
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I'm currently implementing the && function in a shell using C. For example, if we input cmd1 && cmd2, then cmd2 executes only when cmd1 exits successfully. I'm thinking about:
int main() {
int i;
char **args;
while(1) {
printf("yongfeng's shell:~$ ");
args =... (5 Replies)
Discussion started by: Yongfeng
5 Replies
5. Shell Programming and Scripting
Hi ,
I am trying to write a script which does the wincvs login and does some checkout operations.
When i do it from command prompt with command
wincvs -d :pserver:username@server:/cvs/repository
it pops up a cvs window and i can do some operations there. I wanted to automate this through... (1 Reply)
Discussion started by: namishtiwari
1 Replies
6. Shell Programming and Scripting
Hi all,
Using Perl, I need to extract DNA bases from a GenBank file for a given plant species. A sample GenBank file is here...
Nucleotide
This is saved on my computer as NC_001666.gb. I also have a file that is saved on my computer as NC_001666.txt. This text file has a list of all... (5 Replies)
Discussion started by: akreibich07
5 Replies
7. Shell Programming and Scripting
Hey guys,
I'm doing some Perl scripting for genomic data out of GenBank files...I have to extract the name of the plant, the file name, the number of bases, and all of the genes including their starting and ending positions...for example, with this GenBank file,
LOCUS NC_010093 ... (7 Replies)
Discussion started by: akreibich07
7 Replies
8. UNIX for Dummies Questions & Answers
HI GUrus,
I am very mcuh new for this forum ....i need you all guys help for resolving my queries.
As i have DNS server , platform is sunsolaris----8. We are using that serevr for resolving all network nodes.
I am going to explain the process what i am following ....
I could have... (2 Replies)
Discussion started by: leenagoyal
2 Replies
9. Shell Programming and Scripting
hi
i have a function.
parse()
{
qname="lpdma111"
qmgr="lpdma111"
qalias="lpqqali"
}
Now the requirement is i want ot get the vaues form the function
start()
{
//retireve the values from the parse function
} (5 Replies)
Discussion started by: Satyak
5 Replies
10. UNIX for Dummies Questions & Answers
Hello all,
Can someone explain to me the advantage between using subshell over a function call in scripts? To me these are the same. Am I wrong to think this? (4 Replies)
Discussion started by: larry
4 Replies
Bio::SeqIO::game::featHandler(3pm) User Contributed Perl Documentation Bio::SeqIO::game::featHandler(3pm)
NAME
Bio::SeqIO::game::featHandler -- a class for handling feature elements
SYNOPSIS
This module is not used directly
DESCRIPTION
Bio::SeqIO::game::featHandler converts game XML <annotation> elements into flattened Bio::SeqFeature::Generic objects to be added to the
sequence
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 of the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Sheldon McKay
Email mckays@cshl.edu
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : new
Usage : my $featHandler = Bio::SeqIO::game::featHandler->new($seq, $seq_h, $ann_l)
Function: creates an object to deal with sequence features
Returns : a handler object
Args : $seq -- a Bio::SeqI compliant object
$seq_h -- ref. to a hash of other sequences associated
with the main sequence (proteins, etc)
$ann_l -- ref. to a list of annotations
add_source
Title : add_source
Usage : $featHandler->add_source($seq->length, \%tags);
Function: creates a source feature
Returns : a Bio::SeqFeature::Generic object
Args : sequence length and a ref. to a hash of tag/value attributes
has_gene
Title : has_gene
Usage : my $gene = $self->_has_gene($gene, $gname, $id)
Function: method to get/set the current gene feature
Returns : a Bio::SeqFeature::Generic object (if there is a gene)
Args : (optional)
$gene -- an XML element for the annotation
$gname -- gene name
$id -- gene ID (not always the same as the name)
_has_CDS
Title : _has_CDS
Usage : my $cds = $self->_has_CDS
Function: internal getter/setter for CDS features
Returns : a Bio::SeqFeature::Generic transcript object (or nothing)
Args : a Bio::SeqFeature::Generic transcript feature
add_annotation
Title : add_annotation
Usage : $featHandler->add_annotation($seq, $type, $id, $tags, $feats)
Function: converts a containment hierarchy into an ordered list of flat features
Returns : nothing
Args : $seq -- a Bio::SeqI compliant object
$type -- the annotation type
$id -- the anotation ID
$tags -- ref. to a hash of tag/value attributes
$feats -- ref to an array of Bio::SeqFeature::Generic objects
_add_generic_annotation
Title : _add_generic_annotation
Usage : $self->_add_generic_annotation($seq, $type, $id, $tags, $feats)
Function: an internal method to handle non-gene annotations
Returns : nothing
Args : $seq -- a Bio::SeqI compliant object
$type -- the annotation type
$id -- the anotation ID
$tags -- ref. to a hash of tag/value attributes
$feats -- ref to an array of Bio::SeqFeature::Generic objects
feature_set
Title : feature_set
Usage : push @feats, $featHandler->feature_set($id, $gname, $set, $anntype);
Function: handles <feature_span> hierarchies (usually a transcript)
Returns : a list of Bio::SeqFeature::Generic objects
Args : $id -- ID of the feature set
$gname -- name of the gene
$set -- the <feature_set> object
$anntype -- type of the parent annotation
_build_feature_set
Title : _build_feature_set
Usage : $self->_build_feature_set($set, 1) # 1 flag means retain the exon as a subfeat
Function: an internal method to process attributes and subfeats of a feature set
Returns : nothing
Args : $set -- a <feature_set> element
1 -- optional flag to retain exons as subfeats. Otherwise, they will
be converted to sublocations of a parent CDS feature
_add_feature_span
Title : _add_feature_span
Usage : $self->_add_feature_span($el, 1)
Function: an internal method to process <feature_span> elements
Returns : nothing
Args : $el -- a <feature_span> element
1 -- an optional flag to retain exons as subfeatures
_add_CDS
Title : _add_CDS
Usage : my $cds = $self->_add_CDS($transcript, $tags)
Function: an internal method to create a CDS feature from a transcript feature
Returns : a Bio::SeqFeature::Generic object
Args : $transcript -- a Bio::SeqFeature::Generic object for a transcript
$tags -- ref. to a hash of tag/value attributes
perl v5.14.2 2012-03-02 Bio::SeqIO::game::featHandler(3pm)